7316ac2 teams/cloud/container: Remove dracut from Toolbx

1 file Authored by Debarshi Ray a year ago, Committed by ngompa a year ago,
    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
    
        
file modified
+1 -0