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