wait host devs in base module
authordyoung@redhat.com <dyoung@redhat.com>
Thu, 23 Aug 2012 03:02:22 +0000 (11:02 +0800)
committerHarald Hoyer <harald@redhat.com>
Thu, 23 Aug 2012 08:15:09 +0000 (10:15 +0200)
commitc4bb88715c14c7696257f38447ef1fb0e69f9874
tree3b633c25128e24c398c2877749d6ac25f3ec4cde
parent54c7ace14548a31103052e96cc097ae601f2ef4b
wait host devs in base module

each dev in host_devs[] should be waited in initqueue to make sure they
are oneline before initqueue finish.

Add a new wait_host_devs.sh in base module to make this a generic thing.
Because all the devs in fstab lines are also added to host_devs, so no need
do same wait in fstab-sys module anymore.

[v2->v3]: do not add slave devices to host_devs
          wait for persistent dev name in initramfs

Signed-off-by: Dave Young <dyoung@redhat.com>
dracut.sh
modules.d/95fstab-sys/module-setup.sh
modules.d/95fstab-sys/wait-mount-dev.sh [deleted file]
modules.d/99base/module-setup.sh
modules.d/99base/wait-host-devs.sh [new file with mode: 0644]