Skip to content

Commit

Permalink
Use config.sed to patch .config (instead of hardcoding)
Browse files Browse the repository at this point in the history
  • Loading branch information
sinegar authored May 11, 2023
1 parent 256ce4c commit 6594b2a
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions make_image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,7 @@ if [[ "$DEBUG" == "1" ]]; then
echo ====== end ======
fi

# TODO this should be driven by config and hardcoded here
sed \
-e '/^CONFIG_TARGET_ROOTFS_EXT4FS/ s/^#*/#/' \
-i .config
sed -f config.sed -i .config

make image \
FILES="$FILES" \
Expand Down

0 comments on commit 6594b2a

Please sign in to comment.