2
0

clean before config copy

This commit is contained in:
2021-09-20 19:01:25 +02:00
parent 29a8c1997c
commit 6a91fe549f

View File

@@ -48,9 +48,6 @@ spec:
script: |
#!/usr/bin/env bash
echo $PATH
echo "res.input.ke...path: $(resources.inputs.openwrt-configs.path)"
cp -v $(resources.inputs.openwrt-configs.path)/$(params.config) \
/usr/src/openwrt/.config || exit 1
cd /usr/src/openwrt
CCACHE_DIR=$(echo staging_dir/target-*)/ccache ccache -s
ls -la .
@@ -59,11 +56,14 @@ spec:
make clean
./scripts/feeds clean -a
#### /cleanup
echo "res.input.ke...path: $(resources.inputs.openwrt-configs.path)"
cp -v $(resources.inputs.openwrt-configs.path)/$(params.config) \
/usr/src/openwrt/.config || exit 1
./scripts/feeds update -a
./scripts/feeds install -a -f
# build env does not like to be run as root....
make -j2 download world $(params.make_flags) V=1
make -j4 download world $(params.make_flags)
- name: upload-assets
image: docker.io/minio/mc
env: