diff mbox series

[isar-cip-core] start-qemu.sh: Add bookworm as distro

Message ID 20230421141643.3905811-1-Quirin.Gylstorff@siemens.com (mailing list archive)
State Accepted
Headers show
Series [isar-cip-core] start-qemu.sh: Add bookworm as distro | expand

Commit Message

Gylstorff Quirin April 21, 2023, 2:16 p.m. UTC
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(+)

Comments

Jan Kiszka April 21, 2023, 8:23 p.m. UTC | #1
On 21.04.23 16:16, Quirin Gylstorff wrote:
> 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

Thanks, applied.

Jan
diff mbox series

Patch

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