Do not uninstall non-installed packages

The bootloader element uses the grub-efi-$arch package to remove already
installed packages (for redhat).  The uninstall of a non-installed
package fails with a non-zero exit code on gentoo.  The gentoo base
tarball does not include a bootloader and the grub-efi-$arch package is
only used for uninstalls, so zero out the variable to allow bootable
images to be generated.

Change-Id: If8572abd6e19a02f2f63b33d4f83a7054774d7e6
Signed-off-by: Matthew Thode <mthode@mthode.org>
This commit is contained in:
Matthew Thode 2021-05-25 23:32:16 -05:00
parent c045fade80
commit 2ff65d512e
No known key found for this signature in database
GPG Key ID: 64A37BEAAE19A4E8
1 changed files with 3 additions and 3 deletions

View File

@ -5,9 +5,9 @@
"extlinux": "syslinux",
"grub-pc": "grub",
"grub-efi": "grub",
"grub-efi-amd64": "grub",
"grub-efi-arm64": "grub",
"grub-efi-aarch64": "grub"
"grub-efi-amd64": "",
"grub-efi-arm64": "",
"grub-efi-aarch64": ""
},
"suse": {
"dkms_package": "",