When PV Grub will be used, VM initramfs should not contain /lib/modules mounting code, as the VM root.img will already contains kernel modules. Make it possible by splitting the module. QubesOS/qubes-issues#1354pull/1/head
parent
d1238ce060
commit
882052eca0
@ -1,3 +1,4 @@
|
||||
install:
|
||||
$(MAKE) -C simple
|
||||
$(MAKE) -C full
|
||||
$(MAKE) -C full-dmroot
|
||||
$(MAKE) -C full-modules
|
||||
|
@ -1,4 +1,4 @@
|
||||
install:
|
||||
install -d $(DESTDIR)/usr/lib/dracut/modules.d/90qubes-vm
|
||||
install module-setup.sh mount_modules.sh qubes_cow_setup.sh \
|
||||
install module-setup.sh qubes_cow_setup.sh \
|
||||
$(DESTDIR)/usr/lib/dracut/modules.d/90qubes-vm/
|
@ -1,8 +1,8 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# This file should be places in pre-mount directory in dracut's initramfs
|
||||
#
|
||||
|
||||
#!/bin/sh
|
||||
echo "Qubes initramfs script here:"
|
||||
|
||||
if [ -e /dev/mapper/dmroot ] ; then
|
@ -0,0 +1,4 @@
|
||||
install:
|
||||
install -d $(DESTDIR)/usr/lib/dracut/modules.d/90qubes-vm-modules
|
||||
install module-setup.sh mount_modules.sh \
|
||||
$(DESTDIR)/usr/lib/dracut/modules.d/90qubes-vm-modules/
|
@ -0,0 +1,9 @@
|
||||
#!/bin/bash
|
||||
|
||||
check() {
|
||||
return 255
|
||||
}
|
||||
|
||||
install() {
|
||||
inst_hook pre-pivot 50 $moddir/mount_modules.sh
|
||||
}
|
@ -1,8 +1,8 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# This file should be places in pre-pivot directory in dracut's initramfs
|
||||
#
|
||||
|
||||
#!/bin/sh
|
||||
|
||||
if ! [ -d $NEWROOT/lib/modules/`uname -r` ]; then
|
||||
echo "Waiting for /dev/xvdd device..."
|
Loading…
Reference in new issue