dracut: add a flag file indicating scrub-pages option support

Indicate when the dracut "qubes-vm-simple" module supports (re-)enabling
xen_scrub_pages option. This means the kernel can be safely booted with
xen_scrub_pages=0.

QubesOS/qubes-issues#1963
This commit is contained in:
Marek Marczykowski-Górecki 2019-02-15 05:20:14 +01:00
parent 5eb526da4b
commit da61cb7511
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -2,3 +2,5 @@ install:
install -d $(DESTDIR)/usr/lib/dracut/modules.d/90qubes-vm-simple install -d $(DESTDIR)/usr/lib/dracut/modules.d/90qubes-vm-simple
install module-setup.sh init.sh \ install module-setup.sh init.sh \
$(DESTDIR)/usr/lib/dracut/modules.d/90qubes-vm-simple/ $(DESTDIR)/usr/lib/dracut/modules.d/90qubes-vm-simple/
# flag indicating the module will (re-)enable scrub-pages option
touch $(DESTDIR)/usr/lib/dracut/modules.d/90qubes-vm-simple/xen-scrub-pages-supported