diff options
| author | 2024-04-02 14:59:37 +0200 | |
|---|---|---|
| committer | 2024-04-02 13:56:37 +0000 | |
| commit | 7316ac278f4dc6a1faafb9e6a5a99021cbe1f253 (patch) | |
| tree | 34b5a9c6d92f4e0dc65e3a0aee5acbf7be716bc6 /teams/cloud | |
| parent | 5c131992d0fd100aab91baae8520f22d11a6c149 (diff) | |
| download | kiwi-descriptions-7316ac278f4dc6a1faafb9e6a5a99021cbe1f253.tar.gz kiwi-descriptions-7316ac278f4dc6a1faafb9e6a5a99021cbe1f253.zip | |
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
Diffstat (limited to 'teams/cloud')
| -rw-r--r-- | teams/cloud/container.xml | 1 |
1 files changed, 1 insertions, 0 deletions
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 @@ <package name="zip"/> </packages> <packages type="uninstall" profiles="Container-Toolbox"> + <package name="dracut"/> <package name="pinentry"/> <package name="systemd-resolved"/> <package name="xkeyboard-config"/> |