diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2004-07-09 01:36:07 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2004-07-09 01:36:07 +0000 |
commit | 4bd195dad921fdd656b271833e34b4f7521fa2f5 (patch) | |
tree | 2fa477c7c07a193d81374bf2ec9e809fecc90730 | |
parent | bb3353fc19e33a84e4a64140fee22a8eb4ba70c1 (diff) | |
download | drakx-4bd195dad921fdd656b271833e34b4f7521fa2f5.tar drakx-4bd195dad921fdd656b271833e34b4f7521fa2f5.tar.gz drakx-4bd195dad921fdd656b271833e34b4f7521fa2f5.tar.bz2 drakx-4bd195dad921fdd656b271833e34b4f7521fa2f5.tar.xz drakx-4bd195dad921fdd656b271833e34b4f7521fa2f5.zip |
fix mounting /sys (why did i switch to using syscall_ 'mount' directly? and with missing parameters!)
-rw-r--r-- | perl-install/install2.pm | 3 |
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; |