Is your feature request related to a problem? Please describe.
When AEM package is installed on Qubes OS, the grub.cfg will include extra boot options guarded by if [ -d /aem/ ]; then. So, when it's just package installed but AEM is not initialized, nothing should change. But Heads' parsing of grub.cfg (I guess) doesn't consider this condition and include such boot entries anyway:
https://openqa.qubes-os.org/tests/81744#step/startup/7
Describe the solution you'd like
Ideally grub.cfg should be parsed as real grub would do. But in practice, maybe Heads can support just few condition variants like this one?
Describe alternatives you've considered
Not installing anti-evil-maid package when using Heads.
Additional context
For now (I hope) it affects only some tests, as anti-evil-maid is not installed by default. But some users may try to install it and get confused. And one day maybe AEM is going to be installed by default (not going to happen in short term).
Is your feature request related to a problem? Please describe.
When AEM package is installed on Qubes OS, the grub.cfg will include extra boot options guarded by
if [ -d /aem/ ]; then. So, when it's just package installed but AEM is not initialized, nothing should change. But Heads' parsing of grub.cfg (I guess) doesn't consider this condition and include such boot entries anyway:https://openqa.qubes-os.org/tests/81744#step/startup/7
Describe the solution you'd like
Ideally
grub.cfgshould be parsed as real grub would do. But in practice, maybe Heads can support just few condition variants like this one?Describe alternatives you've considered
Not installing
anti-evil-maidpackage when using Heads.Additional context
For now (I hope) it affects only some tests, as
anti-evil-maidis not installed by default. But some users may try to install it and get confused. And one day maybe AEM is going to be installed by default (not going to happen in short term).