[v1] kas: add support for Ubuntu 24.04 (noble)

Message ID 20241026022237.1420016-1-srinuvasan.a@siemens.com
State Accepted, archived
Headers show
Series [v1] kas: add support for Ubuntu 24.04 (noble) | expand

Commit Message

srinuvasan.a Oct. 26, 2024, 2:22 a.m. UTC
From: srinuvasan <srinuvasan.a@siemens.com>

Signed-off-by: srinuvasan <srinuvasan.a@siemens.com>
---
 kas/distro/Kconfig           | 4 ++++
 kas/distro/ubuntu-noble.yaml | 9 +++++++++
 kas/machine/Kconfig          | 4 ++--
 3 files changed, 15 insertions(+), 2 deletions(-)
 create mode 100644 kas/distro/ubuntu-noble.yaml

Comments

Uladzimir Bely Nov. 4, 2024, 1:51 p.m. UTC | #1
On Sat, 2024-10-26 at 07:52 +0530, srinuvasan.a via isar-users wrote:
> From: srinuvasan <srinuvasan.a@siemens.com>
> 
> Signed-off-by: srinuvasan <srinuvasan.a@siemens.com>
> ---
>  kas/distro/Kconfig           | 4 ++++
>  kas/distro/ubuntu-noble.yaml | 9 +++++++++
>  kas/machine/Kconfig          | 4 ++--
>  3 files changed, 15 insertions(+), 2 deletions(-)
>  create mode 100644 kas/distro/ubuntu-noble.yaml
> 
> diff --git a/kas/distro/Kconfig b/kas/distro/Kconfig
> index 28898621..db8ab1b7 100644
> --- a/kas/distro/Kconfig
> +++ b/kas/distro/Kconfig
> @@ -37,6 +37,9 @@ config UBUNTU_FOCAL
>  config UBUNTU_JAMMY
>  	bool "Ubuntu 22.04 (Jammy)"
>  
> +config UBUNTU_NOBLE
> +	bool "Ubuntu 24.04 (noble)"
> +
>  endchoice
>  
>  config KAS_INCLUDE_DISTRO
> @@ -50,5 +53,6 @@ config KAS_INCLUDE_DISTRO
>  	default "kas/distro/raspios-bookworm.yaml" if
> RASPIOS_BOOKWORM
>  	default "kas/distro/ubuntu-focal.yaml" if UBUNTU_FOCAL
>  	default "kas/distro/ubuntu-jammy.yaml" if UBUNTU_JAMMY
> +	default "kas/distro/ubuntu-noble.yaml" if UBUNTU_NOBLE
>  
>  endmenu
> diff --git a/kas/distro/ubuntu-noble.yaml b/kas/distro/ubuntu-
> noble.yaml
> new file mode 100644
> index 00000000..35bd347a
> --- /dev/null
> +++ b/kas/distro/ubuntu-noble.yaml
> @@ -0,0 +1,9 @@
> +# This software is a part of ISAR.
> +# Copyright (c) Siemens AG, 2024
> +#
> +# SPDX-License-Identifier: MIT
> +
> +header:
> +  version: 14
> +
> +distro: ubuntu-noble
> diff --git a/kas/machine/Kconfig b/kas/machine/Kconfig
> index c3b568df..0ad39ea4 100644
> --- a/kas/machine/Kconfig
> +++ b/kas/machine/Kconfig
> @@ -56,7 +56,7 @@ config MACHINE_QEMU_AMD64_SB
>  
>  config MACHINE_QEMU_AMD64
>  	bool "qemuamd64"
> -	depends on DEBIAN_BUSTER || DEBIAN_BULLSEYE ||
> DEBIAN_BOOKWORM || DEBIAN_TRIXIE || UBUNTU_FOCAL || UBUNTU_JAMMY
> +	depends on DEBIAN_BUSTER || DEBIAN_BULLSEYE ||
> DEBIAN_BOOKWORM || DEBIAN_TRIXIE || UBUNTU_FOCAL || UBUNTU_JAMMY ||
> UBUNTU_NOBLE
>  
>  config MACHINE_QEMU_ARM
>  	bool "qemuarm"
> @@ -64,7 +64,7 @@ config MACHINE_QEMU_ARM
>  
>  config MACHINE_QEMU_ARM64
>  	bool "qemuarm64"
> -	depends on DEBIAN_BUSTER || DEBIAN_BULLSEYE ||
> DEBIAN_BOOKWORM || DEBIAN_TRIXIE || UBUNTU_FOCAL || UBUNTU_JAMMY
> +	depends on DEBIAN_BUSTER || DEBIAN_BULLSEYE ||
> DEBIAN_BOOKWORM || DEBIAN_TRIXIE || UBUNTU_FOCAL || UBUNTU_JAMMY ||
> UBUNTU_NOBLE
>  
>  config MACHINE_QEMU_I386
>  	bool "qemui386"
> -- 
> 2.39.5
> 

Applied to next, thanks.

Patch

diff --git a/kas/distro/Kconfig b/kas/distro/Kconfig
index 28898621..db8ab1b7 100644
--- a/kas/distro/Kconfig
+++ b/kas/distro/Kconfig
@@ -37,6 +37,9 @@  config UBUNTU_FOCAL
 config UBUNTU_JAMMY
 	bool "Ubuntu 22.04 (Jammy)"
 
+config UBUNTU_NOBLE
+	bool "Ubuntu 24.04 (noble)"
+
 endchoice
 
 config KAS_INCLUDE_DISTRO
@@ -50,5 +53,6 @@  config KAS_INCLUDE_DISTRO
 	default "kas/distro/raspios-bookworm.yaml" if RASPIOS_BOOKWORM
 	default "kas/distro/ubuntu-focal.yaml" if UBUNTU_FOCAL
 	default "kas/distro/ubuntu-jammy.yaml" if UBUNTU_JAMMY
+	default "kas/distro/ubuntu-noble.yaml" if UBUNTU_NOBLE
 
 endmenu
diff --git a/kas/distro/ubuntu-noble.yaml b/kas/distro/ubuntu-noble.yaml
new file mode 100644
index 00000000..35bd347a
--- /dev/null
+++ b/kas/distro/ubuntu-noble.yaml
@@ -0,0 +1,9 @@ 
+# This software is a part of ISAR.
+# Copyright (c) Siemens AG, 2024
+#
+# SPDX-License-Identifier: MIT
+
+header:
+  version: 14
+
+distro: ubuntu-noble
diff --git a/kas/machine/Kconfig b/kas/machine/Kconfig
index c3b568df..0ad39ea4 100644
--- a/kas/machine/Kconfig
+++ b/kas/machine/Kconfig
@@ -56,7 +56,7 @@  config MACHINE_QEMU_AMD64_SB
 
 config MACHINE_QEMU_AMD64
 	bool "qemuamd64"
-	depends on DEBIAN_BUSTER || DEBIAN_BULLSEYE || DEBIAN_BOOKWORM || DEBIAN_TRIXIE || UBUNTU_FOCAL || UBUNTU_JAMMY
+	depends on DEBIAN_BUSTER || DEBIAN_BULLSEYE || DEBIAN_BOOKWORM || DEBIAN_TRIXIE || UBUNTU_FOCAL || UBUNTU_JAMMY || UBUNTU_NOBLE
 
 config MACHINE_QEMU_ARM
 	bool "qemuarm"
@@ -64,7 +64,7 @@  config MACHINE_QEMU_ARM
 
 config MACHINE_QEMU_ARM64
 	bool "qemuarm64"
-	depends on DEBIAN_BUSTER || DEBIAN_BULLSEYE || DEBIAN_BOOKWORM || DEBIAN_TRIXIE || UBUNTU_FOCAL || UBUNTU_JAMMY
+	depends on DEBIAN_BUSTER || DEBIAN_BULLSEYE || DEBIAN_BOOKWORM || DEBIAN_TRIXIE || UBUNTU_FOCAL || UBUNTU_JAMMY || UBUNTU_NOBLE
 
 config MACHINE_QEMU_I386
 	bool "qemui386"