Moved configuration to lfs_configs folder

This commit is contained in:
Krizsán Péter 2024-10-29 22:12:23 +01:00
parent 9cce318d9f
commit efe09d27d8
2 changed files with 2 additions and 2 deletions

View File

@ -127,7 +127,7 @@ echo Patching optimization config file...
sed -i -E '/DEF_OPT_MODE=/s/noOpt/O3pipe_march/g' "$DIR_SETUP/optimize/opt_config" sed -i -E '/DEF_OPT_MODE=/s/noOpt/O3pipe_march/g' "$DIR_SETUP/optimize/opt_config"
# Copy jhalfs config file and adjust some settings in it # Copy jhalfs config file and adjust some settings in it
cp -iv configuration "$DIR_SETUP/" cp -iv lfs_configs/configuration "$DIR_SETUP/"
echo Patching setup configuration file... echo Patching setup configuration file...
FILE_CFG="$DIR_SETUP/configuration" FILE_CFG="$DIR_SETUP/configuration"
sed -i -E "\@BUILDDIR=\"xxx\"@s@xxx@$1@g" "$FILE_CFG" sed -i -E "\@BUILDDIR=\"xxx\"@s@xxx@$1@g" "$FILE_CFG"
@ -137,4 +137,4 @@ sed -i -E "\@KEYMAP=\"xxx\"@s@xxx@$(localectl | grep Keymap | awk -F' ' '{printf
# Enter to setup folder and start installer # Enter to setup folder and start installer
cd "$DIR_SETUP" cd "$DIR_SETUP"
yes "yes" | ./jhalfs run yes "yes" | ./jhalfs run