• initramfs-tools 0.146 release

    From Ben Hutchings@21:1/5 to All on Sun Mar 2 21:10:01 2025
    This release fixes a number of bugs:
    - copy_file again treats a destination ending with a slash as being a
    directory to copy into (regression in 0.145).
    - copy_file excludes usr-merge symlinks from its detection of a source
    being symlinked (regression in 0.144).
    - Various drivers needed to boot systems with Qualcomm SoCs, and
    probably other embedded systems, are now included by default.
    - The resume device check properly checks that the device has a swap
    label.
    - When multiple network devices were configured, in some cases DNS configuration was duplicated in resolv.conf; but now it is not.

    It adds several features:
    - "tmpfs" in the ROOTFSTYPE is recognised and skipped.
    - Any kernel modules or firmware that are already compressed are placed
    in an uncompressed cpio archive before the main compressed cpio archive,
    rather than being recompressed.
    - Network drivers are recognised and added based on the kernel symbols
    they use, rather than only being included from specific directories.
    - copy_libgcc no longer requires a directory argument.

    Known breaking changes:
    - unmkinitramfs now creates directories with names "cpio1", "cpio2",
    etc. rather than "early" and "main".

    The shortlog is below.

    Ben.

    Alper Nebi Yasak (18):
    hook-functions: Add soc and extcon drivers
    hook-functions: Add rpmsg and hwspinlock drivers
    hook-functions: Add interconnect drivers
    hook-functions: Add mailbox drivers
    hook-functions: Add memory drivers
    hook-functions: Add nvmem drivers
    hook-functions: Add power modules
    hook-functions: Add spmi modules
    hook-functions: Add qrtr driver
    hook-functions: Add devfreq drivers
    hook-functions: Add dma drivers
    hook-functions: Add watchdog drivers
    hook-functions: Add usb/typec drivers
    hook-functions: Add tty/serial drivers
    hook-functions: Add input/serio drivers
    hook-functions: Add platform/chrome drivers
    hook-functions: Handle msm hidden depency on qrtr
    hook-functions: Add msm to fb modules list

    Ben Hutchings (25):
    Merge branch 'modules-from-dracut' into 'master'
    hook-functions: Expand documentation of copy_exec and copy_file
    hook-functions: Restore copy_file's handling of target ending in slash
    hook-functions: Exclude usr-merge symlinks in copy_file
    autopkgtest: Add tests for copy_file function
    Merge branch 'qcom' into 'master'
    Merge branch 'copy-file-to-dir-fix' into 'master'
    Merge branch 'keep-kernel-modules-compressed' into 'master'
    functions: Define list_filter_out function for filtering comma-sep lists
    init: Filter 'tmpfs' out of $ROOTFSTYPE
    Merge branch 'net-modules' into 'debian/latest'
    Merge branch 'small-fixes' into 'debian/latest'
    Merge branch 'msm-qrtr-hidden-dep' into 'debian/latest'
    Merge branch 'most-fb-msm' into 'debian/latest'
    Merge branch 'miniramfs' into 'debian/latest'
    Merge branch 'shellcheck' into 'debian/latest'
    Merge branch 'set-e' into 'debian/latest'
    Merge branch 'reset-vars-before-sourcing' into 'debian/latest'
    Merge branch 'local-net_file' into 'debian/latest'
    Merge branch 'log-commands-with-output' into 'debian/latest'
    Merge branch 'libgcc' into 'debian/latest'
    tests: Add e2fsprogs to dependencies
    Merge branch 'tests-install-e2fsprogs' into 'debian/latest'
    Merge branch 'shellcheck-tests' into 'debian/latest'
    Releasing version 0.146.

    Benjamin Drung (19):
    Put compressed kernel modules and firmware in an uncompressed cpio
    unmkinitramfs: use directory names 'cpio1', 'cpio2', etc.
    Declare breaking miniramfs 1.0.2 and older
    Drop obsolete shellcheck overrides
    Filter net kernel modules by symbol regexp from dracut
    Explicitly call "set -e" instead of specifying on shebang
    netinfo_to_resolv_conf: clear variables between sourcing
    netinfo_to_resolv_conf: add net_file to local variables
    hook-functions: make copy_libgcc to not take any parameters
    test: log commands that produce output on stdout
    Mark debian/tests/test-common as sh script
    tests: fix shellcheck warning "Declare and assign separately to ..."
    tests: Replace 'echo -n' by printf
    tests: fix shellcheck warning "variable appears unused"
    tests: fix shellcheck info "read without -r will mangle backslashes"
    test: make prepare_network_dumping_rootfs take no parameters
    test: silence incorrect shellcheck SC2119
    test: fix checking output / initrd content
    d/salsa-ci.yml: include tests in shellcheck

    Dmitry Baryshkov (1):
    hook-functions: add missing module dependencies for Qualcomm plaforms

    Jeffery To (1):
    Fix resume device type check

    --
    Ben Hutchings
    Teamwork is essential - it allows you to blame someone else.

    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCgAdFiEErCspvTSmr92z9o8157/I7JWGEQkFAmfEut0ACgkQ57/I7JWG EQnBKA/+Or4vQqDi9U/ah3TIZS6c3ZpkceQJNVrC+NnWDbKy8JcgTK0yZaJwcr9y wskJMoZQ6Cfl20LAmHNl+soEQKAJSiSXzVg8h9epTw0jUjXvyPgF7W8Ng7Fjv5zo p+/NDU6Scz4KHsaC6QzJZlm0z4Z1u0c4tMi+1d1Ca+sv3bcUVCEIPyvVyetgQT4z Ihb/DVlLhk0gGEdNSF/U9ZZl53OVtqGGixdNE4vvwvXZ2/Tv+/z7Eu4/E8B0MT2A TnLqp4hL225olUP4PhaEPjiEU2yl7Lre/h1fEL1r8tNTYgqN7bmpuHOPu0Yc3Hyv L8+jMqC9yz8nB/nUF455Ryd+rQYdLS5ffmU8OQk613EVnHl/Ox52xzOxLLuNWB/I 8JAzgHLsiDrOC4B38hlMUYanvjdUo9mdLpjhmTv8qEPO/qlJhvkBDjxD4dQRjIlk 2MzsQ61ftRLe5tM5LD2YEj9RKDBXjUgfIQc/uCPNTOxUBsqAMlHVqNncvK1xAvSr 8VFME5c4XKBqq8nYjop3Z8h78Aq+Qr69NXBi2rm+qYBCPRLu6vnWv0bHDA9ZDTFW R14IxxAnKyLwXFT8fPXqbRRgKr33Tk6otx81Nh+SKXr3lZCfH/FLyk9W5YhVNFlS oIdi69d7dN73vbDmfYaLVb0AUSdODT97H8bGiemNwCtSG71ujnE=
    =LayL
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)