From 53e07a7127f04ecac2393af13adba2d1c9dda252 Mon Sep 17 00:00:00 2001 From: Will Szumski Date: Thu, 30 May 2024 12:10:40 +0100 Subject: [PATCH] Remove vm element from container based image The vm element sets up disk partitioning and bootloader installation in dib built images. The container based elements are unique among distro elements in that they have a hard dependency on the vm element. Some dib users may not need a complete disk image with partition tables and bootloaders; we remove the vm element to give them that flexibility. Change-Id: I43bb19415eb0b9c62e44c131497c28ae260369e7 --- .../elements/almalinux-container/element-deps | 1 - diskimage_builder/elements/fedora-container/element-deps | 1 - diskimage_builder/elements/rocky-container/element-deps | 1 - ...ment-from-container-based-distros-607cc59df13921d7.yaml | 7 +++++++ 4 files changed, 7 insertions(+), 3 deletions(-) create mode 100644 releasenotes/notes/removes-vm-element-from-container-based-distros-607cc59df13921d7.yaml diff --git a/diskimage_builder/elements/almalinux-container/element-deps b/diskimage_builder/elements/almalinux-container/element-deps index d9ef0bf46..eb5574ce6 100644 --- a/diskimage_builder/elements/almalinux-container/element-deps +++ b/diskimage_builder/elements/almalinux-container/element-deps @@ -4,5 +4,4 @@ package-installs redhat-common rpm-distro source-repositories -vm yum diff --git a/diskimage_builder/elements/fedora-container/element-deps b/diskimage_builder/elements/fedora-container/element-deps index 60e6d1aa5..16d8eacd4 100644 --- a/diskimage_builder/elements/fedora-container/element-deps +++ b/diskimage_builder/elements/fedora-container/element-deps @@ -2,5 +2,4 @@ containerfile package-installs redhat-common rpm-distro -vm yum diff --git a/diskimage_builder/elements/rocky-container/element-deps b/diskimage_builder/elements/rocky-container/element-deps index d9ef0bf46..eb5574ce6 100644 --- a/diskimage_builder/elements/rocky-container/element-deps +++ b/diskimage_builder/elements/rocky-container/element-deps @@ -4,5 +4,4 @@ package-installs redhat-common rpm-distro source-repositories -vm yum diff --git a/releasenotes/notes/removes-vm-element-from-container-based-distros-607cc59df13921d7.yaml b/releasenotes/notes/removes-vm-element-from-container-based-distros-607cc59df13921d7.yaml new file mode 100644 index 000000000..518dc45bd --- /dev/null +++ b/releasenotes/notes/removes-vm-element-from-container-based-distros-607cc59df13921d7.yaml @@ -0,0 +1,7 @@ +--- +upgrade: + - | + The ``vm`` element is no longer included dependency of the + ``rocky-container``, ``almalinux-container`` and ``fedora-container`` + elements. You will need to update your build configuration to include this + element if you still wish to create partitioned disk based images.