Skip to content
Snippets Groups Projects
  1. Mar 22, 2025
  2. Mar 21, 2025
  3. Mar 19, 2025
  4. Feb 21, 2025
  5. Nov 27, 2024
  6. Nov 22, 2024
  7. Oct 28, 2024
  8. Oct 27, 2024
  9. Oct 26, 2024
  10. Sep 24, 2024
  11. Sep 22, 2024
  12. Sep 05, 2024
  13. Aug 26, 2024
  14. Aug 21, 2024
    • nl6720's avatar
      mkarchiso: use an empty UUID for EROFS · 6cd79e65
      nl6720 authored
      The UUID is never used for anything, since the file system resides in a
      file. Instead of generating a reproducible UUID for it, use
      `00000000-0000-0000-0000-000000000000` instead.
      Verified
      6cd79e65
  15. Jul 27, 2024
  16. Jul 24, 2024
  17. Jun 05, 2024
  18. May 23, 2024
  19. May 22, 2024
  20. May 18, 2024
    • nl6720's avatar
      mkarchiso: use FAT32 as early as possible · c0a4c39f
      nl6720 authored
      mkfs.fat selects FAT32 for file systems of at least 512 MiB size, but a
      FAT32 file system can already be created at 36 MiB size (assuming 512
      byte logical sector size).
      Verified
      c0a4c39f
    • nl6720's avatar
      configs/releng/airootfs/etc/mkinitcpio.conf.d/archiso.conf: use xz -9e · 8d07ca35
      nl6720 authored
      Use higher compression for the initramfs.
      
      Now that mkinitcpio moves the compressed kernel modules and firmware
      files to the early uncompressed initramfs, we can compress the main
      initramfs image slightly more without it increasing the built time too
      much. This will increase the memory required for decompression from
      9 MiB to 65 MiB (assuming the kernel's decompressor works the same as
      the xz tool), but that should not be an issue for any system targeting
      Arch.
      
      This reduces the initramfs size by ~250 KiB, which will save ~500 KiB
      for the whole ISO.
      Verified
      8d07ca35
    • nl6720's avatar
      mkarchiso: do not pad the ISO when it is not necessary · ead84ee9
      nl6720 authored
      If the ISO exceeds the max size of a CD (900 MiB), the 300 KiB padding
      needed for CDs can be removed.
      Verified
      ead84ee9
  21. May 13, 2024
  22. May 09, 2024
  23. May 04, 2024
  24. Apr 21, 2024
  25. Apr 19, 2024
    • nl6720's avatar
      configs/releng/profiledef.sh: change UEFI boot loader from GRUB to systemd-boot · 024cf1b7
      nl6720 authored
      While using GRUB as the UEFI boot loader has reduced the size of the ISO,
      it has brought nothing but pain otherwise:
      
      * We cannot use `gfxterm` since it is not visible on some hardware.
      * GRUB has a a strange and nonsensical limitation where the EFI binary
        can be built with either support for shim or custom Secure Boot key
        support, but not both. This means you cannot repack the ISO to use
        shim + MOK since we currently use `--disable-shim-lock` to provide
        support for setups with custom keys.
      * GRUB's EFI binary needs to be built with `grub-mkstandalone` instead
        of there being a ready made EFI binary in the package. This requires
        having grub installed on the host system which affects reproducibility.
      
      This increases the size of the ISO since systemd-boot cannot boot files
      from other volumes, i.e. the kernel and initramfs is duplicated in the
      EFI system partition (the second partition made from `efiboot.img`).
      
      Implements #227
      Verified
      024cf1b7
    • nl6720's avatar
      configs/: replace archisodevice boot parameter with archisosearchuuid · 43e4d9ce
      nl6720 authored
      `archisosearchuuid=` first searches for a matching UUID. If that fails,
      then it mounts and looks for a `/boot/${archisosearchuuid}.uuid` file in
      all detected block devices (in whatever order `blkid` lists them).
      
      This implements "file system transposition" without relaying on boot
      loader specific features and does not tie us to GRUB anymore.
      
      Related to archlinux/mkinitcpio/mkinitcpio-archiso!48
      Fixes #217
      Verified
      43e4d9ce
    • nl6720's avatar
      configs/releng/: use mkinitcpio's microcode hook instead of external microcode images · 2facc463
      nl6720 authored
      This simplifies boot loader configuration, but custom PXE setups will
      be forced to update theirs.
      
      Implements #226
      Verified
      2facc463
    • nl6720's avatar
      configs/releng/profiledef.sh: use zstd compression for bootstrap image · 924a97ae
      nl6720 authored
      The zstd tool has now been around for a while, so the availability of
      it should not be a concern anymore.
      
      Unlike gzip which was used until now, zstd offers higher compression
      while still being faster (and multi-threaded).
      The `--auto-threads=logical` option is used just so that there is some
      difference between the releng and baseline profiles.
      
      Everyone using the official Arch Linux bootstrap tarball (previously
      `archlinux-bootstrap-YYYY.MM.DD-x86_64.tar.gz` or
      `archlinux-bootstrap-x86_64.tar.gz`) will need to update their scripts
      and etc. to use `archlinux-bootstrap-YYYY.MM.DD-x86_64.tar.zst` or
      `archlinux-bootstrap-x86_64.tar.zst` instead.
      
      Implements #130
      Verified
      924a97ae
  26. Apr 01, 2024
Loading