https://code.launchpad.net/~mwhudson/livecd-rootfs/+git/livecd- rootfs/+merge/480649 should fix the server and mini-iso builds (is anything else broken? not sure!).
The changes to these builds are actual an improvement to the build process even without this change requiring them, but I guess the fact that mkinitramfs now requires /sys be mounted *may* cause other build systems to fail. So I'll leave this open as a Low priority bug for initramfs-tools for now. ** Changed in: livecd-rootfs (Ubuntu) Status: New => In Progress ** Changed in: livecd-rootfs (Ubuntu) Assignee: (unassigned) => Michael Hudson-Doyle (mwhudson) ** Changed in: initramfs-tools (Ubuntu) Importance: Undecided => Low ** Changed in: initramfs-tools (Ubuntu) Status: New => Triaged ** Description changed: + 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 -- 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: In Progress 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