← Back to team overview

debcrafters-packages team mailing list archive

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

 

This bug was fixed in the package dracut - 107-1ubuntu3

---------------
dracut (107-1ubuntu3) questing; urgency=medium

  * Skip missing shellcheck on i386

dracut (107-1ubuntu2) questing; urgency=medium

  * autopkgtest: replace qemu-kvm by qemu-system-native
  * update-initramfs: support deferring update by trigger (LP: #2114683)
  * Revert "Avoid updating the initramfs twice for some cases" (LP: #2115490)
  * dracut-network: default to systemd-networkd as network manager
  * source.apport: import packaging from apport
  * Fix shellcheck in Debian packaging scripts
  * Run syncheck, TEST-80-GETARGS, and TEST-81-SKIPCPIO during build

 -- Benjamin Drung <bdrung@xxxxxxxxxx>  Mon, 30 Jun 2025 11:58:56 +0200

** Changed in: dracut (Ubuntu)
       Status: Fix Committed => Fix Released

-- 
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:
  Fix Released

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