All of lore.kernel.org
 help / color / mirror / Atom feed
From: Quirin Gylstorff <Quirin.Gylstorff@siemens.com>
To: jan.kiszka@siemens.com, cip-dev@lists.cip-project.org
Subject: [cip-dev][isar-cip-core][PATCH] start-qemu.sh: Add bookworm as distro
Date: Fri, 21 Apr 2023 16:16:43 +0200	[thread overview]
Message-ID: <20230421141643.3905811-1-Quirin.Gylstorff@siemens.com> (raw)

From: Quirin Gylstorff <quirin.gylstorff@siemens.com>

This allows to start qemu with bookworm images without additional
arguments.

Signed-off-by: Quirin Gylstorff <quirin.gylstorff@siemens.com>
---
 start-qemu.sh | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/start-qemu.sh b/start-qemu.sh
index 8810474..5d48e0d 100755
--- a/start-qemu.sh
+++ b/start-qemu.sh
@@ -41,6 +41,8 @@ if [ -z "${DISTRO_RELEASE}" ]; then
 		DISTRO_RELEASE="sid-ports"
 	elif grep -s -q "DEBIAN_BUSTER: true" .config.yaml; then
 		DISTRO_RELEASE="buster"
+	elif grep -s -q "DEBIAN_BOOKWORM: true" .config.yaml; then
+		DISTRO_RELEASE="bookworm"
 	else
 		DISTRO_RELEASE="bullseye"
 	fi
-- 
2.39.2



             reply	other threads:[~2023-04-21 14:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-21 14:16 Quirin Gylstorff [this message]
2023-04-21 20:23 ` [cip-dev][isar-cip-core][PATCH] start-qemu.sh: Add bookworm as distro Jan Kiszka

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=20230421141643.3905811-1-Quirin.Gylstorff@siemens.com \
    --to=quirin.gylstorff@siemens.com \
    --cc=cip-dev@lists.cip-project.org \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.