summaryrefslogtreecommitdiffstats
path: root/perl-install/pkgs.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-08-10 07:58:25 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-08-10 07:58:25 +0000
commitee1a64bdbd11691d9ab112557f61bd9de0e3f97a (patch)
tree66a72c0c59564c57b3b5c2e9732ea3c5caa69243 /perl-install/pkgs.pm
parent3799c3388d4ed5524da4c9907b28c9797b62d110 (diff)
downloaddrakx-ee1a64bdbd11691d9ab112557f61bd9de0e3f97a.tar
drakx-ee1a64bdbd11691d9ab112557f61bd9de0e3f97a.tar.gz
drakx-ee1a64bdbd11691d9ab112557f61bd9de0e3f97a.tar.bz2
drakx-ee1a64bdbd11691d9ab112557f61bd9de0e3f97a.tar.xz
drakx-ee1a64bdbd11691d9ab112557f61bd9de0e3f97a.zip
mount /proc, /sys and /proc/usb/usb in $prefix ASAP instead of doing it at various places
Diffstat (limited to 'perl-install/pkgs.pm')
-rw-r--r--perl-install/pkgs.pm3
1 files changed, 0 insertions, 3 deletions
diff --git a/perl-install/pkgs.pm b/perl-install/pkgs.pm
index a97b2ed3e..2fb31c834 100644
--- a/perl-install/pkgs.pm
+++ b/perl-install/pkgs.pm
@@ -1016,7 +1016,6 @@ sub install($$$;$$) {
log::l("pkgs::install $prefix");
log::l("pkgs::install the following: ", join(" ", map { $_->name } values %packages));
- eval { fs::mount("/proc", "$prefix/proc", "proc", 0) } unless -e "$prefix/proc/cpuinfo";
URPM::read_config_files();
my $LOG = openInstallLog($prefix);
@@ -1236,8 +1235,6 @@ sub remove {
$trans->remove($p);
}
- eval { fs::mount("/proc", "$prefix/proc", "proc", 0) } unless -e "$prefix/proc/cpuinfo";
-
#- we are not checking depends since it should come when
#- upgrading a system. although we may remove some functionalities ?