summaryrefslogtreecommitdiffstats
path: root/move/move.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-06-22 05:44:35 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-06-22 05:44:35 +0000
commit26d228baa7b2ec5542ae3152ba1b58a186a84884 (patch)
tree24973d518d2b8e0841f53bab28b9560c78fb688e /move/move.pm
parent28bbb49ebf24bc00c3c3c67a3ab4739e2f914518 (diff)
downloaddrakx-26d228baa7b2ec5542ae3152ba1b58a186a84884.tar
drakx-26d228baa7b2ec5542ae3152ba1b58a186a84884.tar.gz
drakx-26d228baa7b2ec5542ae3152ba1b58a186a84884.tar.bz2
drakx-26d228baa7b2ec5542ae3152ba1b58a186a84884.tar.xz
drakx-26d228baa7b2ec5542ae3152ba1b58a186a84884.zip
- use magicdev for secondary cdrom
- have a proper mtab for magicdev+kded to work
Diffstat (limited to 'move/move.pm')
-rw-r--r--move/move.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/move/move.pm b/move/move.pm
index d08b585c2..29b19a1c9 100644
--- a/move/move.pm
+++ b/move/move.pm
@@ -120,7 +120,7 @@ sub init {
mkdir "/etc/$_" foreach qw(X11);
touch '/etc/modules.conf';
touch '/etc/modprobe.conf';
- symlinkf "/proc/mounts", "/etc/mtab";
+ cp_f('/proc/mounts', '/etc/mtab');
#- these files need be writable but we need a sensible first contents
cp_f("/image/etc/$_", '/etc') foreach qw(passwd passwd- group sudoers fstab);
@@ -528,7 +528,7 @@ after_autoconf:
require timezone;
timezone::write($o->{timezone});
- $o->{useSupermount} = 1;
+ $o->{useSupermount} = 'magicdev';
fs::set_removable_mntpoints($o->{all_hds});
fs::set_all_default_options($o->{all_hds}, %$o, lang::fs_options($o->{locale}));
@@ -663,7 +663,7 @@ sub install2::startMove {
eval { swap::swapon($_->{device}) };
} elsif ($_->{mntpoint} && !$_->{isMounted} && !$::noauto) {
mkdir_p($_->{mntpoint});
- run_program::run('mount', $_->{mntpoint});
+ run_program::run('mount', $_->{mntpoint}) if $_->{options} !~ /noauto/;
}
}