[isar-cip-core][PATCH 4/5] Restrict OVMF to qemu-amd64 machine


Jan Kiszka
 

From: Jan Kiszka <jan.kiszka@...>

No need to run this for non-qemu and non-x86. And, yes, overrides can
stack.

Signed-off-by: Jan Kiszka <jan.kiszka@...>
---
kas/opt/efibootguard.yml | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/kas/opt/efibootguard.yml b/kas/opt/efibootguard.yml
index ce89756..2d84427 100644
--- a/kas/opt/efibootguard.yml
+++ b/kas/opt/efibootguard.yml
@@ -29,8 +29,8 @@ local_conf_header:

ovmf-binaries: |
# Add ovmf binaries for qemu
- IMAGER_BUILD_DEPS += "ovmf-binaries"
- # not needed Debian 11 and later
- OVERRIDES_append = ":${BASE_DISTRO_CODENAME}"
- DISTRO_APT_SOURCES_append_buster = " conf/distro/debian-buster-backports.list"
- DISTRO_APT_PREFERENCES_append_buster = " conf/distro/preferences.ovmf-snakeoil.conf"
+ IMAGER_BUILD_DEPS_append_qemu-amd64 += "ovmf-binaries"
+ # not needed for Debian 11 and later
+ OVERRIDES_append_qemu-amd64 = ":${BASE_DISTRO_CODENAME}"
+ DISTRO_APT_SOURCES_append_qemu-amd64_buster = " conf/distro/debian-buster-backports.list"
+ DISTRO_APT_PREFERENCES_append_qemu-amd64_buster = " conf/distro/preferences.ovmf-snakeoil.conf"
--
2.34.1

Join cip-dev@lists.cip-project.org to automatically receive all group messages.