kernel modules built in VM often use different gcc version, which makes
provided gcc plugins incompatible. Since rebuilding those plugins may
not be straight forward (extra gcc headers needed, possibly kernel
config changes needed if gcc version differs significantly), disable
them for out of tree modules.
FixesQubesOS/qubes-issues#2844
(cherry picked from commit e3a342006f)
If default kernel was from kernel-latest, update default kernel property
on kernel-latest update (only). Same for other kernel package flavor.
Suggested by @hexagonrecursion
FixesQubesOS/qubes-issues#5309
(cherry picked from commit 1d50db3f47)
Older mkfs.ext3 doesn't have -d option.
This in practice revert eb4c9ed "Build modules.img at module build time"
on older systems.
(cherry picked from commit fd14ac930c)
Default kernel options like root= or plymouth.enable are specific to the
kernel package (and initrd bundled with it). Start migrating away from
built-in defaults in core-admin by adding a file in kernel package
containing those options.
Also, if new enough initramfs is included, add xen_scrub_pages=0 which
will speed up the domain start.
QubesOS/qubes-issues#4839QubesOS/qubes-issues#4736
(cherry picked from commit 9cfa9a92af)
This will make package installation a little faster, more reproducible
(mkfs.ext3 -d is easier to make/replace with reproducible tool than
kernel driver), and also make disk space estimation more accurate.
(cherry picked from commit eb4c9ed392)
(cherry picked from commit 1fe8359f05)