summaryrefslogtreecommitdiffstats
path: root/make_boot_img
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>1999-12-02 12:47:17 +0000
committerPascal Rigaux <pixel@mandriva.com>1999-12-02 12:47:17 +0000
commit8212f09c04859180c0e67588f0ab5912b3c08a86 (patch)
tree24f36eccb18068cdb01626fd83010f692e1b0531 /make_boot_img
parentfb1408984a4460dcb8c66a9ba4d2e51d2b97303f (diff)
downloaddrakx-8212f09c04859180c0e67588f0ab5912b3c08a86.tar
drakx-8212f09c04859180c0e67588f0ab5912b3c08a86.tar.gz
drakx-8212f09c04859180c0e67588f0ab5912b3c08a86.tar.bz2
drakx-8212f09c04859180c0e67588f0ab5912b3c08a86.tar.xz
drakx-8212f09c04859180c0e67588f0ab5912b3c08a86.zip
no_comment
Diffstat (limited to 'make_boot_img')
-rwxr-xr-xmake_boot_img6
1 files changed, 5 insertions, 1 deletions
diff --git a/make_boot_img b/make_boot_img
index 8ec17c7f1..87413b8e9 100755
--- a/make_boot_img
+++ b/make_boot_img
@@ -85,7 +85,11 @@ sub msg_boot_img {
my ($mnt, $img) = @_;
__ "$sudo umount $mnt 2>/dev/null";
- _ "bunzip2 -c $instdir/installinit/msgboot.img.bz2 > $img";
+ if ($type eq "hd") {
+ _ "bunzip2 -c $instdir/installinit/msgboot.img.bz2 > $img";
+ } else {
+ _ "bunzip2 -c $instdir/installinit/msgboot-graphicallogo.img.bz2 > $img";
+ }
_ "$sudo mount -t msdos -o umask=0 $img $mnt -o loop";
_ "cat vmlinuz > $mnt/vmlinuz";
initrd("${mnt}2", "$mnt/$type.rdz");