Skip to content
Snippets Groups Projects
  1. Oct 30, 2024
  2. Oct 15, 2024
  3. Aug 07, 2024
  4. Jul 23, 2024
    • Clayton Craft's avatar
      Improve contributing documentation (MR 62) · 462c3879
      Clayton Craft authored
      This adds a smaller summary at the beginning of CONTRIBUTING.md with
      some helpful info for folks who are submitting and/or reviewing patches.
      
      I also added a reference in the README to this doc, to notify/remind
      folks (like me) who sometimes don't make it past the readme.
      
      [ci:skip-build] already built successfully in CI
      462c3879
    • 19atlas's avatar
      prepend DHTB to boot.img (MR 67) · 44661263
      19atlas authored and Clayton Craft's avatar Clayton Craft committed
      [ci:skip-build] already built successfully in CI
      44661263
  5. Jul 22, 2024
  6. Jun 24, 2024
    • Brady Norander's avatar
      Add support for generating compressed depthcharge images (MR 65) · 9d3c1a81
      Brady Norander authored and Newbyte's avatar Newbyte committed
      Some chromebooks have a small kernel partition which barely fits the
      depthcharge image, and in certain cases is too small for the depthcharge
      image. Add support for compressing the kernel in the depthcharge image
      which fixes this issue. Not every chromebook supports compressed kernels,
      so a deviceinfo variable is added to specify the compression type
      (either lzma or lz4). If the variable is unset, compression will not be used.
      9d3c1a81
  7. Jun 20, 2024
  8. Jun 18, 2024
  9. May 30, 2024
  10. May 03, 2024
  11. Apr 18, 2024
  12. Apr 17, 2024
  13. Apr 11, 2024
  14. Feb 17, 2024
    • Clayton Craft's avatar
    • Clayton Craft's avatar
      configure bootloaders for kernel cpu microcode loading (MR 53) · 6b011dd1
      Clayton Craft authored
      The Linux kernel supports live patching CPU microcode on boot, something
      we should definitely support. This patch adds support to grub and
      sd-boot / bootloader spec config.
      
      A new function is added to list out ucode in a directory (currently just
      the output dir, which is almost always /boot). It's very basic at the
      moment, it makes some pretty big assumptions about the name of the ucode
      patch file (i.e. currently expects it to match *ucode.img) This if fine
      for the ucode fw filenames that Alpine Linux / pmOS support. These
      things can/should be improved later if we need to support more
      situations.
      
      For context/background, see: https://gitlab.com/postmarketOS/pmaports/-/issues/2370
      
      Earlier versions of this patch tried to preserve writing the whole
      configs for each bootloader in one call to `cat`, e.g. by generating the
      list of lines to add ucode files, but it was a bit unruly (extraneous
      newlines and formatting was inconsistent)
      6b011dd1
  15. Feb 15, 2024
  16. Jan 26, 2024
  17. Jan 16, 2024
  18. Dec 10, 2023
  19. Nov 17, 2023
  20. Oct 26, 2023
    • methanal's avatar
      add support for hooks (MR 45) · 9a922295
      methanal authored and Clayton Craft's avatar Clayton Craft committed
      Hooks can be used to run scripts and binaries after source_*
      functions are called.
      
      Hooks are probed in two directories: /usr/share/boot-deploy/hooks and
      /etc/boot-deploy/hooks
      9a922295
  21. Oct 16, 2023
    • Clayton Craft's avatar
      Add support for systemd-boot · bb067202
      Clayton Craft authored
      This adds support for systemd-boot, by combining it with support for
      gummiboot (the gummiboot project turned into "systemd-boot"...). This
      also installs all available bootloaders under the relevant systemd-boot
      and gummiboot directories. That's useful because it allows something
      outside of boot-deploy to control what boot-deploy installs, without
      having to add a bunch of new logic + new deviceinfo var for it.
      
      The `generate_gummiboot` var was renamed to `generate_systemd_boot`, one
      turned into the other, and the internal logic in boot-deploy will now
      search dirs that both gummiboot and systemd-boot are installed in. It
      prefers systemd-boot over gummiboot, in case both options are located on
      the system.
      
      deviceinfo changes:
      
      - ADDED: deviceinfo_generate_systemd_boot
              - triggers installing support for systemd-boot
      
      - DROP: deviceinfo_generate_gummiboot
              - Use deviceinfo_generate_systemd_boot to trigger gummiboot
                support
      bb067202
  22. Aug 29, 2023
  23. Aug 01, 2023
    • Henrik Grimler's avatar
      create-bootimg: allow for empty deviceinfo_dtb (MR 40) · ea7d23a9
      Henrik Grimler authored and Clayton Craft's avatar Clayton Craft committed
      Device trees have not been around since forever, and postmarketos
      supports plenty of devices that did not ship with kernels with dtbs.
      
      To support downstream kernels of these devices we should not always
      return an error if dtb name is an empty string.
      
      Fixes: 833573db ("create_bootimg: fix header v2 support")
      ea7d23a9
Loading