Public bug reported:

The initramfs-tools's version of update-initramfs starts with


if [ -n "$DPKG_MAINTSCRIPT_PACKAGE" ] && [ $# = 1 ] && [ "$1" = -u ]; then
        if dpkg-trigger --no-await update-initramfs; then
                echo "update-initramfs: deferring update (trigger activated)"
                exit 0
        fi
fi


such that postinst scripts running update-initramfs -u get converted to 
triggering the trigger.

The dracut version lacks that, causing duplicate initramfs generations
in a single apt run.

Please add that mechanism

** Affects: dracut (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2114683

Title:
  dracut's update-initramfs misses deferred update by trigger

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dracut/+bug/2114683/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to