summaryrefslogtreecommitdiffstats
path: root/make_boot_img
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2002-07-18 13:09:17 +0000
committerFrancois Pons <fpons@mandriva.com>2002-07-18 13:09:17 +0000
commitef6709c2e4e089ad8cd41d430167eb852f82ac2f (patch)
tree11b819739d3e3719ddefe131b1cfe38e0b2dea30 /make_boot_img
parent59f75a86965f0304b0ea62b48c33bef9ab1be1f2 (diff)
downloaddrakx-backup-do-not-use-ef6709c2e4e089ad8cd41d430167eb852f82ac2f.tar
drakx-backup-do-not-use-ef6709c2e4e089ad8cd41d430167eb852f82ac2f.tar.gz
drakx-backup-do-not-use-ef6709c2e4e089ad8cd41d430167eb852f82ac2f.tar.bz2
drakx-backup-do-not-use-ef6709c2e4e089ad8cd41d430167eb852f82ac2f.tar.xz
drakx-backup-do-not-use-ef6709c2e4e089ad8cd41d430167eb852f82ac2f.zip
add bmp2mdk of isolinux picture if present.
Diffstat (limited to 'make_boot_img')
-rwxr-xr-xmake_boot_img8
1 files changed, 7 insertions, 1 deletions
diff --git a/make_boot_img b/make_boot_img
index 9a0b71c8a..7c2b4e7fd 100755
--- a/make_boot_img
+++ b/make_boot_img
@@ -487,12 +487,18 @@ sub isolinux {
_ "cp images/all.rdz-$_ isolinux/alt$i/all.rdz";
$i++;
}
+ if (-e "isolinux-graphic.bmp") {
+ my ($bmp2mdk) = glob("/usr/share/doc/lilo-*/bmp2mdk");
+ #- change here for newer picture isolinux-graphic.bmp and newer parameters.
+ _ "perl $bmp2mdk mode:0x103 progress:425,173,16,16,64+2 clear:600,800,64+2 pos:0,0 <isolinux-graphic.bmp >isolinux/boot.msg";
+ }
_ "cp /usr/lib/syslinux/isolinux$debug.bin isolinux/isolinux.bin";
output "isolinux/isolinux.cfg", "
default linux
prompt 1
timeout 150
-display help.msg
+" . (-e "isolinux/boot.msg" ? "display boot.msg
+F1 help.msg" : "display help.msg") . "
" . join('', map {
"label $_->[0]
kernel alt0/vmlinuz