diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2004-04-08 15:08:24 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2004-04-08 15:08:24 +0000 |
commit | a44306d2223b47d307519bb1712717c5df4c6a17 (patch) | |
tree | 61e4e868e0a3eb1c8e3abcb8088dd4b3188679a1 | |
parent | 1aea26dacfe4fce20ee205ba817c2faf7fd7d103 (diff) | |
download | drakx-a44306d2223b47d307519bb1712717c5df4c6a17.tar drakx-a44306d2223b47d307519bb1712717c5df4c6a17.tar.gz drakx-a44306d2223b47d307519bb1712717c5df4c6a17.tar.bz2 drakx-a44306d2223b47d307519bb1712717c5df4c6a17.tar.xz drakx-a44306d2223b47d307519bb1712717c5df4c6a17.zip |
mount /sys before move::init() since move::init() needs it
-rw-r--r-- | perl-install/install2.pm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/perl-install/install2.pm b/perl-install/install2.pm index e18a243d2..1850cd5d9 100644 --- a/perl-install/install2.pm +++ b/perl-install/install2.pm @@ -431,6 +431,9 @@ 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); + if ($::move) { require move; move::init($o); @@ -524,7 +527,6 @@ sub main { eval { $o = $::o = install_any::loadO($o, "patch"); log::l("successfully read patch") } if $patch; eval { modules::load("af_packet") }; - eval { fs::mount('none', '/sys', 'sysfs', 0) }; require harddrake::sound; harddrake::sound::configure_sound_slots(); |