From b8ed435ac8c87dacb2d454eaa91d1464dfd8f181 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Peter=20=C5=A0urda?= Date: Wed, 21 Dec 2022 09:17:43 +0800 Subject: [PATCH] Switch to imagebuilder --- .buildbot/openwrt/build.sh | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/.buildbot/openwrt/build.sh b/.buildbot/openwrt/build.sh index 3f09a9f..a9bb98a 100755 --- a/.buildbot/openwrt/build.sh +++ b/.buildbot/openwrt/build.sh @@ -1,21 +1,22 @@ #!/bin/bash -git clone https://git.openwrt.org/openwrt/openwrt.git +# use imagebuilder -cd openwrt -git checkout tags/20.03.2 +OPENWRT_VERSION=22.03.2 -./scripts/feeds update -a -./scripts/feeds install -a +# for i in openwrt-imagebuilder-${OPENWRT_VERSION}-bcm27xx-bcm2711.Linux-x86_64.tar.xz \ +# openwrt-sdk-${OPENWRT_VERSION}-bcm27xx-bcm2711_gcc-11.2.0_musl.Linux-x86_64.tar.xz \ +# openwrt-toolchain-${OPENWRT_VERSION}-bcm27xx-bcm2711_gcc-11.2.0_musl.Linux-x86_64.tar.xz +for i in openwrt-imagebuilder-${OPENWRT_VERSION}-bcm27xx-bcm2711.Linux-x86_64.tar.xz + do + wget -qs + https://downloads.openwrt.org/releases/${OPENWRT_VERSION}/targets/bcm27xx/bcm2711/$i || exit 1 +done -#wget https://downloads.openwrt.org/releases/22.03.2/targets/bcm27xx/bcm2711/config.buildinfo -O .config -cp ../config.buildinfo .config -make defconfig -#make -j $(nproc) V=w -make V=s +tar -xJf openwrt-imagebuilder-${OPENWRT_VERSION}-*.tar.xz +cd openwrt-imagebuilder-*/ -find ~ -type d -name bin -find bin +make info # check RTC