summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-05-13 08:41:02 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-05-13 08:41:02 +0000
commit4f9a0847bf8627db6e513ff41491713cab21c17c (patch)
tree482c36ec80a3433652c6c05376913f69b80afb55
parente79950d93af06b735b86548120dc60b2c5be6ee0 (diff)
downloaddrakx-4f9a0847bf8627db6e513ff41491713cab21c17c.tar
drakx-4f9a0847bf8627db6e513ff41491713cab21c17c.tar.gz
drakx-4f9a0847bf8627db6e513ff41491713cab21c17c.tar.bz2
drakx-4f9a0847bf8627db6e513ff41491713cab21c17c.tar.xz
drakx-4f9a0847bf8627db6e513ff41491713cab21c17c.zip
in manualFstab coming from auto_install.cfg, allow device /dev/XXX instead of simply XXX
-rw-r--r--perl-install/install2.pm5
1 files changed, 5 insertions, 0 deletions
diff --git a/perl-install/install2.pm b/perl-install/install2.pm
index 814f38546..4c74038fe 100644
--- a/perl-install/install2.pm
+++ b/perl-install/install2.pm
@@ -497,6 +497,11 @@ sub main {
}
} else {
log::l("auto install config file loaded successfully");
+
+ #- normalize for people not using our special scheme
+ foreach (@{$o->{manualFstab} || []}) {
+ $_->{device} =~ s!^/dev/!!;
+ }
}
}
$o->{interactive} ||= 'gtk' if !$::auto_install;