summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-05-03 10:49:34 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-05-03 10:49:34 +0000
commitf7a25ddb6e64e724ba585ce1a7dc649475355d65 (patch)
tree68f4200f31fcf3a094a5f368a62bf8196cdd061d
parent5074c53aa3b7e7cfa334287a8704b69959e86363 (diff)
downloaddrakx-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)
-rwxr-xr-xmake_boot_img9
-rw-r--r--mdk-stage1/init-data/msgboot-graphicallogo.img.bz2bin29864 -> 0 bytes
-rw-r--r--mdk-stage1/init-data/msgboot.img.bz2bin30881 -> 0 bytes
3 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";
diff --git a/mdk-stage1/init-data/msgboot-graphicallogo.img.bz2 b/mdk-stage1/init-data/msgboot-graphicallogo.img.bz2
deleted file mode 100644
index d67b4e0a2..000000000
--- a/mdk-stage1/init-data/msgboot-graphicallogo.img.bz2
+++ /dev/null
Binary files differ
diff --git a/mdk-stage1/init-data/msgboot.img.bz2 b/mdk-stage1/init-data/msgboot.img.bz2
deleted file mode 100644
index e06018f11..000000000
--- a/mdk-stage1/init-data/msgboot.img.bz2
+++ /dev/null
Binary files differ