summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-07-09 01:36:07 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-07-09 01:36:07 +0000
commit4bd195dad921fdd656b271833e34b4f7521fa2f5 (patch)
tree2fa477c7c07a193d81374bf2ec9e809fecc90730
parentbb3353fc19e33a84e4a64140fee22a8eb4ba70c1 (diff)
downloaddrakx-backup-do-not-use-4bd195dad921fdd656b271833e34b4f7521fa2f5.tar
drakx-backup-do-not-use-4bd195dad921fdd656b271833e34b4f7521fa2f5.tar.gz
drakx-backup-do-not-use-4bd195dad921fdd656b271833e34b4f7521fa2f5.tar.bz2
drakx-backup-do-not-use-4bd195dad921fdd656b271833e34b4f7521fa2f5.tar.xz
drakx-backup-do-not-use-4bd195dad921fdd656b271833e34b4f7521fa2f5.zip
fix mounting /sys (why did i switch to using syscall_ 'mount' directly? and with missing parameters!)
-rw-r--r--perl-install/install2.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/perl-install/install2.pm b/perl-install/install2.pm
index 9016fc9b6..f1984e285 100644
--- a/perl-install/install2.pm
+++ b/perl-install/install2.pm
@@ -434,8 +434,7 @@ sub main {
log::openLog(($::testing || $o->{localInstall}) && 'debug.log');
log::l("second stage install running (", any::drakx_version(), ")");
- mkdir '/sys';
- syscall_('mount', (my $_dev = 'none'), (my $_where = '/sys'), (my $_type = 'sysfs'), 0);
+ eval { fs::mount('none', '/sys', 'sysfs', 1) };
if ($::move) {
require move;