From f5f49b55278c4c83633b3db74976ec59b7831852 Mon Sep 17 00:00:00 2001 From: Kenshi Muto Date: Sat, 18 Sep 2004 15:31:10 +0000 Subject: [PATCH] check and install disk image --- tools/boot/sarge/boot-i386 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/boot/sarge/boot-i386 b/tools/boot/sarge/boot-i386 index dcfdcb2a..53f07c02 100755 --- a/tools/boot/sarge/boot-i386 +++ b/tools/boot/sarge/boot-i386 @@ -159,10 +159,12 @@ EOF # Only disk one gets the extra files installed if [ "$NN" = "1" ]; then # populate the install directory as well - for disk in $DISK_IMAGES; do + for disk in $DISK_IMAGES $EXTRA_DISK_IMAGES; do + if [ -e "$disk" ]; then dir=$(dirname $disk) mkdir -p $CDDIR/install/$dir cp -lf $disk $CDDIR/install/$dir + fi done # Include Smart Boot Manager image for people where isolinux fails