Change logs for initramfs-tools source package in Focal

  • initramfs-tools (0.136ubuntu6.8) focal; urgency=medium
    
      * Fix configuring BOOTIF when using iSCSI (LP: #2056187)
      * Port the net autopkgtest to the common test framework. This drops
        depending on downloading a cloud image from the Internet and reduces
        the execution time from 3:19 min down to 0:57 min. Also backport
        autopkgtest improvements from version 0.142ubuntu23 to run the
        test on all architectures and to check more results from qemu-net.
    
     -- Benjamin Drung <email address hidden>  Tue, 19 Mar 2024 13:12:51 +0100
  • initramfs-tools (0.136ubuntu6.7) focal; urgency=medium
    
      * Increase image file to 2GB in autopkgtest (LP: #1958904)
    
     -- Kleber Sacilotto de Souza <email address hidden>  Wed, 26 Jan 2022 18:11:24 +0100
  • initramfs-tools (0.136ubuntu6.6) focal; urgency=medium
    
      * Cherrypick zstd support from upstream. LP: #1932542
    
     -- Dimitri John Ledkov <email address hidden>  Fri, 18 Jun 2021 14:22:25 +0100
  • initramfs-tools (0.136ubuntu6.5) focal; urgency=medium
    
      * scripts/local-premount/resume:
        - Use readlink -f to correctly handle non-symlink $resume
          (LP: #1876570)
      * hook-functions:
        - when MODULES=list there will be no 'kernel' dir, so don't try
          to find anything there, as it will log an error
          (LP: #1927779)
      * hooks/fsck:
        - don't check PASSNO, always include fsck
          (LP: #1917780)
    
     -- Dan Streetman <email address hidden>  Thu, 18 Mar 2021 14:48:17 -0400
  • initramfs-tools (0.136ubuntu6.4) focal; urgency=medium
    
      * hook-functions: Search for firmware under /lib/firmware/updates
        (LP: #1571506)
    
     -- William 'jawn-smith' Wilson <email address hidden>  Wed, 03 Mar 2021 16:34:04 -0600
  • initramfs-tools (0.136ubuntu6.3) focal; urgency=medium
    
      * scripts/functions: Prevent printf error carry over if the wrong
        console is set. (LP: #1879987)
          The function _log_msg() is "void" typed, returning whatever its
          last command returns. This function is the basic building block
          for all error/warning messages in initramfs-tools. If a bad console
          is provided to kernel on command-line, printf returns error, and so
          this error is carried over in _log_msg(). Happens that checkfs()
          function has a loop that runs forever in this scenario (*if* fsck
          is not present in initramfs and "quiet" is not passed in the
          command-line). If that happens, boot is stuck and cannot progress.
          The simple fix hereby merged is to return zero on _log_msg().
    
      * scripts/local: Re-execute cryptroot local-block script. (LP: #1879980)
          Currently, if an encrypted rootfs is configured on top of a MD RAID1
          array and such array gets degraded (like a member is removed/failed),
          initramfs-tools cannot mount the rootfs and the boot fails. We fix
          that issue here by allowing cryptroot script to re-run on local-block
          stage, given that mdadm is able to activate a degraded array in that
          point. There is a cryptsetup counter-part for this fix, but alone the
          initramfs-tools portion is innocuous.
    
      * d/tests: Add explicit call to partprobe on net test, specially in
        prep-image and run-image. (LP: #1893675)
    
     -- <email address hidden> (Guilherme G. Piccoli)  Mon, 31 Aug 2020 13:43:29 -0300
  • initramfs-tools (0.136ubuntu6.2) focal; urgency=medium
    
      * Trim leading whitespaces in dumpe2fs output so date command
        is happy in the fixrtc script (LP: #1880968)
    
     -- Alfonso Sanchez-Beato (email Canonical) <email address hidden>  Wed, 27 May 2020 16:52:16 +0200
  • initramfs-tools (0.136ubuntu6.1) focal; urgency=medium
    
      * SRU changes from Dimitri John Ledkov into focal:
        - Partially revert 0.133ubuntu12 upload:
          "* scripts/functions: Fix args in the add_mountroot_fail_check function."
          The arguments were correct, as used by lvm2 hook.
          LP: #1871154
        - Fix copying libgcc_s when there is optimized pthreads installed.
          LP: #1880853
    
     -- Gianfranco Costamagna <email address hidden>  Mon, 01 Jun 2020 11:03:12 +0200
  • initramfs-tools (0.136ubuntu6) focal; urgency=medium
    
      * Adjust testsuite for correct expected netplan output.
      * Add tests to parse netplan.yaml with netplan generate.
      * Run unittests during autopkgtests.
    
     -- Dimitri John Ledkov <email address hidden>  Thu, 09 Apr 2020 08:35:46 +0100
  • initramfs-tools (0.136ubuntu5) focal; urgency=medium
    
      * Emit empty dictionary in the ethernets section, for static vlan
        configs without any matches, as otherwise it is invalid config. Patch
        by mwhudson.
    
     -- Dimitri John Ledkov <email address hidden>  Wed, 08 Apr 2020 21:22:40 +0100
  • initramfs-tools (0.136ubuntu4) focal; urgency=medium
    
      * Skip setting mac-address, unless unsupported unpredictable netnames
        are used.
    
     -- Dimitri John Ledkov <email address hidden>  Sat, 04 Apr 2020 23:39:59 +0100
  • initramfs-tools (0.136ubuntu3) focal; urgency=medium
    
      * Revert upstream commit 0012977; Ubuntu's resume script implementation
        diverges from Debian's and this special-case handling of UUID (which is
        used as the resume target in the default scenario) is required here.
        LP: #1869996.
    
     -- Steve Langasek <email address hidden>  Wed, 01 Apr 2020 21:33:18 -0700
  • initramfs-tools (0.136ubuntu2) focal; urgency=medium
    
      * scripts/functions:_render_netplan(): Make configure_networking()
        more resilient when called by set -e scripts. LP: #1868310.
    
     -- dann frazier <email address hidden>  Fri, 20 Mar 2020 14:09:47 -0600
  • initramfs-tools (0.136ubuntu1) focal; urgency=low
    
      * Merge from Debian unstable.  Remaining changes:
        - Make busybox-initramfs a real runtime dependency, fixing
          kernel install failures with cryptsetup
        - support mounting of loopback devices via loop*= parameters
        - Drop hooks/keymap, scripts/init-top/keymap, and associated code;
          console-setup takes care of this in Ubuntu.
        - Add a new 'fixrtc' script that tries to set the system clock forward
          based on the last mount time of the root disk; without this kludge,
          systems without a working RTC will end up in a perpetual reboot loop.
        - Set hostname at boot, for the benefit of mdadm autoassembly.
        - Allow scripts and hooks to specify OPTION=VAR, and unless VAR is set
          to something other than "n", the script will not be included.
        - Restore the framebuffer hook and script, copying KMS and other
          framebuffer drivers into the initramfs, but make them optional; you
          need to set FRAMEBUFFER=y for these to be included.
        - Add hwaddr= alias for BOOTIF= for compatibility.
        - Automatically blacklist vga16fb when vga= or video= specified on
          kernel command-line.
        - add squashfs to list of 'most' modules
        - Add vfat and nls modules to the initramfs.
        - Add Hyper-V paravirtualised device drivers to the initramfs to allow
          booting of stock images in a Hyper-V guest.
        - ppc64el: enable PowerPC NX Crypto Coprocessor
        - Add mountroot failure support, to allow meaningful messages when no
          root device can be found.
        - resume: only resume when the partition contains a resume image
        - Add new initramfs-tools-bin package containing a binary that uses
          libudev to wait for udev to create the udev device, or wait for udev
          to finish processing if we catch it in the act, and returns the
          filesystem type as already probed by udev.
        - local_device_setup: use wait-for-root if it supports the device alias
          type
        - Incorporate rzscontrol from compcache so that we can control current
          ramzswap devices.
        - Support loading compcache from the initramfs.
        - debian/control: update Vcs-* links for Ubuntu.
        - Set executable bit on resume script in local-premount, which MoM seems
          to consistently drop
        - Add support for uppercase and lowercase uuids.
        - init: Don't interpret "rootdelay" as a static sleep.
        - scripts/local: Let rootdelay determine the wait-for-root timeout.
        - Increase rootdelay to 180s on powerpc/ppc64/ppc64el
        - Support roottimeout= as the authoritative name for rootdelay= since
          the Ubuntu interpretation of rootdelay is *not* a delay and this
          causes inconsistent behavior depending on whether the kernel or an
          initramfs is interpreting it.
        - scripts/functions: by default, when setting up networking, use dhclient
          if we're asked to do DHCP explicitly, or if we otherwise are expected
          to do things automatically.
        - scripts/functions: make sure we can try to start all available and
          suitable interfaces if ip= isn't set when setting up the network, and
          exit as soon as we get an IP address.
        - scripts/functions: for configure_networking:
          - split out IPv6 options in its own cmdline parameter: ip6= ; always
            use dhclient in this case if the value set is anything other than
            'off' or 'none'. Furthermore, parse anything other than 'on', 'dhcp'
            or 'any' as the name of an interface.
          - rework the stop conditions so that we properly handle the ROUNDTTT
            loop, timing out after a short period of time and trying again
            after a short sleep.
          - add a 'done' parameter for both ip= and ip6= so that we can properly
            exit the ROUNDTTT loop once we know that either there is no work to
            do, or that we've achieved what we wanted (that is, to bring up IPv4,
            IPv6, or possibly both).
          - Do not handle ip=rarp specially (ipconfig hasn't supported it for
            some time)
          - Call dhclient in simple cases for IPv4 (this makes some small
            observable changes -- for example ip=bootp will now make a DHCP
            request too -- but nothing that seems important).
          - Do not let dhclient processes hang around past the pivot and have
            them respect the shorter timeouts ipconfig was given.
        - hook-functions, mkinitramfs, scripts/functions: support usage of dns
          after configure_networking.
        - Fix resuming a hibernate session from a swapfile
        - scripts/functions: write netplan config files to /run/netplan for
          network devices configured with configure_networking.
        - Add some autopkgtests for the network configuration processing.
        - Work out the kernel modules required to support ZFS filesystems and
          add them as necessary.
        - debian/initramfs-tools.postinst: remove orphaned old-dkms initrd files
          in /boot.
        - scripts/functions: include a new option to skip enslaved network
          devices.
        - Fix PATH to include /usr/local.
        - Add modules for nvme path components on multipath nvme.
        - Don't recommend pigz, which is in universe.
        - Suppress shellcheck SC1010 errors, returning lots of false-positives on
          use of 'done' as a word.
        - Drop usage of klibc-utils' fstype in favor of always using udev blkid.
        - Use set -a/+a around loading conf snippets, to autoexport hook
          configuration variables. This thus allows packaged hooks to configure
          each other.
        - Auto activate qeth devices on s390x hosts, when using ip= ip6= command
          lines.
        - Switch default initramfs compression to lz4, faster than the current
          default gzip.
        - Add support for creating VLANs via vlan=eth0.1:eth0 on kernel
          commandline, and as VLAN= conf.d snippet.
        - Add support for panic=-1 value
        - debian/{control,rules}: Don't run shellcheck on i386 to avoid pulling
          ghc into our minimal supported set for the pruned architecture.
        - Cherrypick upstream patch to include libgcc_s for libpthread.
        - Handle both libgcc1 and libgcc-s1 locations.
      * Dropped changes, included in Debian:
        - Patch unmkinitramfs to cat possible lz4 archives first, as lz4 is
          particular about enforcing .lz4 file extensions when operating on
          files.
        - mkinitramfs: Copy modules.builtin.bin into initramfs
      * Dropped changes, no longer needed:
        - remove Breaks on pre-bionic isc-dhcp-client.
      * src/wait-for-root.c, scripts/local: add explicit support for PARTUUID, a
        syntax we may prefer for images that might boot without an initramfs.
      * Drop manual modprobe of filesystem modules, deemed redundant upstream
    
    initramfs-tools (0.136) unstable; urgency=medium
    
      [ Mathieu Malaterre ]
      * [90bd459] Update to new name for kernel module therm_pm72
    
      [ Alper Nebi Yasak ]
      * [ded7214] hook-functions: Handle dw_mmc-rockchip hidden dependency on
        rockchip-io-domain
      * [da85190] hook-functions: Include modules for Chromebook Plus display
    
      [ Ben Hutchings ]
      * [afd2668] debian/tests/control: Mark shellcheck test as superficial
      * [9d8b690] mkinitramfs: Remove workaround for old udev versions
      * [2b55aca] mkinitramfs: Remove special case for Arm OABI ports
      * [a9e5169] mkinitramfs: Remove armhf dynamic linker hack
      * [b19b6f3] debian/rules: Suppress execution of dh_installinitramfs
      * [8330bcd] mkinitramfs: Use cp -p option for ld.so.conf* instead of -aZ
      * [15fd713] initramfs-tools(7): Change example to use copy_exec instead of cp
      * [c2d589e] Revert "mkinitramfs: check if initramfs has a shell"
      * [835d584] mkinitramfs: Copy modules.builtin.bin into initramfs
        (Closes: #948257)
      * [0012977] init: Remove special case for kernel parameter resume=UUID=...
      * [897ab77] update-initramfs: Make "-c -k all" options useful again
        (Closes: #926401)
      * [d6c6eec] init: Mount /dev with "exec" option if v86d is present
        (Closes: #940171)
      * [a9e73b5] hook-functions: Drop ext4dev from filesystem module list
      * [41d9ceb] mkinitramfs: Enable multihreaded xz compression (Closes: #942144)
    
      [ Alexander Volkov ]
      * [e34affa] Don't require build dependency on shellcheck when nocheck profile
        is enabled
    
      [ Johannes 'josch' Schauer ]
      * [e2ad678] hook-functions: preloaded libraries should not end up in the
        initramfs (Closes: #944929)
    
      [ Debian Janitor ]
      * [a1e17fc] Bump debhelper from old 9 to 12.
      * [4d86d1a] Set debhelper-compat version in Build-Depends.
    
      [ Romain Perier ]
      * [4df27e2] hook-functions: Add f2fs as base in auto_add_modules
    
      [ Christian Göttsche ]
      * [0db5752] Do not copy SELinux context in mkinitramfs (Closes: #948365)
    
      [ Topi Miettinen ]
      * [55afeec] Tighten permissions for /run/initramfs
    
    initramfs-tools (0.135) unstable; urgency=medium
    
      [ Topi Miettinen ]
      * [eb98d2e] init: /dev can be noexec and /run nodev
    
      [ Alper Nebi Yasak ]
      * [43488a3] hook-functions: Handle spi-rockchip hidden dependency on pl330
    
      [ Ben Hutchings ]
      * [116ce5c] autopkgtest: Only test hook and boot scripts from specific
        packages
    
    initramfs-tools (0.134) unstable; urgency=medium
    
      [ Ben Hutchings ]
      * [8aeae9f] hooks/resume: Disable resume when there are no suitable swap
        devices. Thanks to Trek <email address hidden> (Closes: #916696)
      * [40f6647] hook-functions: Include all keyboard driver modules when
        MODULES=most. Thanks to Alper Nebi Yasak <email address hidden>
      * [797e5fe] hook-functions: Include cros_ec_spi and SPI drivers when
        MODULES=most. Thanks to Alper Nebi Yasak <email address hidden>
      * [f65627d] resume: Set plymouth status only if there is a suspend image
        (Closes: #928736)
      * [c31a908] hook-functions: Fix copy_file with target of "/bin"
        (Closes: #928689)
      * [8a29ef3] scripts/functions: Use "reboot -f" to reboot on panic.
        Thanks to Michael Niewöhner <email address hidden> (Closes: #923165)
      * [da9f53e] unmkinitramfs: Work around lz4cat filename check.
        Thanks to Dimitri John Ledkov <email address hidden> (Closes: #930366)
      * [cf7bb4b] initramfs-tools-core: Depend on logsave or older e2fsprogs
        (Closes: #932854)
      * [8570718] update-initramfs(8): Document -d option as "delete" instead of
        "remove"
      * [fffe514] update-initramfs(8): Update description of "-k all" option
    
      [ Benjamin Drung ]
      * [5e94f22] autopkgtest: Check also
        /usr/share/initramfs-tools/{hooks,scripts}
    
      [ Alper Nebi Yasak ]
      * [994d698] hook-functions: Include extcon-usbc-cros-ec when MODULES=most
      * [4e3496a] hook-functions: Include extcon drivers when MODULES=dep
    
      [ Uwe Kleine-König ]
      * [37dcf3d] mkinitramfs: suppress warning when using bzip2 or lzma
        (Closes: #930754)
    
     -- Steve Langasek <email address hidden>  Mon, 17 Feb 2020 17:19:14 -0800
  • initramfs-tools (0.133ubuntu15) focal; urgency=medium
    
      * mkinitramfs: Copy modules.builtin.bin into initramfs (LP: #1863261)
    
     -- Rafael David Tinoco <email address hidden>  Fri, 14 Feb 2020 15:05:29 +0000
  • initramfs-tools (0.133ubuntu14) focal; urgency=medium
    
      * Handle both libgcc1 and libgcc-s1 locations.
    
    initramfs-tools (0.133ubuntu13) focal; urgency=medium
    
      * Cherrypick upstream patch to include libgcc_s for libpthread. LP:
        #1861757
    
     -- Dimitri John Ledkov <email address hidden>  Tue, 04 Feb 2020 23:51:00 +0000
  • initramfs-tools (0.133ubuntu13) focal; urgency=medium
    
      * Cherrypick upstream patch to include libgcc_s for libpthread. LP:
        #1861757
    
     -- Dimitri John Ledkov <email address hidden>  Tue, 04 Feb 2020 13:38:20 +0000
  • initramfs-tools (0.133ubuntu12) focal; urgency=medium
    
      * debian/{control,rules}: Don't run shellcheck on i386 to avoid pulling
        ghc into our minimal supported set for the newly-pruned architecture.
      * scripts/functions: Fix args in the add_mountroot_fail_check function.
    
     -- Adam Conrad <email address hidden>  Fri, 29 Nov 2019 12:16:07 -0700
  • initramfs-tools (0.133ubuntu11) focal; urgency=medium
    
      * hooks/fixrtc, debian/rules: Stop pulling in coreutils date and hwclock,
        instead using the slimmer and newly built-in busybox-initramfs applets.
    
     -- Adam Conrad <email address hidden>  Mon, 04 Nov 2019 10:21:05 -0700
  • initramfs-tools (0.133ubuntu10) eoan; urgency=medium
    
      * Add support for panic=-1 value (LP: #1831252)
    
     -- Julian Andres Klode <email address hidden>  Thu, 05 Sep 2019 12:31:43 +0200