Mount /lib/modules at initramfs phase (#263)
This isn't elegant but /etc/rc.d/rc.sysinit requires modules at very early phase - before any customizable script (just before calling /etc/sysconfig/modules/*.modules).devel-3.9 mm_5d31a4cc
parent
cb6a955561
commit
5d31a4cc98
@ -0,0 +1,10 @@
|
||||
#
|
||||
# This file should be places in pre-pivot directory in dracut's initramfs
|
||||
#
|
||||
|
||||
#!/bin/sh
|
||||
|
||||
echo "Waiting for /dev/xvdd device..."
|
||||
while ! [ -e /dev/xvdd ]; do sleep 0.1; done
|
||||
|
||||
mount -n -t ext3 -o ro /dev/xvdd $NEWROOT/lib/modules
|
Loading…
Reference in new issue