20_linux_xen: Do not load XSM policy in non-XSM options
authorIan Jackson <ian.jackson@eu.citrix.com>
Wed, 27 May 2020 16:00:45 +0000 (17:00 +0100)
committerMate Kukri <mate.kukri@canonical.com>
Tue, 23 Jun 2026 15:04:12 +0000 (16:04 +0100)
commita550204ba828cf631c00f65f2a1972034db5bccd
treec5b320bda9ebe9fc861939243d55506d0e08b565
parent8640e0d870f21b1ef57990290673473e76df0b0b
20_linux_xen: Do not load XSM policy in non-XSM options

For complicated reasons, even if you have XSM/FLASK disabled (as is
the default) the Xen build system still builds a policy file and puts
it in /boot.

Even so, we shouldn't be loading this in the usual non-"XSM enabled"
entries.  It doesn't do any particular harm but it is quite confusing.

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
Bug-Debian: https://bugs.debian.org/961673
Last-Update: 2020-05-29

Patch-Name: xen-no-xsm-policy-in-non-xsm-options.patch

Gbp-Pq: Name xen-no-xsm-policy-in-non-xsm-options.patch
util/grub.d/20_linux_xen.in