summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/standalone')
-rwxr-xr-xperl-install/standalone/bootloader-config3
1 files changed, 3 insertions, 0 deletions
diff --git a/perl-install/standalone/bootloader-config b/perl-install/standalone/bootloader-config
index cb7a13de8..f59a76067 100755
--- a/perl-install/standalone/bootloader-config
+++ b/perl-install/standalone/bootloader-config
@@ -65,6 +65,9 @@ my $bootloader;
$bootloader = bootloader::read($all_hds);
if (!$bootloader) {
if (member($action, 'add-kernel', 'remove-kernel')) {
+ if ($no_initrd) {
+ die "Cannot find a bootloader installed and initrd build suppressed\n";
+ }
warn "Cannot find a boot loader installed. Only taking care of initrd\n";
} else {
die "Cannot find a boot loader installed\n";