]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
module 90kernel-modules-loaded
authorVictor Lowther <victor.lowther@gmail.com>
Thu, 12 Mar 2009 11:30:14 +0000 (06:30 -0500)
committerHarald Hoyer <harald@redhat.com>
Mon, 23 Mar 2009 14:06:02 +0000 (15:06 +0100)
On Mon, 2009-03-09 at 16:00 +0100, Harald Hoyer wrote:
> Victor Lowther wrote:
> > How does it handle nfsroot?
>
> not yet.. thus the old hooks are still called. :-/

Hmmm... your udev based resume and root mounting do not work at all for
me.  If I do not install the shell-based mount hooks, the root
filesystem never gets mounted -- I have to mount it manually.

Also,

modules.d/99base/init

index 8f0ece16aa5a959841de18ad06c880bda9822f79..39dd21aa12bf6718932ab2b2dbaa0daf1c85e3da 100755 (executable)
@@ -107,7 +107,7 @@ getarg 'break=mount' && emergency_shell
 # be sourced any number of times. As soon as one suceeds, no more are sourced.
 i=0
 while :; do
-    grep -q '/sysroot' /proc/mounts && break;
+    [ -d "$NEWROOT/proc" ] && break;
 
     for f in /mount/*.sh; do
        [ -x "$f" ] && . "$f";