From: Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Date: Wed, 3 May 2006 07:42:31 +0000 (+0000)
Subject: isolinux, plnode.txt and boot.cat move one dir up to the CD image root
X-Git-Tag: bootcd-3.4-2~84
X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=adb4ea04b413a1311aa28f28e62816d98841fe4b;p=bootcd.git

isolinux, plnode.txt and boot.cat move one dir up to the CD image root
---

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