Remove blfs build script and applied quotes to paths

This commit is contained in:
Krizsán Péter 2024-11-30 18:58:52 +01:00
parent cdc296644b
commit 4372d3cc01
2 changed files with 3 additions and 2 deletions

View File

@ -23,7 +23,7 @@ _build_lfs()
_create_folders_and_get_sources "$dir_lfs" || return 1
# Patch the LFS book's packages.ent with latest kernel
_update_lfs_with_latest_kernel $dir_lfs || return 1
_update_lfs_with_latest_kernel "$dir_lfs" || return 1
# Check for the kernel config and try to create it based on a previous one if not found
_create_kernel_config_if_needed "$dir_lfs" || return 1
@ -43,7 +43,7 @@ _build_lfs()
_patch_network_scripts "$dir_lfs" "$2" || return 1
# Patch fstab script
_patch_fstab $dir_lfs || return 1
_patch_fstab "$dir_lfs" || return 1
# Patch LFS kernel script to keep build folder and add new user
_patch_kernel_script "$dir_lfs" || return 1

View File

@ -253,6 +253,7 @@ _build_blfs()
{(
if ! [ "$USER" == "pkr" ] ; then return 0; fi
sudo rm -rfv /etc/systemd/system/getty@tty1.service.d
sudo rm -fv /etc/profile.d/x_build_blfs.sh
echo "Wait 15 seconds before start to have network ready ..."
sleep 15
local dir_home="/home/pkr"