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
This commit is contained in:
@@ -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"/>
|
||||
|
||||
Reference in New Issue
Block a user