From 0b5bf3f0964824c7a7e496e3e485bc5be265f265 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Thu, 4 Apr 2013 13:59:26 +0000 Subject: fix adding bogues bootloader entries (root=/dev/) We were silently failing to lookup / partition (mga#8717) It was actually broken since Pixel introduced the check in commit r208774 on 2004-08-17 ("better error handling") --- perl-install/standalone/bootloader-config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install/standalone/bootloader-config') diff --git a/perl-install/standalone/bootloader-config b/perl-install/standalone/bootloader-config index b68cef028..1eea07bce 100755 --- a/perl-install/standalone/bootloader-config +++ b/perl-install/standalone/bootloader-config @@ -153,7 +153,7 @@ sub add_kernel() { return; } - my $root_part = fs::get::root([ fs::get::fstab($all_hds) ]) or die "cannot find root partition\n"; + my $root_part = fs::get::root_([ fs::get::fstab($all_hds) ]) or warn "cannot find root partition in /etc/fstab\n"; my %opts = ( root => fs::wild_device::from_part('', $root_part), initrd_options => $initrd_options, -- cgit v1.2.1