Skip to content

Commit

Permalink
[openwrt] increase root partition size
Browse files Browse the repository at this point in the history
  • Loading branch information
lirundong committed Dec 21, 2023
1 parent b8af1e2 commit 37ce4d0
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion openwrt-builder/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,11 @@ curl -sSLO $IMG_BUILDER_URL
tar -Jxf $IMG_BUILDER.tar.xz
pushd $IMG_BUILDER
sed -i "s!https://downloads.openwrt.org!$REPOSITORY!" repositories.conf
make image FILES=$CUSTOM_FILES_DIR PACKAGES="$PACKAGES"
make image \
FILES=$CUSTOM_FILES_DIR \
PACKAGES="$PACKAGES" \
CONFIG_TARGET_ROOTFS_PARTSIZE=512 \
CONFIG_TARGET_KERNEL_PARTSIZE=32

popd # Image builder.
popd # Working directory.

0 comments on commit 37ce4d0

Please sign in to comment.