1. 29 Mar, 2021 2 commits
    • David Runge's avatar
      Reduce amount of checked mirrors · d178183c
      David Runge authored
      configs/releng/airootfs/etc/xdg/reflector/reflector.conf:
      Reduce the amount mirrors that reflector checks from 70 to 20.
      This significantly reduces the time it takes to end up with an up-to-date mirrorlist during boot with the releng
      profile.
      
      Fixes #92
      d178183c
    • David Runge's avatar
      Allow redirects for scripts · 0664efcf
      David Runge authored
      configs/releng/airootfs/root/.automated_script.sh:
      Add the `--location` curl parameter (see `man 1 curl`) to allow for curl to retrieve a remote script even if the source
      is being redirected (e.g. moved permanently) when using the `script=` kernel commandline parameter.
      
      Fixes #113
      0664efcf
  2. 26 Mar, 2021 4 commits
  3. 14 Mar, 2021 1 commit
  4. 09 Mar, 2021 1 commit
    • nl6720's avatar
      Support EROFS · bc67933a
      nl6720 authored
      EROFS, like Squashfs, is a read-only file system. It can be used to store airootfs in an image file.
      Its advantage is the support for POSIX ACLs. EROFS downside is that currently it only supports LZ4 compression (LZMA support is not yet fully implemented).
      
      A difference from Squashfs is that, EROFS stores change time (ctime) not modification time (mtime). The reverse is true for Squashfs.
      
      Implements #59
      bc67933a
  5. 16 Feb, 2021 2 commits
  6. 31 Jan, 2021 2 commits
  7. 27 Jan, 2021 4 commits
  8. 26 Jan, 2021 1 commit
    • nl6720's avatar
      configs/releng: move the mirror uncommenting sed command from... · 4f4047a3
      nl6720 authored
      configs/releng: move the mirror uncommenting sed command from customize_airootfs.sh to a pacman hook
      
      After pacman-mirrorlist is installed, /etc/pacman.d/hooks/uncomment-mirrors.hook will run a sed command which uncomments all Server lines in /etc/pacman.d/mirrorlist.
      This brings us another step closer to the complete removal of customize_airootfs.sh.
      
      Related to archlinux/archiso#21 .
      4f4047a3
  9. 23 Jan, 2021 2 commits
  10. 26 Dec, 2020 1 commit
  11. 01 Dec, 2020 1 commit
  12. 30 Nov, 2020 3 commits
    • David Runge's avatar
      Fix issues with file ownerships/modes · c10004df
      David Runge authored
      archiso/mkarchiso:
      Make sure to always compare absolute paths in `_make_custom_airootfs()` (as `realpath` is used).
      Remove `echo` calls that prevent the setting of actual file ownerships and modes.
      
      configs/releng/profiledef.sh:
      Set file mode of /root/.automated_script.sh to 755.
      
      Fixes #82
      c10004df
    • nl6720's avatar
      Keep all SYSLINUX files in /syslinux · 863247d0
      nl6720 authored
      This gets rid of the duplicate ldlinux.c32 and the useless isolinux.cfg which only points to syslinux.cfg.
      
      Implements #46 .
      863247d0
    • nl6720's avatar
      Allow specifying ownership and mode of custom airootfs files and directories · 42d9e4f9
      nl6720 authored
      profiledef.sh can now contain an associative array called file_permissions which can be used to set custom ownership and mode of custom airootfs files. The array's keys contain the path and the value is a colon separated list of owner UID, owner GID and access mode.
      For example:
      
          file_permissions=(
            ["/etc/shadow"]="0:0:400"
          )
      
      This means that mkarchiso now copies airootfs files (and directores) without permissions and anything that should be owned by a user other than root and/or if the mode should be something other than 644 for files and 755 for directories must to be listed in ${file_permission[@]} in profiledef.sh.
      
      Fixes #61 .
      42d9e4f9
  13. 03 Nov, 2020 1 commit
  14. 01 Nov, 2020 1 commit
  15. 31 Oct, 2020 2 commits
    • David Runge's avatar
      Set syslinux bootloader timeout to 15s · 40ae3ba9
      David Runge authored
      configs/releng/syslinux/archiso_sys.cfg:
      Set the syslinux bootloader timeout to 15s.
      In !97 it has accidentally been set to 1.5s.
      40ae3ba9
    • David Runge's avatar
      Set bootloader timeouts to 15s · ee6c5faa
      David Runge authored
      configs/releng/efiboot/loader/loader.conf,
      configs/releng/syslinux/archiso_sys.cfg:
      
      Set the bootloader timeout to 15s, as they have been set to an overly generous 30s in !79.
      
      Fixes #80
      ee6c5faa
  16. 29 Oct, 2020 6 commits
  17. 24 Oct, 2020 1 commit
  18. 27 Sep, 2020 4 commits
  19. 25 Aug, 2020 1 commit
    • David Runge's avatar
      Pass profile directory as parameter to mkarchiso · d90184a7
      David Runge authored
      **archiso/mkarchiso**:
      
      Change all override option parameters (i.e. `-A`, `-C`, `-D`, `-L`, `-P` and `-g`) to not directly override the global
      variable they are tied to, but instead using an `override_` prefixed variable.
      
      Add `_set_overrides()` to use `override_` prefixed variables (if set) to override those without a prefix.
      
      Remove `-B` (a profile directory) from the list of parameters. The profile directory is now provided as separate
      non-option parameter.
      
      Add a call to `_read_profile()`, `_set_overrides()` and `command_build_profile()` to the fallthrough option of the
      switch-case checking `command_name` - a non-option parameter to mkarchiso. This effectively provides the possibility to
      set the profile directory using a non-option parameter, while still maintaining compatibility to legacy named arguments
      used in the configs' `build.sh` scripts.
      
      Extend the warning in regards to legacy `build.sh` based commands to mkarchiso by providing an EOL with archiso v49.
      
      Change the help output to reflect the changes and further elaborate on the legacy commands used by `build.sh` scripts.
      
      Change help output to be ordered alphabetically.
      
      Add help output for `-r` and `-g` options.
      
      Call `_set_overrides()` for legacy commands that accept one or more of the overriden options (i.e. `command_init`,
      `command_install`, `command_prepare` and `command_iso`).
      
      Various style fixes.
      
      **configs/{baseline,releng}/build.sh**:
      
      Change call to mkarchiso to use the profile's directory as a named argument instead of an option-argument.
      
      **README.rst**:
      
      Fix documentation on how to call mkarchiso with a profile directory.
      
      Fix wording and ordering of option arguments for run_archiso documentation.
      
      Fixes #52
      d90184a7