From da61cb7511370d7ae01b3f336825f080405dd1ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Fri, 15 Feb 2019 05:20:14 +0100 Subject: [PATCH] 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 --- dracut/simple/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dracut/simple/Makefile b/dracut/simple/Makefile index 8c26d35..7fa1745 100644 --- a/dracut/simple/Makefile +++ b/dracut/simple/Makefile @@ -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