summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2013-04-04 13:59:26 +0000
committerThierry Vignaud <tv@mageia.org>2013-04-04 13:59:26 +0000
commitb9961878a22de6da8bf214e4fa810fc8af5f1c34 (patch)
treedddf062fdeb05a8ce8da3de79c2045c13c87b8df /perl-install/standalone
parenta7e83eb8ed98791c25f0e4768ac7e6ae6e49fe21 (diff)
downloaddrakx-backup-do-not-use-b9961878a22de6da8bf214e4fa810fc8af5f1c34.tar
drakx-backup-do-not-use-b9961878a22de6da8bf214e4fa810fc8af5f1c34.tar.gz
drakx-backup-do-not-use-b9961878a22de6da8bf214e4fa810fc8af5f1c34.tar.bz2
drakx-backup-do-not-use-b9961878a22de6da8bf214e4fa810fc8af5f1c34.tar.xz
drakx-backup-do-not-use-b9961878a22de6da8bf214e4fa810fc8af5f1c34.zip
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")
Diffstat (limited to 'perl-install/standalone')
-rwxr-xr-xperl-install/standalone/bootloader-config2
1 files changed, 1 insertions, 1 deletions
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,