qubes-linux-kernel/vm-initramfs/pre-pivot/50_mount_modules.sh

11 lines
229 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 -o ro /dev/xvdd $NEWROOT/lib/modules