public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
From: "'Felix Moessbauer' via isar-users" <isar-users@googlegroups.com>
To: isar-users@googlegroups.com
Cc: clara.kowalsky@siemens.com, florian.bezdeka@siemens.com,
	jan.kiszka@siemens.com,
	Felix Moessbauer <felix.moessbauer@siemens.com>
Subject: [PATCH v3 5/7] add kas menu target for qemuamd64-iso machine
Date: Fri, 24 Jan 2025 13:35:43 +0100	[thread overview]
Message-ID: <20250124123545.3500274-6-felix.moessbauer@siemens.com> (raw)
In-Reply-To: <20250124123545.3500274-1-felix.moessbauer@siemens.com>

As this target is incompatible with container runtimes (rootfs uses an
overlay), we also disable the prepbuilt image examples for docker and
podman.

Signed-off-by: Felix Moessbauer <felix.moessbauer@siemens.com>
---
 kas/machine/Kconfig            | 7 +++++++
 kas/machine/qemuamd64-iso.yaml | 7 +++++++
 kas/package/Kconfig            | 3 +++
 3 files changed, 17 insertions(+)
 create mode 100644 kas/machine/qemuamd64-iso.yaml

diff --git a/kas/machine/Kconfig b/kas/machine/Kconfig
index 1740bd56..8c334a8f 100644
--- a/kas/machine/Kconfig
+++ b/kas/machine/Kconfig
@@ -107,6 +107,12 @@ config MACHINE_QEMU_AMD64_SB
 	select CODENAME_BULLSEYE
 	select ARCH_AMD64
 
+config MACHINE_QEMU_AMD64_ISO
+	bool "qemuamd64-iso"
+	select DISTRO_DEBIAN
+	select CODENAME_BOOKWORM
+	select ARCH_AMD64
+
 config MACHINE_QEMU_AMD64
 	bool "qemuamd64"
 	select DISTRO_DEBIAN
@@ -252,6 +258,7 @@ config KAS_INCLUDE_MACHINE
 	default "kas/machine/phyboard-mira.yaml" if MACHINE_PHYBOARD_MIRA
 	default "kas/machine/qemuamd64-cip.yaml" if MACHINE_QEMU_AMD64_CIP
 	default "kas/machine/qemuamd64-sb.yaml" if MACHINE_QEMU_AMD64_SB
+	default "kas/machine/qemuamd64-iso.yaml" if MACHINE_QEMU_AMD64_ISO
 	default "kas/machine/qemuamd64.yaml" if MACHINE_QEMU_AMD64
 	default "kas/machine/qemuarm.yaml" if MACHINE_QEMU_ARM
 	default "kas/machine/qemuarm64.yaml" if MACHINE_QEMU_ARM64
diff --git a/kas/machine/qemuamd64-iso.yaml b/kas/machine/qemuamd64-iso.yaml
new file mode 100644
index 00000000..f58a1217
--- /dev/null
+++ b/kas/machine/qemuamd64-iso.yaml
@@ -0,0 +1,7 @@
+# This software is a part of ISAR.
+# Copyright (C) 2025 Siemens AG
+
+header:
+  version: 14
+
+machine: qemuamd64-iso
diff --git a/kas/package/Kconfig b/kas/package/Kconfig
index bea2b121..a49041e8 100644
--- a/kas/package/Kconfig
+++ b/kas/package/Kconfig
@@ -61,6 +61,7 @@ config KAS_INCLUDE_PACKAGE_EXAMPLE_PREBUILT
 config PACKAGE_EXPAND_ON_FIRST_BOOT
         bool "expand-on-first-boot"
         default y
+        depends on !MACHINE_QEMU_AMD64_ISO
 
 config KAS_INCLUDE_PACKAGE_EXPAND_ON_FIRST_BOOT
         string
@@ -151,6 +152,7 @@ config PACKAGE_PREBUILT_DOCKER_IMG
         bool "prebuilt-docker-img"
         default y
         depends on ARCH_AMD64 || ARCH_ARM64 || ARCH_ARM
+        depends on !MACHINE_QEMU_AMD64_ISO
 
 config KAS_INCLUDE_PACKAGE_PREBUILT_DOCKER_IMG
         string
@@ -162,6 +164,7 @@ config PACKAGE_PREBUILT_PODMAN_IMG
         default y
         depends on DEBIAN_BULLSEYE || DEBIAN_BOOKWORM || DEBIAN_TRIXIE || UBUNTU_JAMMY || UBUNTU_NOBLE
         depends on ARCH_AMD64 || ARCH_ARM64 || ARCH_ARM
+        depends on !MACHINE_QEMU_AMD64_ISO
 
 config KAS_INCLUDE_PACKAGE_PREBUILT_PODMAN_IMG
         string
-- 
2.39.5

-- 
You received this message because you are subscribed to the Google Groups "isar-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isar-users+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/isar-users/20250124123545.3500274-6-felix.moessbauer%40siemens.com.

  parent reply	other threads:[~2025-01-24 12:36 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-01-24 12:35 [PATCH v3 0/7] Add iso9660 image support for ISAR 'Felix Moessbauer' via isar-users
2025-01-24 12:35 ` [PATCH v3 1/7] Import isoimage-isohybrid from oe 'Felix Moessbauer' via isar-users
2025-01-24 12:35 ` [PATCH v3 2/7] wic: add ISAR version of isohybrid-efi plugin 'Felix Moessbauer' via isar-users
2025-01-24 12:35 ` [PATCH v3 3/7] move squashfs imagetype class from CIP to ISAR 'Felix Moessbauer' via isar-users
2025-01-24 12:35 ` [PATCH v3 4/7] add qemuamd64-iso target for hybrid iso9660 image 'Felix Moessbauer' via isar-users
2025-01-24 12:35 ` 'Felix Moessbauer' via isar-users [this message]
2025-01-24 12:35 ` [PATCH v3 6/7] testsuite: add qemuamd64-iso machine to start_vm script 'Felix Moessbauer' via isar-users
2025-01-24 12:35 ` [PATCH v3 7/7] testsuite: test mc:qemuamd64-iso-bookworm:isar-image-base 'Felix Moessbauer' via isar-users
2025-02-06  7:33 ` [PATCH v3 0/7] Add iso9660 image support for ISAR Uladzimir Bely

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250124123545.3500274-6-felix.moessbauer@siemens.com \
    --to=isar-users@googlegroups.com \
    --cc=clara.kowalsky@siemens.com \
    --cc=felix.moessbauer@siemens.com \
    --cc=florian.bezdeka@siemens.com \
    --cc=jan.kiszka@siemens.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox