1. 10 Oct, 2020 2 commits
  2. 07 Oct, 2020 3 commits
  3. 04 Oct, 2020 1 commit
  4. 03 Oct, 2020 1 commit
    • David Runge's avatar
      Replace bash arithmetic with awk functions · 55cfb8ba
      David Runge authored
      archiso/mkarchiso:
      The bash arithmethics in _make_boot_uefi-x64.systemd-boot.esp() introduced rounding issues, that can lead to
      insufficient FAT image size for the files.
      Conversion functions for awk now replace the bash arithmetics and additionally a ceil() function rounds the calculated
      size up to the next full MiB.
      Add an info message about the size of the created FAT image.
      
      Fixes #70
      55cfb8ba
  5. 29 Sep, 2020 1 commit
    • David Runge's avatar
      Fix info message for legacy command · 2e1ddec0
      David Runge authored
      archiso/mkarchiso:
      Change the way _show_config() displays information about the build environment, as displaying a profile directory as a
      legacy command to mkarchiso is confusing.
      The function now prints a deprecation message if '$command_name' is not a directory (i.e. not a profile).
      Remove 'command_' prefix from help output for legacy commands (the prefix is only in use for internal functions).
      
      Relates to !69
      Fixes #60
      2e1ddec0
  6. 27 Sep, 2020 6 commits
  7. 05 Sep, 2020 1 commit
  8. 02 Sep, 2020 1 commit
  9. 25 Aug, 2020 2 commits
    • David Runge's avatar
      Add missing declaration of override_install_dir · 4b401931
      David Runge authored
      **archiso/mkarchiso**:
      
      In d90184a7 the unbound variable `override_install_dir` was introduced by accident.
      
      It is required to be set to empty string to provide override functionality for `install_dir`.
      
      Fixes #57
      4b401931
    • 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
  10. 21 Aug, 2020 1 commit
    • nl6720's avatar
      archiso/mkarchiso: reduce duplication and add more info messages · e2c5b452
      nl6720 authored
      Fixes to issues introduced in !59 :
      - _make_boot_on_fat(): copy initramfs from "${airootfs_dir}/boot/" not "${isofs_dir}/". Otherwise UEFI-only ISOs cannot be built.
      
      Some general fixes:
      - Replace mkdir with install. Unlike mkdir, install does not complain when the target exists.
      - Reduce excess newlines produced by messages.
      - Ensure FAT image gets unmounted in case the script is interrupted.
      - Create the ext4 image with mkfs.ext4 instead of truncate.
      - Do not rely on user and group names for chown commands. Use numeric UID and GID instead.
      - Minimize the times stderr is redirected to /dev/null.
      - Add missing '?' to getopts.
      - Standardize function definitions by removing spaces between the function name and () .
      e2c5b452
  11. 18 Aug, 2020 6 commits
  12. 17 Aug, 2020 6 commits
  13. 11 Aug, 2020 3 commits
  14. 30 Jul, 2020 6 commits