Skip to content
Snippets Groups Projects
  1. Jan 18, 2020
  2. Dec 10, 2019
  3. Nov 19, 2019
  4. Nov 18, 2019
  5. Oct 27, 2019
  6. 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
  7. Sep 14, 2019
  8. Sep 03, 2019
  9. Aug 21, 2019
  10. Aug 11, 2019
  11. 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
    • Ben Hutchings's avatar
      Releasing version 0.134. · ef3f0a5e
      Ben Hutchings authored
      
      Signed-off-by: default avatarBen Hutchings <ben@decadent.org.uk>
      v0.134
      ef3f0a5e
  12. Jul 27, 2019
  13. Jun 21, 2019
  14. Jun 19, 2019
  15. May 04, 2019
  16. Apr 30, 2019
  17. Apr 13, 2019
    • Topi Miettinen's avatar
      init: /dev can be noexec and /run nodev · eb98d2ea
      Topi Miettinen authored
      
      /dev used to be mounted with "exec" flag due to /dev/MAKEDEV script
      but that's history and it's now located in /sbin. mmap() with file
      descriptor to "/dev/zero" (instead of modern mmap(,,,MAP_ANON...))
      will still work.
      
      There's no reason to have (char/block) device nodes in /run, so let's
      mount it with "nodev". This does not affect sockets, fifos etc.
      
      Signed-off-by: default avatarTopi Miettinen <toiwoton@gmail.com>
  18. Mar 05, 2019
  19. Feb 11, 2019
  20. Feb 10, 2019
    • Ben Hutchings's avatar
      hooks/resume: Disable resume when there are no suitable swap devices · 8aeae9f3
      Ben Hutchings authored
      
      In 0.131 the automatic selection of a resume device was changed to
      disable resume if the largest swap device was encrypted with a
      ephemeral key.
      
      In 0.132 I changed the automatic selection to also reject zram
      devices, but I also changed it to loop over all swap devices since
      zram might well be used alongside a conventional swap device that we
      could use.  Unfortunately, in case swap devices are available but none
      are suitable, this results in selecting the last one.
      
      Closes: #916696
      Thanks: Trek <trek00@inbox.ru>
      Signed-off-by: default avatarBen Hutchings <ben@decadent.org.uk>
      8aeae9f3
  21. Feb 06, 2019
Loading