1. 24 Mar, 2022 1 commit
  2. 23 Mar, 2022 4 commits
  3. 22 Mar, 2022 1 commit
  4. 13 Mar, 2021 2 commits
  5. 07 Jan, 2021 1 commit
  6. 13 Dec, 2020 4 commits
    • Ben Hutchings's avatar
      scripts/functions: Fix indentation for recently added functions · ac2243bd
      Ben Hutchings authored
      Ident with tabs instead of 4 spaces.
      Gbp-Dch: ignore
      Signed-off-by: default avatarBen Hutchings <benh@debian.org>
    • Ben Hutchings's avatar
      Merge branch 'net-wait' into 'master' · 9e13d886
      Ben Hutchings authored
      configure_networking(): Wait for specified network device
      See merge request kernel-team/initramfs-tools!32
    • dann frazier's avatar
      configure_networking(): Wait for specified network device · 947717dc
      dann frazier authored
      configure_networking() will issue a `udevadm settle` before trying to
      configure an interface. However that's just a "best effort" mechanism
      for waiting until all NICs have been discovered. There is no way to
      *actually* know that all NICs have been discovered. The USB protocol sets
      no time limit on enumeration, for example, and I have a USB NIC that
      is consistently discovered after this point.
      However, in the case that the user has told us which interface they expect
      to be used in the initramfs (via ip=), we can just wait for it specifically.
      Bail only if it hasn't appeared within 3 minutes. We can perhaps allow that
      timeout to be overridden from the command line in the future.
      Closes: #965935
      Signed-off-by: default avatardann frazier <dannf@debian.org>
    • dann frazier's avatar
      Add time_elapsed() function, subsuming $local_top_time · 35177dbe
      dann frazier authored
      Generalize the elapsed time tracking in local-top so that it can be used
      elsewhere. This requires some additional quoting in local_device_setup()
      comparisons to pass shellcheck.
      Now that the reference time is recorded earlier (in init vs. local-top),
      the rootdev wait time will now be reduced by however long it it takes to
      process init-premount. The belief is that our wait time is sufficiently
      long for that to be negligible. Also, this could potentially break any
      local-top scripts that use $local_top_time directly. A survey of
      the current packages in sid shows no packages that contain a file under
      /usr/share/initramfs-tools/scripts/local-top/ that contain "local_top_time".
      Signed-off-by: default avatardann frazier <dannf@debian.org>
  7. 12 Dec, 2020 2 commits
  8. 09 Dec, 2020 1 commit
  9. 02 Dec, 2020 1 commit
  10. 13 Sep, 2020 5 commits
  11. 11 Sep, 2020 2 commits
  12. 07 Sep, 2020 1 commit
    • Jann Horn's avatar
      Add firmware for built-in drivers · a7718dcc
      Jann Horn authored
      There's an old bug report from 2017 (#857054) complaining that firmware for
      built-in drivers is not automatically added to initramfs; and back then,
      the kernel did not collect information about such dependencies in a place
      where initramfs-tools could access it (#857055).
      However, since Linux 5.2 (released in mid-2019), the kernel actually
      provides this information via modules.builtin.modinfo; you can see at e.g.
      that the buster kernel package ships this file. (There aren't actually any
      firmware dependencies listed in there though; I guess the upstream Debian
      kernel config just has no built-in code with firmware dependencies?)
      Wire it up, so that people with custom kernel configs don't have to waste
      time figuring out that their devices don't work properly because the
      firmware wasn't available at boot.
      Closes: #857054
  13. 06 Sep, 2020 10 commits
  14. 31 Aug, 2020 3 commits
  15. 19 Aug, 2020 2 commits