qubes-linux-kernel/vm-initramfs/lib/dracut/hooks/pre-pivot/50_mount_modules.sh
Marek Marczykowski 5b684de6b6 vm-initrd: support new dracut folder layout
This enables building kernel under FC15.
2012-06-04 15:31:13 +02:00

11 lines
223 B
Bash
Executable File

#
# 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 /dev/xvdd $NEWROOT/lib/modules