This commit is contained in:
2021-02-19 09:50:16 +01:00
parent 74ee95d328
commit d6b01e606e
2 changed files with 1 additions and 6 deletions

View File

@@ -8,7 +8,7 @@ RUN sed -i 's@deb.debian.org@apt-cache.lan/deb.debian.org@g' /etc/apt/sources.li
apt-get install -y build-essential dpkg-dev dpkg-cross \
devscripts gcc make ccache distcc flex bison \
gcc-arm-linux-gnueabihf gcc-arm-linux-gnueabi \
bc rsync kmod cpio libssl-dev:native && \
bc rsync kmod cpio libssl-dev:native lzop && \
apt-get remove --purge -y exim* && \
apt-get autoremove --purge -y && \
apt-get clean -y && \

View File

@@ -35,13 +35,8 @@ spec:
script: |
#!/usr/bin/env bash
echo "res.input.ke...path: $(resources.inputs.kernel-configs.path)"
ls -la $(resources.inputs.kernel-configs.path)
cp $(resources.inputs.kernel-configs.path)/riotboard-5.7 /usr/src/linux-source-5.10/.config
#cd /usr/src/$(apt-cache search linux-source |awk '{print $1}' |tail -1)
cd /usr/src/linux-source-5.10
pwd
ls -la
#make oldconfig
make ARCH=arm KBUILD_DEBARCH=armhf CROSS_COMPILE=arm-linux-gnueabihf- -j4 deb-pkg LOCALVERSION=-riot2
- name: cleanup-workspace-post
image: alpine