qubes-linux-utils/rpm_spec
Marek Marczykowski-Górecki de2150e3d3
Add xen_scrub_pages=0 kernel option only if initramfs was rebuilt
Rebuild initramfs on package upgrade (already done for Debian
previously) and store 1 into /var/lib/qubes/initramfs-updated. Then,
only add xen_scrub_pages=0 kernel option if
/var/lib/qubes/initramfs-updated is there (with "1" or greater number).
This way, if initramfs rebuild doesn't happen for any reason,
xen_scrub_pages=0 will not be added.

Fixes 456fe99 "Disable scrubbing memory pages during initial balloon down"
QubesOS/qubes-issues#1963
2019-02-25 06:38:53 +01:00
..
qubes-kernel-vm-support.spec.in Add xen_scrub_pages=0 kernel option only if initramfs was rebuilt 2019-02-25 06:38:53 +01:00
qubes-utils.spec.in rpm: adjust for fc29 2018-10-02 20:53:08 +02:00