diff --git a/lfsSetup.sh b/lfsSetup.sh index 72a459e..ea3448e 100755 --- a/lfsSetup.sh +++ b/lfsSetup.sh @@ -40,7 +40,7 @@ _build_lfs() if [[ $? -gt 0 ]] ; then return 1; fi # Patch network script - _patch_network_scripts "$dir_lfs" || return 1 + _patch_network_scripts "$dir_lfs" "$2" || return 1 # Patch fstab script _patch_fstab $dir_lfs || return 1 diff --git a/libs/func_network.sh b/libs/func_network.sh index 4a1b47e..d8a2101 100644 --- a/libs/func_network.sh +++ b/libs/func_network.sh @@ -1,6 +1,8 @@ #!/bin/bash # Do network related script patches +# First parameter is the root mount point of the new LFS system +# Second parameter is the user requested BLFS packages _patch_network_scripts() { # Patch network script