d931ba237e
This systemd service is not disruptive to the boot process if it fails to mount /lib/modules (because it has been mounted before systemd switched the root directory to the real one). The advantage is that it will boot /usr/lib/modules even if dracut doesn't handle root switch pre-hook, which is the case on archlinux. It then allows booting an archlinux AppVM using an archlinux kernel.
18 lines
380 B
Desktop File
18 lines
380 B
Desktop File
[Unit]
|
|
Description=Qubes verification of /usr/lib/modules
|
|
DefaultDependencies=no
|
|
Documentation=
|
|
ConditionPathExists=/dev/xvdd
|
|
Before=systemd-modules-load.service
|
|
Before=systemd-udevd.service
|
|
Before=local-fs-pre.target
|
|
After=systemd-remount-fs.service
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
ExecStart=/bin/mount /dev/xvdd /usr/lib/modules
|
|
StandardOutput=syslog
|
|
|
|
[Install]
|
|
WantedBy=sysinit.target
|