Package: debian-cd
Severity: normal
Tags: patch

Hi mates

When I tried to build one of our amd64 daily builds I did not quite get
it working, which was due to an error in the path. Attached you find a
patch which solved the problem for me.

Cheers
Steffen

--- debian-cd.unpatched/tools/boot/etch/boot-amd64      2007-03-05 
22:48:45.000000000 +1100
+++ debian-cd/tools/boot/etch/boot-amd64        2007-03-08 01:59:29.000000000 
+1100
@@ -163,8 +163,13 @@
        # Insert our own splash screen.  Color index 0 is
        # background, and index 7 is foreground.  Set to black and
        # white respecively
-       pngtopnm < $SPLASHPNG | ppmquant 16 | \
-               ppmtolss16 "#ffffff=7" "#000000=0" > 
boot$N/isolinux-amd64/splash.rle
+       if [ -d "boot$N/isolinux-amd64" ] ; then
+               pngtopnm < $SPLASHPNG | ppmquant 16 | \
+                       ppmtolss16 "#ffffff=7" "#000000=0" > 
boot$N/isolinux-amd64/splash.rle
+       else
+               pngtopnm < $SPLASHPNG | ppmquant 16 | \
+                       ppmtolss16 "#ffffff=7" "#000000=0" > 
boot$N/isolinux/splash.rle
+       fi
 fi

 rm -rf cdrom


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to