summaryrefslogtreecommitdiffstats
path: root/perl-install/any.pm
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2000-07-19 13:15:15 +0000
committerFrancois Pons <fpons@mandriva.com>2000-07-19 13:15:15 +0000
commit59ef5c4f7b0fa1f4fe427f7cc90d90199dfde524 (patch)
treed756fdd13f1af4e6c6a82274e760904ac92a38b3 /perl-install/any.pm
parentc6697db38742386d84761fb77011ca2f137d554b (diff)
downloaddrakx-backup-do-not-use-59ef5c4f7b0fa1f4fe427f7cc90d90199dfde524.tar
drakx-backup-do-not-use-59ef5c4f7b0fa1f4fe427f7cc90d90199dfde524.tar.gz
drakx-backup-do-not-use-59ef5c4f7b0fa1f4fe427f7cc90d90199dfde524.tar.bz2
drakx-backup-do-not-use-59ef5c4f7b0fa1f4fe427f7cc90d90199dfde524.tar.xz
drakx-backup-do-not-use-59ef5c4f7b0fa1f4fe427f7cc90d90199dfde524.zip
*** empty log message ***
Diffstat (limited to 'perl-install/any.pm')
-rw-r--r--perl-install/any.pm4
1 files changed, 3 insertions, 1 deletions
diff --git a/perl-install/any.pm b/perl-install/any.pm
index 23313c5f6..52b33a9ad 100644
--- a/perl-install/any.pm
+++ b/perl-install/any.pm
@@ -137,7 +137,9 @@ You can add some more or change the existing ones."),
if ($in->ask_from_list_('', _("Which type of entry do you want to add?"),
[ __("Linux"), arch() =~ /sparc/ ? __("Other OS (SunOS...)") : __("Other OS (windows...)") ]
) eq "Linux") {
- $e = { type => 'image' };
+ $e = { type => 'image',
+ root => '/dev/' . fsedit::get_root($fstab)->{device}, #- assume a good default.
+ };
$prefix = "linux";
} else {
$e = { type => 'other' };