summaryrefslogtreecommitdiffstats
path: root/images/make_boot_img
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2008-02-11 21:37:12 +0000
committerOlivier Blin <oblin@mandriva.com>2008-02-11 21:37:12 +0000
commite9986e1a7809fdd9be269ac5cee63c2640f12e94 (patch)
treec1c691d283969572115f140ba1dd3d33eea55a5a /images/make_boot_img
parent2f0511d1695abf895b3a215408bca6bbbde50cdd (diff)
downloaddrakx-e9986e1a7809fdd9be269ac5cee63c2640f12e94.tar
drakx-e9986e1a7809fdd9be269ac5cee63c2640f12e94.tar.gz
drakx-e9986e1a7809fdd9be269ac5cee63c2640f12e94.tar.bz2
drakx-e9986e1a7809fdd9be269ac5cee63c2640f12e94.tar.xz
drakx-e9986e1a7809fdd9be269ac5cee63c2640f12e94.zip
make bootsplash_cfg optional
Diffstat (limited to 'images/make_boot_img')
-rwxr-xr-ximages/make_boot_img6
1 files changed, 3 insertions, 3 deletions
diff --git a/images/make_boot_img b/images/make_boot_img
index 66886ae5f..1c8e6480f 100755
--- a/images/make_boot_img
+++ b/images/make_boot_img
@@ -139,7 +139,7 @@ EOF
}
sub initrd {
- my ($type, $I, $img, $bootsplash_cfg) = @_;
+ my ($type, $I, $img, $o_bootsplash_cfg) = @_;
my $stage1_root = $ENV{DEBUGSTAGE1} ? "../mdk-stage1" : "/usr/$lib/drakx-installer-binaries";
_ "rm -rf $tmp_initrd";
@@ -191,8 +191,8 @@ sub initrd {
symlink "busybox", "$tmp_initrd/sbin/$_" foreach qw(cat chgrp chmod chown chroot chvt clear cp cut date dd df dirname dmesg du echo env false find free grep gunzip gzip halt head id init kill killall klogd linuxrc ln logger ls lsmod mkdir mknod mkswap more mount mv poweroff ps pwd reboot reset rm rmdir sed sleep sh sort swapoff swapon sync syslogd tail tar touch true tty umount uname uniq uptime wc which whoami xargs yes zcat);
}
- if ($bootsplash_cfg) {
- _ "splash -s -f $bootsplash_cfg > $tmp_initrd/bootsplash";
+ if ($o_bootsplash_cfg) {
+ _ "splash -s -f $o_bootsplash_cfg > $tmp_initrd/bootsplash";
}
my $devs = sprintf "ls /dev/{%s}", join(',', qw(console fb0 fd0 loop3 mem null ppp ptyp0 ram3 tty[0-7] ttyp0 ttyS0));