Switch to imagebuilder

This commit is contained in:
Peter Šurda 2022-12-21 09:17:43 +08:00
parent 7dd96d8656
commit b8ed435ac8
Signed by: PeterSurda
GPG Key ID: 3E47497CF67ABB95
1 changed files with 13 additions and 12 deletions

View File

@ -1,21 +1,22 @@
#!/bin/bash #!/bin/bash
git clone https://git.openwrt.org/openwrt/openwrt.git # use imagebuilder
cd openwrt OPENWRT_VERSION=22.03.2
git checkout tags/20.03.2
./scripts/feeds update -a # for i in openwrt-imagebuilder-${OPENWRT_VERSION}-bcm27xx-bcm2711.Linux-x86_64.tar.xz \
./scripts/feeds install -a # 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 tar -xJf openwrt-imagebuilder-${OPENWRT_VERSION}-*.tar.xz
cp ../config.buildinfo .config cd openwrt-imagebuilder-*/
make defconfig
#make -j $(nproc) V=w
make V=s
find ~ -type d -name bin make info
find bin
# check RTC # check RTC