diff options
author | Francois Pons <fpons@mandriva.com> | 2002-03-15 17:08:33 +0000 |
---|---|---|
committer | Francois Pons <fpons@mandriva.com> | 2002-03-15 17:08:33 +0000 |
commit | 97b615f16fd70eb3d12e7d42d965c7dffb28230f (patch) | |
tree | d0dffe5855b0be2989c8ddffd0d74f826b5fe1b7 /perl-install/bootloader.pm | |
parent | b5ec72fa063eaf23f26e0ca35d0a191599db3c2d (diff) | |
download | drakx-97b615f16fd70eb3d12e7d42d965c7dffb28230f.tar drakx-97b615f16fd70eb3d12e7d42d965c7dffb28230f.tar.gz drakx-97b615f16fd70eb3d12e7d42d965c7dffb28230f.tar.bz2 drakx-97b615f16fd70eb3d12e7d42d965c7dffb28230f.tar.xz drakx-97b615f16fd70eb3d12e7d42d965c7dffb28230f.zip |
force initrd regeneration for oem on some case (maybe the cause of bootsplash
perturbation, as maintainer don't even known why it is running correctly :-)
Diffstat (limited to 'perl-install/bootloader.pm')
-rw-r--r-- | perl-install/bootloader.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/bootloader.pm b/perl-install/bootloader.pm index 3db8b0938..63cbfe032 100644 --- a/perl-install/bootloader.pm +++ b/perl-install/bootloader.pm @@ -241,7 +241,7 @@ sub configure_entry($$) { if ($specific_version) { $entry->{initrd} or $entry->{initrd} = "/boot/initrd-$specific_version.img"; - unless (-e "$prefix/$entry->{initrd}") { + if (! -e "$prefix/$entry->{initrd}" || $::oem) { eval { mkinitrd($prefix, $specific_version, "$entry->{initrd}") }; undef $entry->{initrd} if $@; } |