From adb4ea04b413a1311aa28f28e62816d98841fe4b Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Wed, 3 May 2006 07:42:31 +0000 Subject: [PATCH] isolinux, plnode.txt and boot.cat move one dir up to the CD image root --- cdcustom.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/cdcustom.sh b/cdcustom.sh index 67a6b69..f1d50f5 100755 --- a/cdcustom.sh +++ b/cdcustom.sh @@ -103,22 +103,22 @@ function main () { ### and we cannot use the same name as isolinux.bin either, so we change it to isolinux ### the good news is that this way we can check we start from a fresh image - if [ -e $ISOINROOT/isolinux/isolinux ] ; then - echo "$ISOIN already contains isolinux/isolinux" + if [ -e $ISOINROOT/isolinux ] ; then + echo "$ISOIN already contains isolinux" echo "It looks like this is not a first-hand image - exiting" cleanup exit 1 fi echo -n "Copying isolinux.bin in /tmp/isolinux " - cp $ISOINROOT/isolinux/isolinux.bin /tmp/isolinux + cp $ISOINROOT/isolinux.bin /tmp/isolinux echo Done echo -n "Writing custom image ... " trap abort int hup quit err - mkisofs -o $ISOOUT -R -allow-leading-dots -J -r -b isolinux/isolinux \ - -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table \ - --graft-points $ISOINROOT isolinux/isolinux=/tmp/isolinux boot/plnode.txt=$NODECONFPLAIN > $ISOLOG 2>&1 + mkisofs -o $ISOOUT -R -allow-leading-dots -J -r -b isolinux \ + -c boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table \ + --graft-points $ISOINROOT isolinux=/tmp/isolinux plnode.txt=$NODECONFPLAIN > $ISOLOG 2>&1 trap - int hup quit echo Done -- 2.47.0