qubes-linux-utils/dracut
Marek Marczykowski-Górecki 789e9c2549
dracut: mount only subdirectory of /lib/modules
This makes is possible to modify /lib/modules content - especially
install other kernel packages, without unmounting the whole
/lib/modules. Since dom0-provided modules will no longer conflict with
VM kernel packages (assuming kernel versions are different), there is no
need for qubes-kernel-vm-placeholder anymore.

Having only one subdirectory of /lib/modules mounted is somehow tricky,
because:
1. Directory name isn't always the same - it depends on kernel version.
This means that mountpoint must be created dynamically (so $NEWROOT must
be mounted in R/W for a moment).
2. There is one-command way to mount only a subdirectory of some
filesystem. So use a trick: mount it in some temporary directory, get
interesting subdir with `mount --bind`, then unmount temporary
directory.

QubesOS/qubes-issues#1354
2015-11-08 03:46:25 +01:00
..
full-dmroot dracut: fix qubes-vm module dependencies 2015-11-08 03:44:46 +01:00
full-modules dracut: mount only subdirectory of /lib/modules 2015-11-08 03:46:25 +01:00
simple dracut: mount only subdirectory of /lib/modules 2015-11-08 03:46:25 +01:00
Makefile dracut: split 'full' dracut module into 'full-dmroot' and 'full-modules' 2015-11-08 03:44:27 +01:00