summaryrefslogtreecommitdiffstats
path: root/perl-install/bootloader.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/bootloader.pm')
-rw-r--r--perl-install/bootloader.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/bootloader.pm b/perl-install/bootloader.pm
index 63cbfe032..814b66f30 100644
--- a/perl-install/bootloader.pm
+++ b/perl-install/bootloader.pm
@@ -54,7 +54,7 @@ sub get_label {
sub mkinitrd($$$) {
my ($prefix, $kernelVersion, $initrdImage) = @_;
- $::testing || -e "$prefix/$initrdImage" and return;
+ $::oem or $::testing || -e "$prefix/$initrdImage" and return;
my $loop_boot = loopback::prepare_boot($prefix);