initramfs-tools 0.140ubuntu12 source package in Ubuntu


initramfs-tools (0.140ubuntu12) jammy; urgency=medium

  * Force copy pthread and libgcc_s libraries via a stub binary.

    To avoid circular shared library dependencies between compiler and
    libc, libpthreads chooses to dlopen libgcc_s, instead of linking
    against it. However, we have no way to parse/know what it
    needs. And even when we hardcode to include libgcc_s1, we don't
    have a way to know which libgcc_s1 is needed on a given system and
    from which path to include it. But there is a hook-function to
    copy a binary and all of its shared library dependencies. Thus
    create a stub empty executable, with shared linking against
    pthreads and gcc_s1 and always include it in the initrd. This way
    at initrd creation time, ldd is used to correctly resolve these
    shared library dependencies and correctly copy them into the
    initrd. This removes hardcoding paths as to where these libraries
    must be copied from on the host. LP: #1958594 LP: #1880853

  * For net boot include most of net/usb modules, except niche modems. LP:

  * Cherry-pick updated merge request !26 to support xz compressed
    firmware. Uncompressed firmware is preffered, with a fallback to use
    compressed firmware files. LP: #1942260

  * Cherry-pick updated merge request !51 to decompress compressed kernel
    modules for boot speed performance. LP: #1932329

 -- Dimitri John Ledkov <email address hidden>  Tue, 08 Feb 2022 20:43:02 +0000

Upload details

Uploaded by:
Dimitri John Ledkov
Uploaded to:
Original maintainer:
Ubuntu Developers
any all
Medium Urgency

See full publishing history Publishing

Series Pocket Published Component Section


File Size SHA-256 Checksum
initramfs-tools_0.140ubuntu12.tar.xz 131.4 KiB ed4543255e2a34db1c52fbb74fe73ce50cbdca13b2a0cd01808f0acc565c5140
initramfs-tools_0.140ubuntu12.dsc 2.3 KiB d80d255754f341afd20668e1648cf2b1da4ecf1a397eddac2fe8d822309e515a

Available diffs

View changes file

Binary packages built by this source

initramfs-tools: generic modular initramfs generator (automation)

 This package builds a bootable initramfs for Linux kernel packages. The
 initramfs is loaded along with the kernel and is responsible for
 mounting the root filesystem and starting the main init system.

initramfs-tools-bin: binaries used by initramfs-tools

 This package contains binaries used inside the initramfs images generated
 by initramfs-tools.

initramfs-tools-bin-dbgsym: debug symbols for initramfs-tools-bin
initramfs-tools-core: generic modular initramfs generator (core tools)

 This package contains the mkinitramfs program that can be used to
 create a bootable initramfs for a Linux kernel. The initramfs should
 be loaded along with the kernel and is then responsible for mounting
 the root filesystem and starting the main init system.