This bug was fixed in the package livecd-rootfs - 25.04.12

---------------
livecd-rootfs (25.04.12) plucky; urgency=medium

  * Stop producing a rootfs tarball for the ubuntu-mini-iso builds.
  * Move configuration of casper in ubuntu-serve:live builds to a "chroot
    early" hook for the installer layer and remove the now unnecessary
    update-initramfs from the binary hook that breaks because mkinitramfs
    now requires that /sys is mounted. (LP: #2097280)
  * Similar changes for ubuntu-mini-iso build.

 -- Michael Hudson-Doyle <michael.hud...@ubuntu.com>  Wed, 05 Feb 2025
15:26:13 +1300

** Changed in: livecd-rootfs (Ubuntu)
       Status: In Progress => Fix Released

-- 
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/2097280

Title:
  /usr/sbin/mkinitramfs: 122: cannot open
  /sys/module/firmware_class/parameters/path: No such file

Status in initramfs-tools package in Ubuntu:
  Triaged
Status in livecd-rootfs package in Ubuntu:
  Fix Released

Bug description:
  In the version of initramfs-tools now in plucky, mkinitramfs fails if
  /sys is not mounted. It is unclear if this is a real problem -- it
  broke some of our livefs builds but it turns out the update-initramfs
  calls were superfluous and could be avoided.

  Original description:

  The ISO build fails with initramfs-tools 0.145ubuntu1:

  ```
  update-initramfs: Generating /boot/initrd.img-6.12.0-12-generic
  /usr/sbin/mkinitramfs: 122: cannot open 
/sys/module/firmware_class/parameters/path: No such file
  /usr/sbin/mkinitramfs: 122: cannot open 
/sys/module/firmware_class/parameters/path: No such file
  /usr/sbin/mkinitramfs: 122: cannot open 
/sys/module/firmware_class/parameters/path: No such file
  /usr/sbin/mkinitramfs: 122: cannot open 
/sys/module/firmware_class/parameters/path: No such file
  /usr/sbin/mkinitramfs: 122: cannot open 
/sys/module/firmware_class/parameters/path: No such file
  /usr/share/initramfs-tools/hooks/casper: 122: cannot open 
/sys/module/firmware_class/parameters/path: No such file
  E: /usr/share/initramfs-tools/hooks/casper failed with return 2.
  update-initramfs: failed for /boot/initrd.img-6.12.0-12-generic with 2.
  ```

  Full log:
  https://launchpadlibrarian.net/774287312/buildlog_ubuntu_plucky_amd64_ubuntu-
  server-live_BUILDING.txt.gz

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2097280/+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