summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/bootloader-config
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2005-06-06 04:53:41 +0000
committerPascal Rigaux <pixel@mandriva.com>2005-06-06 04:53:41 +0000
commit809bc2de38d8c976014c92193c7c2b43c9c31849 (patch)
tree895ad7d39ce4b5bd1b746bcc9afea6fb20bdc424 /perl-install/standalone/bootloader-config
parentdb79a4e945e42501525c8c8f7097e8e05323e0ba (diff)
downloaddrakx-809bc2de38d8c976014c92193c7c2b43c9c31849.tar
drakx-809bc2de38d8c976014c92193c7c2b43c9c31849.tar.gz
drakx-809bc2de38d8c976014c92193c7c2b43c9c31849.tar.bz2
drakx-809bc2de38d8c976014c92193c7c2b43c9c31849.tar.xz
drakx-809bc2de38d8c976014c92193c7c2b43c9c31849.zip
- put quotes if needed for root=xxx (quotes are needed for LABEL=...)
- use LABEL=... if preferred
Diffstat (limited to 'perl-install/standalone/bootloader-config')
-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 efd3c939a..42bf12fa5 100755
--- a/perl-install/standalone/bootloader-config
+++ b/perl-install/standalone/bootloader-config
@@ -120,7 +120,7 @@ sub add_kernel() {
my $root_part = fs::get::root([ fs::get::fstab($all_hds) ]) or die "can not find root partition\n";
my %opts = (
- root => "/dev/$root_part->{device}",
+ root => fs::part2wild_device_name('', $root_part),
initrd_options => $initrd_options,
if_($label, label => $label),
if_($bootloader->{default_vga}, vga => $bootloader->{default_vga}),