summaryrefslogtreecommitdiffstats
path: root/move/move.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2003-11-10 10:45:01 +0000
committerPascal Rigaux <pixel@mandriva.com>2003-11-10 10:45:01 +0000
commitdd135f6c822f30209731fad398b0d4002290e561 (patch)
tree61a0acc9034d66f39f859d57e43f37029bd05273 /move/move.pm
parent63c3c96b8e4daa047c8082d25f84ab307608807c (diff)
downloaddrakx-dd135f6c822f30209731fad398b0d4002290e561.tar
drakx-dd135f6c822f30209731fad398b0d4002290e561.tar.gz
drakx-dd135f6c822f30209731fad398b0d4002290e561.tar.bz2
drakx-dd135f6c822f30209731fad398b0d4002290e561.tar.xz
drakx-dd135f6c822f30209731fad398b0d4002290e561.zip
check the kernel corresponding to stage1 rdz is installed
Diffstat (limited to 'move/move.pm')
-rw-r--r--move/move.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/move/move.pm b/move/move.pm
index 72b3759c1..7453a1f43 100644
--- a/move/move.pm
+++ b/move/move.pm
@@ -89,6 +89,8 @@ sub init {
fs::mount("none", "/dev", "devfs", 0);
run_program::run('/sbin/devfsd', '/dev');
+ -d '/lib/modules/' . c::kernel_version() or warn("ERROR: kernel package " . c::kernel_version() . " not installed\n"), c::_exit(1);
+
modules::load_category('multimedia/sound');
drakx_stuff: