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
pull/39/head
Marek Marczykowski-Górecki 5 years ago
parent 5eb526da4b
commit da61cb7511
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

@ -2,3 +2,5 @@ install:
install -d $(DESTDIR)/usr/lib/dracut/modules.d/90qubes-vm-simple
install module-setup.sh init.sh \
$(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

Loading…
Cancel
Save