boot-x86: move creation of install.bat out of extra_image

Patch from Ian Campbell.
This commit is contained in:
Frans Pop 2009-08-09 14:32:45 +00:00
parent 45ae0b76bc
commit bee30ee646
1 changed files with 2 additions and 3 deletions

View File

@ -145,9 +145,6 @@ extra_image () {
else
wget "$DI_WWW_HOME/cdrom/$image" -O $CDDIR/$INSTALLDIR/"$image"
fi
kernel_param=
[ "$dir" = gtk ] && kernel_param="video=vesa:ywrap,mtrr vga=788"
echo "\\tools\\loadlin.exe \\$INSTALLDIR\\vmlinuz initrd=initrd.gz $kernel_param" | todos > $CDDIR/$INSTALLDIR/$dir/install.bat
fi
}
@ -236,6 +233,8 @@ if [ "$THISTYPE" = "isolinux" ]; then
if [ -e boot$N/isolinux/isolinux.cfg.withgtk ]; then
mv boot$N/isolinux/isolinux.cfg.withgtk boot$N/isolinux/isolinux.cfg
fi
echo "\\tools\\loadlin.exe \\$INSTALLDIR\\vmlinuz initrd=initrd.gz video=vesa:ywrap,mtrr vga=788" | todos > $CDDIR/$INSTALLDIR/gtk/install.bat
fi
rm -f boot$N/isolinux/isolinux.cfg.with*