The error: "mkinitramfs: copy_file: binary '/libgcc_s.so.[1-9]' not found" can be solved by:
43c43 < copy_libgcc --- > copy_libgcc $DESTDIR/usr/lib/$(uname -m)-linux-gnu/ Just a bit unsure if there is a better way to specify the arch specific path. Using dpkg-architecture would req. to have dpkg-dev installed, means and add. dependency, hence a bad option. Command 'arch' in coreutils mentions in it's man page that it is equivalent to 'uname -m' and it's doc says that "arch is not installed by default, so portable scripts should not rely on its existence". And since 'uname' is also used in add_loaded_modules() at /usr/share/initramfs-tools/hook-functions, I think using 'uname -m' here is probably not a bad choice. -- 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
