From d459415abaf4a142f88cafbba6ac66badb22550f Mon Sep 17 00:00:00 2001 From: Yury Sannikov Date: Wed, 21 Feb 2024 15:59:51 +0300 Subject: [PATCH] vm3 --- .github/workflows/build-module.yml | 19 ++++--------------- 1 file changed, 4 insertions(+), 15 deletions(-) diff --git a/.github/workflows/build-module.yml b/.github/workflows/build-module.yml index e3818383..2a23ff07 100644 --- a/.github/workflows/build-module.yml +++ b/.github/workflows/build-module.yml @@ -55,13 +55,13 @@ jobs: run: | echo "pkgarch: ${{ matrix.build_env.pkgarch}}, target:${{ matrix.build_env.target}}, subtarget: ${{ matrix.build_env.subtarget}}" + # Setup & install feeds wget https://downloads.openwrt.org/releases/${{ matrix.tag }}/targets/${{ matrix.build_env.target}}/${{ matrix.build_env.subtarget}}/feeds.buildinfo -O feeds.conf echo "src-git awgopenwrt https://github.com/yury-sannikov/awg-openwrt.git" >> ./feeds.conf - ./scripts/feeds update luci - ./scripts/feeds install -a -p luci - ./scripts/feeds update awgopenwrt - ./scripts/feeds install -a -p awgopenwrt + ./scripts/feeds update + ./scripts/feeds install -a + # Setup config with AWG and dependencies 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 @@ -72,17 +72,6 @@ jobs: make defconfig - make target/linux/compile V=s || true - - VERMAGIC=`cat ./build_dir/target-*/linux-*/linux-*/.vermagic` - VERMAGIC_EXPECTED=${{ matrix.build_env.vermagic }} - - if [ "$VERMAGIC" != "$VERMAGIC_EXPECTED" ]; then - echo Vermagic mismatch: $VERMAGIC, expected $VERMAGIC_EXPECTED - exit 1 - fi - - echo " > make tools/install" make tools/install -i -j `nproc`