From 01fcc74831b3aa46644f7942867a5c8a910a2242 Mon Sep 17 00:00:00 2001 From: Binu Jose Philip Date: Mon, 13 Jul 2026 15:02:40 +0000 Subject: [PATCH] feat(images): add minimal-os image definition Add a minimal OS VM image with: - Stripped-down package selection based on AZL3 minimal-packages - Two build profiles (minimal-os / minimal-os-dev) for repo selection - UEFI boot with GRUB2 BLS, ext4 rootfs, 5G VHD-fixed output - aarch64 and x86_64 architecture support - Registration in images.toml with static-image-checks test suite Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- base/images/images.toml | 28 +++++ base/images/minimal-os/minimal-os.kiwi | 144 +++++++++++++++++++++++++ 2 files changed, 172 insertions(+) create mode 100644 base/images/minimal-os/minimal-os.kiwi diff --git a/base/images/images.toml b/base/images/images.toml index 80fa42129f0..1406942d952 100644 --- a/base/images/images.toml +++ b/base/images/images.toml @@ -65,6 +65,34 @@ container = false systemd = true runtime-package-management = true +# ---- minimal-os -------------------------------------------------------- + +[images.minimal-os] +description = "Minimal OS Image" +definition = { type = "kiwi", path = "minimal-os/minimal-os.kiwi", profile = "minimal-os" } +tests.test-suites = [ + { name = "static-image-checks" }, +] + +[images.minimal-os.capabilities] +machine-bootable = true +container = false +systemd = true +runtime-package-management = true + +[images.minimal-os-dev] +description = "Minimal OS Image (dev)" +definition = { type = "kiwi", path = "minimal-os/minimal-os.kiwi", profile = "minimal-os-dev" } +tests.test-suites = [ + { name = "static-image-checks" }, +] + +[images.minimal-os-dev.capabilities] +machine-bootable = true +container = false +systemd = true +runtime-package-management = true + # ---- container-base (core profile) ------------------------------------- [images.container-base] description = "Container Base Image" diff --git a/base/images/minimal-os/minimal-os.kiwi b/base/images/minimal-os/minimal-os.kiwi new file mode 100644 index 00000000000..8865d6c35ce --- /dev/null +++ b/base/images/minimal-os/minimal-os.kiwi @@ -0,0 +1,144 @@ + + + + + Azure Linux + azurelinux@microsoft.com + Azure Linux Minimal OS Image + + + + + + + + 0.1 + dnf5 + en_US + us + UTC + 4.0 + + + 5 + + false + + + + + + 0.1 + dnf5 + en_US + us + UTC + 4.0 + + + 5 + + false + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +