From 909a9e8fd4f81731975f4a82304947f82a2d5378 Mon Sep 17 00:00:00 2001 From: ruffsl Date: Mon, 15 Jul 2024 17:40:34 -0500 Subject: [PATCH] Add support for Ubuntu Noble Change-type: patch Signed-off-by: ruffsl --- .../ubuntu@noble+coral-dev/dependencies.tpl | 10 ++++++++++ .../ubuntu@noble+raspberry-pi2/dependencies.tpl | 11 +++++++++++ .../dependencies.tpl | 11 +++++++++++ .../ubuntu@noble+raspberrypi3-64/dependencies.tpl | 11 +++++++++++ .../ubuntu@noble+raspberrypi3/dependencies.tpl | 11 +++++++++++ .../ubuntu@noble+raspberrypi4-64/dependencies.tpl | 11 +++++++++++ .../dependencies.tpl | 11 +++++++++++ .../ubuntu@noble+revpi-core-3/dependencies.tpl | 11 +++++++++++ contracts/sw.os/ubuntu/contract.json | 6 ++++-- contracts/sw.stack/dotnet/contract.json | 6 ++++++ contracts/sw.stack/python/contract.json | 15 ++++++++++----- 11 files changed, 107 insertions(+), 7 deletions(-) create mode 100644 contracts/sw.os+hw.device-type/ubuntu@noble+coral-dev/dependencies.tpl create mode 100644 contracts/sw.os+hw.device-type/ubuntu@noble+raspberry-pi2/dependencies.tpl create mode 100644 contracts/sw.os+hw.device-type/ubuntu@noble+raspberrypi0-2w-64/dependencies.tpl create mode 100644 contracts/sw.os+hw.device-type/ubuntu@noble+raspberrypi3-64/dependencies.tpl create mode 100644 contracts/sw.os+hw.device-type/ubuntu@noble+raspberrypi3/dependencies.tpl create mode 100644 contracts/sw.os+hw.device-type/ubuntu@noble+raspberrypi4-64/dependencies.tpl create mode 100644 contracts/sw.os+hw.device-type/ubuntu@noble+raspberrypi400-64/dependencies.tpl create mode 100644 contracts/sw.os+hw.device-type/ubuntu@noble+revpi-core-3/dependencies.tpl diff --git a/contracts/sw.os+hw.device-type/ubuntu@noble+coral-dev/dependencies.tpl b/contracts/sw.os+hw.device-type/ubuntu@noble+coral-dev/dependencies.tpl new file mode 100644 index 00000000..dcc40557 --- /dev/null +++ b/contracts/sw.os+hw.device-type/ubuntu@noble+coral-dev/dependencies.tpl @@ -0,0 +1,10 @@ +RUN apt-get update && apt-get install -y --no-install-recommends \ + less \ + kmod \ + nano \ + net-tools \ + ifupdown \ + iputils-ping \ + i2c-tools \ + usbutils \ + && rm -rf /var/lib/apt/lists/* diff --git a/contracts/sw.os+hw.device-type/ubuntu@noble+raspberry-pi2/dependencies.tpl b/contracts/sw.os+hw.device-type/ubuntu@noble+raspberry-pi2/dependencies.tpl new file mode 100644 index 00000000..8327892b --- /dev/null +++ b/contracts/sw.os+hw.device-type/ubuntu@noble+raspberry-pi2/dependencies.tpl @@ -0,0 +1,11 @@ +RUN apt-get update && apt-get install -y --no-install-recommends \ + less \ + libraspberrypi-bin \ + kmod \ + nano \ + net-tools \ + ifupdown \ + iputils-ping \ + i2c-tools \ + usbutils \ + && rm -rf /var/lib/apt/lists/* diff --git a/contracts/sw.os+hw.device-type/ubuntu@noble+raspberrypi0-2w-64/dependencies.tpl b/contracts/sw.os+hw.device-type/ubuntu@noble+raspberrypi0-2w-64/dependencies.tpl new file mode 100644 index 00000000..8327892b --- /dev/null +++ b/contracts/sw.os+hw.device-type/ubuntu@noble+raspberrypi0-2w-64/dependencies.tpl @@ -0,0 +1,11 @@ +RUN apt-get update && apt-get install -y --no-install-recommends \ + less \ + libraspberrypi-bin \ + kmod \ + nano \ + net-tools \ + ifupdown \ + iputils-ping \ + i2c-tools \ + usbutils \ + && rm -rf /var/lib/apt/lists/* diff --git a/contracts/sw.os+hw.device-type/ubuntu@noble+raspberrypi3-64/dependencies.tpl b/contracts/sw.os+hw.device-type/ubuntu@noble+raspberrypi3-64/dependencies.tpl new file mode 100644 index 00000000..8327892b --- /dev/null +++ b/contracts/sw.os+hw.device-type/ubuntu@noble+raspberrypi3-64/dependencies.tpl @@ -0,0 +1,11 @@ +RUN apt-get update && apt-get install -y --no-install-recommends \ + less \ + libraspberrypi-bin \ + kmod \ + nano \ + net-tools \ + ifupdown \ + iputils-ping \ + i2c-tools \ + usbutils \ + && rm -rf /var/lib/apt/lists/* diff --git a/contracts/sw.os+hw.device-type/ubuntu@noble+raspberrypi3/dependencies.tpl b/contracts/sw.os+hw.device-type/ubuntu@noble+raspberrypi3/dependencies.tpl new file mode 100644 index 00000000..8327892b --- /dev/null +++ b/contracts/sw.os+hw.device-type/ubuntu@noble+raspberrypi3/dependencies.tpl @@ -0,0 +1,11 @@ +RUN apt-get update && apt-get install -y --no-install-recommends \ + less \ + libraspberrypi-bin \ + kmod \ + nano \ + net-tools \ + ifupdown \ + iputils-ping \ + i2c-tools \ + usbutils \ + && rm -rf /var/lib/apt/lists/* diff --git a/contracts/sw.os+hw.device-type/ubuntu@noble+raspberrypi4-64/dependencies.tpl b/contracts/sw.os+hw.device-type/ubuntu@noble+raspberrypi4-64/dependencies.tpl new file mode 100644 index 00000000..8327892b --- /dev/null +++ b/contracts/sw.os+hw.device-type/ubuntu@noble+raspberrypi4-64/dependencies.tpl @@ -0,0 +1,11 @@ +RUN apt-get update && apt-get install -y --no-install-recommends \ + less \ + libraspberrypi-bin \ + kmod \ + nano \ + net-tools \ + ifupdown \ + iputils-ping \ + i2c-tools \ + usbutils \ + && rm -rf /var/lib/apt/lists/* diff --git a/contracts/sw.os+hw.device-type/ubuntu@noble+raspberrypi400-64/dependencies.tpl b/contracts/sw.os+hw.device-type/ubuntu@noble+raspberrypi400-64/dependencies.tpl new file mode 100644 index 00000000..8327892b --- /dev/null +++ b/contracts/sw.os+hw.device-type/ubuntu@noble+raspberrypi400-64/dependencies.tpl @@ -0,0 +1,11 @@ +RUN apt-get update && apt-get install -y --no-install-recommends \ + less \ + libraspberrypi-bin \ + kmod \ + nano \ + net-tools \ + ifupdown \ + iputils-ping \ + i2c-tools \ + usbutils \ + && rm -rf /var/lib/apt/lists/* diff --git a/contracts/sw.os+hw.device-type/ubuntu@noble+revpi-core-3/dependencies.tpl b/contracts/sw.os+hw.device-type/ubuntu@noble+revpi-core-3/dependencies.tpl new file mode 100644 index 00000000..8327892b --- /dev/null +++ b/contracts/sw.os+hw.device-type/ubuntu@noble+revpi-core-3/dependencies.tpl @@ -0,0 +1,11 @@ +RUN apt-get update && apt-get install -y --no-install-recommends \ + less \ + libraspberrypi-bin \ + kmod \ + nano \ + net-tools \ + ifupdown \ + iputils-ping \ + i2c-tools \ + usbutils \ + && rm -rf /var/lib/apt/lists/* diff --git a/contracts/sw.os/ubuntu/contract.json b/contracts/sw.os/ubuntu/contract.json index 2158f2d8..42831018 100644 --- a/contracts/sw.os/ubuntu/contract.json +++ b/contracts/sw.os/ubuntu/contract.json @@ -4,8 +4,8 @@ "version": "1", "data": { "libc": "glibc", - "latest": "jammy", - "versionList": "`jammy (latest)`, `focal`, `xenial`, `bionic`" + "latest": "noble", + "versionList": "`noble (latest)`, `jammy`, `focal`, `xenial`, `bionic`" }, "name": "Ubuntu {{this.version}}", "requires": [ @@ -34,6 +34,7 @@ } ], "variants": [ + { "version": "noble" }, { "version": "jammy" }, { "version": "focal" }, { "version": "xenial" }, @@ -54,6 +55,7 @@ { "type": "arch.sw", "slug": "amd64" } ], "variants": [ + { "version": "noble" }, { "version": "jammy" }, { "version": "focal" }, { "version": "xenial" }, diff --git a/contracts/sw.stack/dotnet/contract.json b/contracts/sw.stack/dotnet/contract.json index 51fbe624..8e241ac4 100644 --- a/contracts/sw.stack/dotnet/contract.json +++ b/contracts/sw.stack/dotnet/contract.json @@ -62,6 +62,7 @@ { "type": "sw.os", "slug": "ubuntu", "version": "focal" }, { "type": "sw.os", "slug": "ubuntu" , "version": "lunar" }, { "type": "sw.os", "slug": "ubuntu" , "version": "jammy" }, + { "type": "sw.os", "slug": "ubuntu" , "version": "noble" }, { "type": "sw.os", "slug": "debian", "version": "bullseye" }, { "type": "sw.os", "slug": "debian", "version": "bookworm" }, { "type": "sw.os", "slug": "debian", "version": "buster" } @@ -121,6 +122,7 @@ { "type": "sw.os", "slug": "ubuntu", "version": "focal" }, { "type": "sw.os", "slug": "ubuntu" , "version": "lunar" }, { "type": "sw.os", "slug": "ubuntu" , "version": "jammy" }, + { "type": "sw.os", "slug": "ubuntu" , "version": "noble" }, { "type": "sw.os", "slug": "debian", "version": "bullseye" }, { "type": "sw.os", "slug": "debian", "version": "bookworm" }, { "type": "sw.os", "slug": "debian", "version": "buster" } @@ -180,6 +182,7 @@ { "type": "sw.os", "slug": "ubuntu", "version": "focal" }, { "type": "sw.os", "slug": "ubuntu" , "version": "lunar" }, { "type": "sw.os", "slug": "ubuntu" , "version": "jammy" }, + { "type": "sw.os", "slug": "ubuntu" , "version": "noble" }, { "type": "sw.os", "slug": "debian", "version": "bullseye" }, { "type": "sw.os", "slug": "debian", "version": "bookworm" }, { "type": "sw.os", "slug": "debian", "version": "buster" } @@ -239,6 +242,7 @@ { "type": "sw.os", "slug": "ubuntu", "version": "focal" }, { "type": "sw.os", "slug": "ubuntu" , "version": "lunar" }, { "type": "sw.os", "slug": "ubuntu" , "version": "jammy" }, + { "type": "sw.os", "slug": "ubuntu" , "version": "noble" }, { "type": "sw.os", "slug": "debian", "version": "bullseye" }, { "type": "sw.os", "slug": "debian", "version": "bookworm" }, { "type": "sw.os", "slug": "debian", "version": "buster" } @@ -306,6 +310,7 @@ { "type": "sw.os", "slug": "ubuntu", "version": "focal" }, { "type": "sw.os", "slug": "ubuntu" , "version": "lunar" }, { "type": "sw.os", "slug": "ubuntu" , "version": "jammy" }, + { "type": "sw.os", "slug": "ubuntu" , "version": "noble" }, { "type": "sw.os", "slug": "debian", "version": "bullseye" }, { "type": "sw.os", "slug": "debian", "version": "bookworm" }, { "type": "sw.os", "slug": "debian", "version": "buster" } @@ -381,6 +386,7 @@ { "type": "sw.os", "slug": "ubuntu", "version": "focal" }, { "type": "sw.os", "slug": "ubuntu" , "version": "lunar" }, { "type": "sw.os", "slug": "ubuntu" , "version": "jammy" }, + { "type": "sw.os", "slug": "ubuntu" , "version": "noble" }, { "type": "sw.os", "slug": "debian", "version": "bullseye" }, { "type": "sw.os", "slug": "debian", "version": "bookworm" }, { "type": "sw.os", "slug": "debian", "version": "buster" } diff --git a/contracts/sw.stack/python/contract.json b/contracts/sw.stack/python/contract.json index f7ab7571..12677dfa 100644 --- a/contracts/sw.stack/python/contract.json +++ b/contracts/sw.stack/python/contract.json @@ -293,7 +293,8 @@ { "type": "sw.os", "slug": "debian" , "version": "sid" }, { "type": "sw.os", "slug": "debian", "version": "bookworm" }, { "type": "sw.os", "slug": "ubuntu" , "version": "lunar" }, - { "type": "sw.os", "slug": "ubuntu" , "version": "jammy" } + { "type": "sw.os", "slug": "ubuntu" , "version": "jammy" }, + { "type": "sw.os", "slug": "ubuntu" , "version": "noble" } ] } ], @@ -762,7 +763,8 @@ { "type": "sw.os", "slug": "debian" , "version": "sid" }, { "type": "sw.os", "slug": "debian", "version": "bookworm" }, { "type": "sw.os", "slug": "ubuntu" , "version": "lunar" }, - { "type": "sw.os", "slug": "ubuntu" , "version": "jammy" } + { "type": "sw.os", "slug": "ubuntu" , "version": "jammy" }, + { "type": "sw.os", "slug": "ubuntu" , "version": "noble" } ] } ], @@ -1219,7 +1221,8 @@ { "type": "sw.os", "slug": "debian" , "version": "sid" }, { "type": "sw.os", "slug": "debian", "version": "bookworm" }, { "type": "sw.os", "slug": "ubuntu" , "version": "lunar" }, - { "type": "sw.os", "slug": "ubuntu" , "version": "jammy" } + { "type": "sw.os", "slug": "ubuntu" , "version": "jammy" }, + { "type": "sw.os", "slug": "ubuntu" , "version": "noble" } ] } ], @@ -1676,7 +1679,8 @@ { "type": "sw.os", "slug": "debian" , "version": "sid" }, { "type": "sw.os", "slug": "debian", "version": "bookworm" }, { "type": "sw.os", "slug": "ubuntu" , "version": "lunar" }, - { "type": "sw.os", "slug": "ubuntu" , "version": "jammy" } + { "type": "sw.os", "slug": "ubuntu" , "version": "jammy" }, + { "type": "sw.os", "slug": "ubuntu" , "version": "noble" } ] } ], @@ -2133,7 +2137,8 @@ { "type": "sw.os", "slug": "debian" , "version": "sid" }, { "type": "sw.os", "slug": "debian", "version": "bookworm" }, { "type": "sw.os", "slug": "ubuntu" , "version": "lunar" }, - { "type": "sw.os", "slug": "ubuntu" , "version": "jammy" } + { "type": "sw.os", "slug": "ubuntu" , "version": "jammy" }, + { "type": "sw.os", "slug": "ubuntu" , "version": "noble" } ] } ],