← Back to team overview

debcrafters-packages team mailing list archive

[Bug 2114683] Re: dracut's update-initramfs misses deferred update by trigger

 

** Changed in: dracut (Ubuntu)
       Status: New => Triaged

** Changed in: dracut (Ubuntu)
   Importance: Undecided => Medium

** Tags added: dcr-incoming

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

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

Status in dracut package in Ubuntu:
  Triaged

Bug description:
  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

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



References