diff options
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 $@; } |