Skip to content
Snippets Groups Projects
  1. Jan 30, 2020
  2. Jan 18, 2020
  3. Jan 13, 2020
  4. Jan 11, 2020
  5. Jan 07, 2020
    • Ben Hutchings's avatar
      mkinitramfs: Remove armhf dynamic linker hack · a9e5169f
      Ben Hutchings authored
      
      This reverts commit da64d1a1, which
      was a workaround for the inconsistent choices of interpreter path in
      the early days of armhf and the limitations of copy_file at the time.
      Now that copy_file automatically replicates symlinks and their
      targets, we don't need to do anything special about the dynamic
      linker.
      
      An initramfs built for Debian 10 on armhf currently contains:
      
      /lib/arm-linux-gnueabihf/ld-2.28.so           regular file
      /lib/arm-linux-gnueabihf/ld-linux-armhf.so.3  link to ld-2.28.so
      /lib/arm-linux-gnueabihf/ld-linux.so.3        link to /lib/ld-linux-armhf.so.3
      /lib/ld-linux-armhf.so.3                      regular file
      
      There are two *copies* of the dynamic linker as well as two symlinks
      to one or the other of them.
      
      After this commit, the initramfs contains:
      
      /lib/arm-linux-gnueabihf/ld-2.28.so           regular file
      /lib/arm-linux-gnueabihf/ld-linux-armhf.so.3  link to ld-2.28.so
      /lib/ld-linux-armhf.so.3                      link to arm-linux-gnueabihf/ld-2.28.so
      
      The /lib/…/ld-linux.so.3 symlink is no longer created, because Debian
      armhf binaries all use /lib/ld-linux-armhf.so.3 as the interpreter
      path, but it would be created if we ever switched over.
      
      Signed-off-by: default avatarBen Hutchings <ben@decadent.org.uk>
      a9e5169f
    • Ben Hutchings's avatar
      mkinitramfs: Remove special case for Arm OABI ports · 2b55aca6
      Ben Hutchings authored
      
      This reverts commit 879602b2.  The
      arm (OABI little-endian) port was replaced by armel and was last
      released in Debian 5.0.  The armeb (OABI big-endian) port never made
      it into a Debian release and has died off completely.
      
      Signed-off-by: default avatarBen Hutchings <ben@decadent.org.uk>
      2b55aca6
    • Ben Hutchings's avatar
      mkinitramfs: Remove workaround for old udev versions · 9d8b6908
      Ben Hutchings authored
      
      Remove the temporary hack introduced by commit ab913066 "init:
      Take over handling of rootdelay parameter from udev boot script".
      
      Signed-off-by: default avatarBen Hutchings <ben@decadent.org.uk>
      9d8b6908
  6. Dec 10, 2019
  7. Nov 19, 2019
  8. Nov 18, 2019
  9. Oct 27, 2019
  10. Oct 08, 2019
    • Alper Nebi Yasak's avatar
      hook-functions: Include modules for Chromebook Plus display · da851903
      Alper Nebi Yasak authored
      
      On Samsung Chromebook Plus (v1), messages and prompts printed during an
      initramfs run aren't visible to the user unless the pwm_bl, rockchipdrm,
      pwm-cros-ec and panel-simple modules are included. This commit includes
      these when MODULES=dep and when MODULES=most.
      
      For MODULES=dep: adds backlight and pwm to the dep_modules_add sys-walk.
      Walking backlight includes pwm_bl and pwm includes pwm-cros-ec. Since
      panel-simple isn't reachable from /sys/class/**, but it can be reached
      from /sys/devices/platform/edp-panel, that path is sys-walked if it
      exists.
      
      When {efi,platform,simple,vesa}-framebuffer cannot provide a working
      framebuffer device, graphics is sys-walked as well. Walking drm works
      for rockchipdrm too, but also includes panfrost, so graphics was chosen
      instead.
      
      For MODULES=most: the modules are included in a new case 'fb' in the
      auto_add_modules intended for modules providing framebuffer support
      for machines where generic drivers don't provide one.
      
      Signed-off-by: default avatarAlper Nebi Yasak <alpernebiyasak@gmail.com>
      da851903
    • Alper Nebi Yasak's avatar
      hook-functions: Handle dw_mmc-rockchip hidden dependency on rockchip-io-domain · ded7214c
      Alper Nebi Yasak authored
      
      Without rockchip-io-domain, I'm getting the following errors when
      plugging micro SD cards to a rk3399-gru-kevin:
      
          dwmmc_rockchip fe320000.dwmmc: All phases bad!
          mmc1: tuning execution failed: -5
          mmc1: error -5 whilst initialising SD card
      
      In that case the relevant /dev/mmcblk* device isn't available either,
      so we can't boot from the external SD card.
      
      Signed-off-by: default avatarAlper Nebi Yasak <alpernebiyasak@gmail.com>
      ded7214c
  11. Sep 14, 2019
  12. Sep 03, 2019
  13. Aug 21, 2019
  14. Aug 11, 2019
  15. Jul 28, 2019
    • Ben Hutchings's avatar
      Merge branch 'fix-dev-and-run-mount-flags' into 'master' · 953d80c5
      Ben Hutchings authored
      init: /dev can be noexec and /run nodev
      
      This change *will* be visible in systemd units that use the
      InaccessiblePaths option to hide device files.  systemd creates a
      dummy file of each type in /run/systemd/inaccessible/<type> and
      bind-mounts them over the paths specified in this option.  If a
      process in such a unit attempts to access a device that is made
      inaccessible, it will now fail with error EPERM and not ENODEV.
      Hopefully this won't cause breakage.
      
      See merge request kernel-team/initramfs-tools!9
      953d80c5
Loading