* At the end of stage 1, reset /proc/sys/kernel/modprobe to

/sbin/modprobe because the sactivation script in stage 2 expects it
  to be so.

svn path=/nixos/trunk/; revision=18977
This commit is contained in:
Eelco Dolstra 2009-12-15 18:31:21 +00:00
parent cea70d24e9
commit daa814980e

View File

@ -291,6 +291,10 @@ if ! test -e $targetRoot/dev/console; then
fi
# Restore /proc/sys/kernel/modprobe to its original value.
echo /sbin/modprobe > /proc/sys/kernel/modprobe
# Start stage 2. `run-init' deletes all files in the ramfs on the
# current /. Note that $stage2Init might be an absolute symlink, in
# which case "-e" won't work because we're not in the chroot yet.