Skip to content

Commit

Permalink
fix build due to rrdtool1 not downloading, and force build toolchain …
Browse files Browse the repository at this point in the history
…in all kmods
  • Loading branch information
anaelorlinski committed Apr 11, 2023
1 parent 013e89d commit 4f84ac5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions openwrt-22.03/steps/02_prepare_openwrt_folder.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ echo "Current OpenWRT commit"
git log -1
git describe

# fix packages for rrdtool1 not downloading
sed -i 's/38cb0129739bc71e0bb5a25ef1f6db70b7add04b/87c46fde91e743aea1704853a801e59a73ef47a2/' feeds.conf.default


# install feeds
# cd openwrt
# ./scripts/feeds update -a && ./scripts/feeds install -a
Expand Down
3 changes: 3 additions & 0 deletions openwrt-22.03/steps/07-all_kmods.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ rm -rf bin/
rm -rf files/ipks/
let make_process=$(nproc)+1

# compile toolchain if not built yet
make toolchain/install -j${make_process} || { make toolchain/install -j 1 V=s ; exit 1 ; }

# compile kernel kmods and build packages
make target/compile -j ${make_process} || { make target/compile -j 1 V=s ; exit 1 ; }
make package/linux/compile -j ${make_process} || { make package/linux/compile -j 1 V=s ; exit 1 ; }
Expand Down

0 comments on commit 4f84ac5

Please sign in to comment.