modified the hook-functions script (at line 252 ff) a bit to gather some
more details and yes:

$ grep -A 10 "copy_libgcc()" /usr/share/initramfs-tools/hook-functions
copy_libgcc() {
        local libdir library

        libdir="$1"
        echo "1" "$1"
        for library in "${libdir}"/libgcc_s.so.[1-9]; do
        echo "2" "${libdir}"
                copy_exec "${library}" || return
                echo "3" "${library}"
        done
}
$ sudo update-initramfs -k all -u
update-initramfs: Generating /boot/initrd.img-6.11.0-8-generic
1 /lib/s390x-linux-gnu
2 /lib/s390x-linux-gnu
3 /lib/s390x-linux-gnu/libgcc_s.so.1
mkinitramfs: copy_file: binary '/usr/lib/udev/dmsetup_env' not found
1 
2 
mkinitramfs: copy_file: binary '/libgcc_s.so.[1-9]' not found
Using config file '/etc/zipl.conf'
Run /lib/s390-tools/zipl_helper.device-mapper 252:1
Building bootmap in '/boot'
Adding IPL section 'ubuntu' (default)
Run /lib/s390-tools/zipl_helper.device-mapper 252:1
Run /lib/s390-tools/zipl_helper.device-mapper 252:1
Preparing boot device for LD-IPL: dm-0.
Done.
$ ls -l /lib/s390x-linux-gnu/libgcc_s.so.1
-rw-r--r-- 1 root root 80176 Sep  8 15:50 /lib/s390x-linux-gnu/libgcc_s.so.1
$

** Summary changed:

- mkinitramfs fails with copy_file binary ... not found
+ mkinitramfs fails with copy_file binary '/libgcc_s.so.[1-9]' not found

** Tags added: rls-oo-incoming

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2085157

Title:
  mkinitramfs fails with copy_file binary '/libgcc_s.so.[1-9]' not found

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


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to