#1088152 plymouth: Change manual update-initramfs calls to dpkg triggers

Package:
plymouth
Source:
plymouth
Description:
boot animation, logger and I/O multiplexer
Submitter:
Simon Quigley
Date:
2025-02-21 10:15:01 UTC
Severity:
normal
Tags:
#1088152#5
Date:
2024-11-24 07:57:34 UTC
From:
To:
Package: plymouth
Severity: medium

Hello,

In several postinst and postrm scripts, update-initramfs is being called
manually instead of being called via dpkg-trigger. This results in
systems with Dracut as the default to not receive an initramfs update
when Plymouth is updated.

I have attached a diff (which is now also in the Ubuntu delta) which
fixes this. I have tested it with both initramfs-tools and dracut, and
both now generate an initramfs properly on Plymouth updates.

Thanks,