diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2004-12-20 18:51:31 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2004-12-20 18:51:31 +0000 |
commit | a47038859dc156d832fdae38fff319b6585a5694 (patch) | |
tree | e071847dee82923596891bf167cd3d5f00285146 /make_boot_img | |
parent | 6f768666517680dbfe3bf9b128e6f9a038707140 (diff) | |
download | drakx-a47038859dc156d832fdae38fff319b6585a5694.tar drakx-a47038859dc156d832fdae38fff319b6585a5694.tar.gz drakx-a47038859dc156d832fdae38fff319b6585a5694.tar.bz2 drakx-a47038859dc156d832fdae38fff319b6585a5694.tar.xz drakx-a47038859dc156d832fdae38fff319b6585a5694.zip |
minimal bootsplash stage1 support
Diffstat (limited to 'make_boot_img')
-rwxr-xr-x | make_boot_img | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/make_boot_img b/make_boot_img index c4c85b4fe..274dd9e91 100755 --- a/make_boot_img +++ b/make_boot_img @@ -12,7 +12,7 @@ rename 'all.kernels', 'kernel/all.kernels'; my $default_append = "ramdisk_size=128000"; # full acpi support for x86_64, enough acpi support for x86 ht, no acpi for others my $default_acpi = $arch =~ /i.86/ ? "acpi=ht" : $arch =~ /x86_64/ ? "" : "acpi=off"; -my $default_vga = "vga=788"; +my $default_vga = "vga=788 splash=silent"; my $instdir = "mdk-stage1"; my $tmp_mnt = '/tmp/drakx_mnt'; @@ -676,10 +676,15 @@ sub isolinux { @kernels = ($main, grep { $_ ne $main } @kernels); _ "rm -rf isolinux"; mkdir "isolinux", 0777; + $default_vga =~ /788/ or die 'we rely on vga=788 for bootsplash'; + my $bootspash_cfg = '/etc/bootsplash/themes/Mandrakelinux/config/bootsplash-800x600.cfg'; + -e $bootspash_cfg or die "can't find $bootspash_cfg"; + each_index { mkdir "isolinux/alt$::i", 0777; _ "cp kernel/all.kernels/$_/vmlinuz isolinux/alt$::i"; initrd($tmp_mnt_initrd, 'all', '', "images/all.rdz-$_"); + _ "splash -s -f $bootspash_cfg >> images/all.rdz-$_" if !/BOOT/; _ "mv images/all.rdz-$_ isolinux/alt$::i/all.rdz"; } @kernels; |