Skip to content

Commit 4f84ac5

Browse files
committed
fix build due to rrdtool1 not downloading, and force build toolchain in all kmods
1 parent 013e89d commit 4f84ac5

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

openwrt-22.03/steps/02_prepare_openwrt_folder.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ echo "Current OpenWRT commit"
1818
git log -1
1919
git describe
2020

21+
# fix packages for rrdtool1 not downloading
22+
sed -i 's/38cb0129739bc71e0bb5a25ef1f6db70b7add04b/87c46fde91e743aea1704853a801e59a73ef47a2/' feeds.conf.default
23+
24+
2125
# install feeds
2226
# cd openwrt
2327
# ./scripts/feeds update -a && ./scripts/feeds install -a

openwrt-22.03/steps/07-all_kmods.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ rm -rf bin/
1919
rm -rf files/ipks/
2020
let make_process=$(nproc)+1
2121

22+
# compile toolchain if not built yet
23+
make toolchain/install -j${make_process} || { make toolchain/install -j 1 V=s ; exit 1 ; }
24+
2225
# compile kernel kmods and build packages
2326
make target/compile -j ${make_process} || { make target/compile -j 1 V=s ; exit 1 ; }
2427
make package/linux/compile -j ${make_process} || { make package/linux/compile -j 1 V=s ; exit 1 ; }

0 commit comments

Comments
 (0)