1. 29 Jul, 2021 1 commit
  2. 27 Jul, 2021 2 commits
  3. 29 Jun, 2021 1 commit
  4. 05 Jun, 2021 1 commit
  5. 29 May, 2021 1 commit
  6. 14 May, 2021 3 commits
  7. 11 May, 2021 1 commit
  8. 09 May, 2021 2 commits
  9. 30 Apr, 2021 1 commit
  10. 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
  11. 27 Jan, 2021 4 commits
  12. 26 Dec, 2020 1 commit
  13. 30 Nov, 2020 2 commits
    • 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 archlinux/archiso#46 .
    • 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:
      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 archlinux/archiso#61 .
  14. 29 Oct, 2020 2 commits
    • nl6720's avatar
      Add modconf to HOOKS array in mkinitcpio.conf · 6820f2cb
      nl6720 authored
      The default mkinitcpio.conf includes modconf in HOOKS.
    • David Runge's avatar
      Remove build.sh support from profiles and mkarchiso · 1bd944ee
      David Runge authored
      Remove `build.sh` scripts. They were deprecated with v47.
      Remove all `build.sh` related functionality (i.e. `command_pkglist()`, `command_iso()`, `command_prepare()`,
      `command_install()`, `command_init()`, `command_run()`).
      Rename `command_build_profile()` to `_build_profile()` to be more in line with the style of the other function naming.
      Change `_show_config()` to only print info about the profile and make no more use of parameters.
      Remove all help output related to legacy `build.sh` commands.
      Fixes #51
  15. 24 Oct, 2020 1 commit
  16. 27 Sep, 2020 2 commits
  17. 25 Aug, 2020 1 commit
    • David Runge's avatar
      Pass profile directory as parameter to mkarchiso · d90184a7
      David Runge authored
      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.
      Change call to mkarchiso to use the profile's directory as a named argument instead of an option-argument.
      Fix documentation on how to call mkarchiso with a profile directory.
      Fix wording and ordering of option arguments for run_archiso documentation.
      Fixes #52
  18. 17 Aug, 2020 2 commits
  19. 30 Jul, 2020 1 commit
  20. 29 Jul, 2020 2 commits
    • nl6720's avatar
      Build initramfs images only once · ff0c13f9
      nl6720 authored
      Place custom mkinitcpio.conf in airootfs.
      Use a custom mkinitcpio preset to specify generated image file path.
    • David Runge's avatar
      Add license and basic documentation · e264b446
      David Runge authored
      Add GPL-3.0 license.
      Add SPDX license identifier.
      Add SPDX license identifier.
      Install the `run_archiso.sh` script as global executable `run_archiso`.
      Use -D and -t flags to install to install files more generically (without a previous call to install the directory).
      Add README outlining the project's scope, how to build images from the profiles and how to test.
      Add list of all direct contributors to the repository.
      Add basic contribution guidelines, explaining the linter and the license in use.
      Closes #7
      Closes #3
  21. 28 Jul, 2020 4 commits
    • David Runge's avatar
      Copy files more generically · 47e11125
      David Runge authored
      Copy all files that do not need a rename generically (not specifying a destination file name).
      Do not rename vmlinuz-linux to vmlinuz or vmlinuz.efi (as this serves no purpose and makes the scripts more
      Do not rename microcode (i.e. {amd,intel}-ucode.img) when copying them and change all boot loader configuration files
      that assume a renamed microcode image.
      Add note and link to Arch Linux wiki to state why memtest.bin is renamed to memtest.
      Copy license files for {amd,intel}-ucode and memtest more generically by placing them into subdirectories with the same
      name as the package (to circumenvent overwriting one other).
      Closes #33
    • nl6720's avatar
    • nl6720's avatar
      Install all packages in one go and don't copy pacman.conf to airootfs · df93289b
      nl6720 authored
      Copy custom files to airootfs before installing packages.
      Instead of calling `mkarchiso init`, list all required packages in packages.x86_64 and install them all at once with `mkarchiso install`. The mkdir command which `mkarchiso init` performs is now done by make_custom_airootfs.
      Don't copy configs/releng/pacman.conf to airootfs, it is only meant to provide a unmodified pacman.conf durring pacstrap. In airootfs, an unmodified /etc/pacman.conf will be installed with the pacman package.
    • nl6720's avatar
      Fix baseline profile · c54a41fb
      nl6720 authored
      Install linux and mkinitcpio packages.
      Remove root user's password.
      Fixes https://bugs.archlinux.org/task/64236 .
  22. 20 Jul, 2020 1 commit
  23. 16 Jul, 2020 1 commit
    • hashworks's avatar
      Fix unexpected script_path behaviour · 6f0a15c3
      hashworks authored
      When one calls the `build.sh` scripts with bash instead of the shebang
      `$script_path` contains the filepath, not the parent dir:
      % cd /path
      % grep -A2 script_path= build.sh
      script_path=$(readlink -f "${0%/*}")
      echo "$script_path"
      exit 0
      % ./build.sh
      % bash build.sh
      This commit fixes that:
      % grep -A2 script_path= build.sh
      script_path="$( cd -P "$( dirname "$(readlink -f "$0")" )" && pwd )"
      echo "$script_path"
      exit 0
      % ./build.sh
      % bash build.sh
  24. 11 Jul, 2020 2 commits