[Fedora-livecd-list] [PATCH] fix extracting boot parameters from isolinux.cfg

Alan Pevec apevec at redhat.com
Wed Sep 17 07:55:17 UTC 2008


Signed-off-by: Alan Pevec <apevec at redhat.com>
---
 tools/livecd-iso-to-pxeboot.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tools/livecd-iso-to-pxeboot.sh b/tools/livecd-iso-to-pxeboot.sh
index 8b5571a..280d354 100755
--- a/tools/livecd-iso-to-pxeboot.sh
+++ b/tools/livecd-iso-to-pxeboot.sh
@@ -103,7 +103,7 @@ fi
 
 # Get boot append line from original cd image.
 if [ -f $CDMNT/isolinux/isolinux.cfg ]; then
-    APPEND=$(grep -m1 append isolinux.cfg | sed -e "s#CDLABEL=[^ ]*#/$ISOBASENAME#" -e "s/ *append *//")
+    APPEND=$(grep -m1 append $CDMNT/isolinux/isolinux.cfg | sed -e "s#CDLABEL=[^ ]*#/$ISOBASENAME#" -e "s/ *append *//")
 fi
 
 # pxelinux configuration.
-- 
1.5.5.1




More information about the livecd mailing list