This bug was fixed in the package initramfs-tools - 0.137ubuntu12.1

---------------
initramfs-tools (0.137ubuntu12.1) groovy; urgency=medium

  * scripts/local-premount/resume:
    - Use readlink -f to correctly handle non-symlink $resume
      (LP: #1876570)
  * hook-functions:
    - when MODULES=list there will be no 'kernel' dir, so don't try
      to find anything there, as it will log an error
      (LP: #1927779)
  * hooks/fsck:
    - don't check PASSNO, always include fsck
      (LP: #1917780)

 -- Dan Streetman <ddstr...@canonical.com>  Thu, 18 Mar 2021 14:48:17
-0400

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to initramfs-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1927779

Title:
  MODULES=list results in error

Status in initramfs-tools package in Ubuntu:
  Fix Released
Status in initramfs-tools source package in Bionic:
  Invalid
Status in initramfs-tools source package in Focal:
  Fix Released
Status in initramfs-tools source package in Groovy:
  Fix Released

Bug description:
  [impact]

  setting MODULES=list in /etc/initramfs-tools/initramfs.conf results in
  an error/warning when running update-initramfs

  [test case]

  edit initramfs.conf to change MODULES=list and run update-initramfs:

  $ grep MODULES /etc/initramfs-tools/initramfs.conf
  # MODULES: [ most | netboot | dep | list ]
  MODULES=list
  $ sudo update-initramfs -u
  update-initramfs: Generating /boot/initrd.img-5.8.0-48-generic
  find: ‘/var/tmp/mkinitramfs_Yr04uh/lib/modules/5.8.0-48-generic/kernel’: No 
such file or directory

  [regression potential]

  any regression would likely result in an initramfs that did not
  include the correct/required modules, and/or failure to build a new
  initramfs

  [scope]

  this is needed for f and g.

  this is not fixed in debian, but is fixed in h and i.

  the code in b is different and doesn't include this bug, so this
  doesn't apply to b.

  for debian, MR open:
  https://salsa.debian.org/kernel-team/initramfs-tools/-/merge_requests/48

  [other info]

  this caused some of the 'amd64-*' autopkgtests to fail in h until it
  was fixed. those autopkgtests don't exist in g and earlier so this was
  not noticed until now.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1927779/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to