From 246e4a3c3c7fda583d7b67657c4d67dca24bf703 Mon Sep 17 00:00:00 2001 From: Jeffrey Clark Date: Wed, 29 Nov 2023 06:46:10 -0600 Subject: [PATCH] (maint) Add Debian 12 bookworm platform definitions --- CHANGELOG.md | 1 + lib/vanagon/platform/defaults/debian-12-aarch64.rb | 11 +++++++++++ lib/vanagon/platform/defaults/debian-12-amd64.rb | 11 +++++++++++ 3 files changed, 23 insertions(+) create mode 100644 lib/vanagon/platform/defaults/debian-12-aarch64.rb create mode 100644 lib/vanagon/platform/defaults/debian-12-amd64.rb diff --git a/CHANGELOG.md b/CHANGELOG.md index 8be9530d..4dbe53e5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,7 @@ This changelog adheres to [Keep a CHANGELOG](https://keepachangelog.com). ## [Unreleased] ### Added - (VANAGON-236) Add macOS 14 (Intel) platform definition to vanagon +- (maint) Add Debian 12 bookworm platform definitions ## [0.43.0] - 2023-11-20 ### Added diff --git a/lib/vanagon/platform/defaults/debian-12-aarch64.rb b/lib/vanagon/platform/defaults/debian-12-aarch64.rb new file mode 100644 index 00000000..1a08e040 --- /dev/null +++ b/lib/vanagon/platform/defaults/debian-12-aarch64.rb @@ -0,0 +1,11 @@ +platform "debian-12-aarch64" do |plat| + plat.servicedir "/lib/systemd/system" + plat.defaultdir "/etc/default" + plat.servicetype "systemd" + plat.codename "bookworm" + + packages = %w(build-essential devscripts make quilt pkg-config debhelper rsync fakeroot cmake) + plat.provision_with "export DEBIAN_FRONTEND=noninteractive; apt-get update -qq; apt-get install -qy --no-install-recommends #{packages.join(' ')}" + plat.install_build_dependencies_with "DEBIAN_FRONTEND=noninteractive; apt-get install -qy --no-install-recommends " + plat.vmpooler_template "debian-12-arm64" +end diff --git a/lib/vanagon/platform/defaults/debian-12-amd64.rb b/lib/vanagon/platform/defaults/debian-12-amd64.rb new file mode 100644 index 00000000..2db40568 --- /dev/null +++ b/lib/vanagon/platform/defaults/debian-12-amd64.rb @@ -0,0 +1,11 @@ +platform "debian-12-amd64" do |plat| + plat.servicedir "/lib/systemd/system" + plat.defaultdir "/etc/default" + plat.servicetype "systemd" + plat.codename "bookworm" + + packages = %w(build-essential devscripts make quilt pkg-config debhelper rsync fakeroot cmake) + plat.provision_with "export DEBIAN_FRONTEND=noninteractive; apt-get update -qq; apt-get install -qy --no-install-recommends #{packages.join(' ')}" + plat.install_build_dependencies_with "DEBIAN_FRONTEND=noninteractive; apt-get install -qy --no-install-recommends " + plat.vmpooler_template "debian-12-x86_64" +end