mirror of
https://salsa.debian.org/kernel-team/initramfs-tools.git
synced 2026-01-26 15:39:08 +00:00
Ubuntu's dracut package ships an `update-initramfs` command with the same interface as initramfs-tools'. The difference is that it calls dracut instead of mkinitramfs. When installing dracut without purging initramfs-tools, `/etc/kernel/postinst.d/initramfs-tools` will still execute `update-initramfs` (in addition to dracut's kernel postinst hook). So query the newly add `--version` parameter to determine which package provided the `update-initramfs` script. Only run the kernel postinst hook when the provider matches.
Description
initramfs-tools
Languages
Shell
68.3%
Roff
22.3%
C
9.3%