From 7316ac278f4dc6a1faafb9e6a5a99021cbe1f253 Mon Sep 17 00:00:00 2001 From: Debarshi Ray Date: Tue, 2 Apr 2024 14:59:37 +0200 Subject: teams/cloud/container: Remove dracut from Toolbx The dracut package contains tools to create bootable initramfses for the Linux kernel. Historically, neither the Container/Dockerfile nor the Kickstart equivalents of the fedora-toolbox OCI images contained dracut. The KIWI description of the image was including dracut because it's listed as a Requires(pre) of the grub2-tools package [1]. Unless someone comes forward and says that they are using Toolbx to hack on the boot stack, it's better to retain the status quo for the sake of a smaller image. Since an RPM's %pre scriptlet is run before a package is installed [2], it should be safe to remove dracut after the grub2-tools package has been installed. [1] https://src.fedoraproject.org/rpms/grub2 [2] https://docs.fedoraproject.org/en-US/packaging-guidelines/Scriptlets/ https://pagure.io/fedora-kiwi-descriptions/pull-request/40 --- teams/cloud/container.xml | 1 + 1 file changed, 1 insertion(+) (limited to 'teams/cloud/container.xml') diff --git a/teams/cloud/container.xml b/teams/cloud/container.xml index 38ec1c7..028b79b 100644 --- a/teams/cloud/container.xml +++ b/teams/cloud/container.xml @@ -237,6 +237,7 @@ + -- cgit v1.3.1+13