test vermagic
This commit is contained in:
@@ -82,46 +82,36 @@ jobs:
|
|||||||
echo "Kernel vermagic:"
|
echo "Kernel vermagic:"
|
||||||
cat ./build_dir/target-*/linux-*/linux-*/.vermagic
|
cat ./build_dir/target-*/linux-*/linux-*/.vermagic
|
||||||
|
|
||||||
|
|
||||||
- name: Fix vermagic of cached kernel & tools
|
|
||||||
run: |
|
|
||||||
echo "Kernel vermagic BEFORE:"
|
|
||||||
cat ./build_dir/target-*/linux-*/linux-*/.vermagic
|
|
||||||
wget https://downloads.openwrt.org/releases/${{ matrix.tag }}/targets/${{ matrix.build_env.target}}/${{ matrix.build_env.subtarget}}/config.buildinfo -O .config
|
|
||||||
|
|
||||||
echo "CONFIG_PACKAGE_kmod-amneziawg=m" >> .config
|
|
||||||
echo "CONFIG_PACKAGE_amneziawg-tools=y" >> .config
|
|
||||||
echo "CONFIG_PACKAGE_luci-app-amneziawg=y" >> .config
|
|
||||||
|
|
||||||
echo "CONFIG_PACKAGE_kmod-crypto-lib-chacha20=m" >> .config
|
|
||||||
echo "CONFIG_PACKAGE_kmod-crypto-lib-chacha20poly1305=m" >> .config
|
|
||||||
echo "CONFIG_PACKAGE_kmod-crypto-chacha20poly1305=m" >> .config
|
|
||||||
|
|
||||||
make defconfig
|
|
||||||
|
|
||||||
make target/linux/compile || true
|
|
||||||
|
|
||||||
echo "Kernel vermagic AFTER:"
|
|
||||||
cat ./build_dir/target-*/linux-*/linux-*/.vermagic
|
|
||||||
|
|
||||||
- name: Update feeds
|
- name: Update feeds
|
||||||
run: |
|
run: |
|
||||||
# clean if cache restored from different cache key
|
# clean if cache restored from different cache key
|
||||||
rm -rf bin/packages/${{ matrix.build_env.pkgarch }}/awgopenwrt/ || true
|
rm -rf bin/packages/${{ matrix.build_env.pkgarch }}/awgopenwrt/ || true
|
||||||
rm -rf bin/targets/${{ matrix.build_env.target}}/${{ matrix.build_env.subtarget}}/packages/ || true
|
rm -rf bin/targets/${{ matrix.build_env.target}}/${{ matrix.build_env.subtarget}}/packages/ || true
|
||||||
|
rm -rf ./build_dir
|
||||||
|
|
||||||
cp feeds.conf.default feeds.conf
|
cp feeds.conf.default feeds.conf
|
||||||
echo "src-git awgopenwrt https://github.com/yury-sannikov/awg-openwrt.git" >> ./feeds.conf
|
echo "src-git awgopenwrt https://github.com/yury-sannikov/awg-openwrt.git" >> ./feeds.conf
|
||||||
|
|
||||||
|
./scripts/feeds update -a
|
||||||
|
./scripts/feeds install -a
|
||||||
./scripts/feeds update luci
|
./scripts/feeds update luci
|
||||||
./scripts/feeds install -a -p luci
|
./scripts/feeds install -a -p luci
|
||||||
./scripts/feeds update awgopenwrt
|
./scripts/feeds update awgopenwrt
|
||||||
./scripts/feeds install -a -p awgopenwrt
|
./scripts/feeds install -a -p awgopenwrt
|
||||||
|
|
||||||
|
wget https://downloads.openwrt.org/releases/${{ matrix.tag }}/targets/${{ matrix.build_env.target}}/${{ matrix.build_env.subtarget}}/config.buildinfo -O .config
|
||||||
echo "CONFIG_PACKAGE_kmod-amneziawg=m" >> .config
|
echo "CONFIG_PACKAGE_kmod-amneziawg=m" >> .config
|
||||||
echo "CONFIG_PACKAGE_amneziawg-tools=y" >> .config
|
echo "CONFIG_PACKAGE_amneziawg-tools=y" >> .config
|
||||||
echo "CONFIG_PACKAGE_luci-app-amneziawg=y" >> .config
|
echo "CONFIG_PACKAGE_luci-app-amneziawg=y" >> .config
|
||||||
|
echo "CONFIG_PACKAGE_kmod-crypto-lib-chacha20=m" >> .config
|
||||||
|
echo "CONFIG_PACKAGE_kmod-crypto-lib-chacha20poly1305=m" >> .config
|
||||||
|
echo "CONFIG_PACKAGE_kmod-crypto-chacha20poly1305=m" >> .config
|
||||||
|
|
||||||
make defconfig
|
make defconfig
|
||||||
|
make target/linux/compile V=s || true
|
||||||
|
echo "Kernel vermagic AFTER:"
|
||||||
|
cat ./build_dir/target-*/linux-*/linux-*/.vermagic
|
||||||
|
|
||||||
|
|
||||||
- name: Build amneziawg-tools
|
- name: Build amneziawg-tools
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user