diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2004-05-03 10:49:34 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2004-05-03 10:49:34 +0000 |
commit | f7a25ddb6e64e724ba585ce1a7dc649475355d65 (patch) | |
tree | 68f4200f31fcf3a094a5f368a62bf8196cdd061d /make_boot_img | |
parent | 5074c53aa3b7e7cfa334287a8704b69959e86363 (diff) | |
download | drakx-backup-do-not-use-f7a25ddb6e64e724ba585ce1a7dc649475355d65.tar drakx-backup-do-not-use-f7a25ddb6e64e724ba585ce1a7dc649475355d65.tar.gz drakx-backup-do-not-use-f7a25ddb6e64e724ba585ce1a7dc649475355d65.tar.bz2 drakx-backup-do-not-use-f7a25ddb6e64e724ba585ce1a7dc649475355d65.tar.xz drakx-backup-do-not-use-f7a25ddb6e64e724ba585ce1a7dc649475355d65.zip |
don't use msgboot-graphicallogo.img.bz2 anymore, build it (easy and simpler)
Diffstat (limited to 'make_boot_img')
-rwxr-xr-x | make_boot_img | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/make_boot_img b/make_boot_img index d7b9ba59d..31a5e2c41 100755 --- a/make_boot_img +++ b/make_boot_img @@ -166,12 +166,9 @@ sub boot_img_i386 { __ "$sudo umount $mnt 2>/dev/null"; - if ($type eq "all") { - _ "bunzip2 -c $instdir/init-data/msgboot-graphicallogo-2880.img.bz2 > $img"; - } else { - _ "bunzip2 -c $instdir/init-data/msgboot-graphicallogo.img.bz2 > $img"; - } - + _ "dd if=/dev/zero of=$img bs=1k count=" . ($type eq 'all' ? 2880 : 1440); + _ "mkdosfs -f 1 -r 16 -s 2 $img"; # keep the FAT bookkeeping as small as possible + _ "$sudo syslinux-graphic $img"; _ "$sudo mount -t vfat -o umask=0 $img $mnt -o loop"; _ "cat $kernel > $mnt/vmlinuz"; |