From 9540663a501b5844cb13082046186330a393a52c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Krizs=C3=A1n=20P=C3=A9ter?= Date: Wed, 27 Nov 2024 17:39:37 +0100 Subject: [PATCH] Fix network script patcher --- lfsSetup.sh | 2 +- libs/func_network.sh | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) 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