This project is mirrored from https://gitlab.archlinux.org/archlinux/archiso.git. Pull mirroring updated .
  1. 09 May, 2021 7 commits
    • David Runge's avatar
      Extend project overview with info on bootstrap images · 1fed84c7
      David Runge authored
      README.rst:
      Mention bootstrap images in the opening words of the project documentation.
      Add awk, erofs-utils, findutils, gzip, libarchive, pacman and sed to dependencies.
      1fed84c7
    • David Runge's avatar
      docs: Add documentation for buildmodes and bootstrap build mode · 1630d76c
      David Runge authored
      docs/README.profile.rst:
      Add documentation for the optional `buildmodes` array in profiledef.sh, the understood build modes `bootstrap` and
      `iso` and the implicit default build mode 'iso'.
      Add basic documentation for the bootstrap_packages.arch file.
      Add missing backticks.
      Fix indent.
      1630d76c
    • David Runge's avatar
      mkarchiso: Implement buildmodes that allow building bootstrap images · 2cac5396
      David Runge authored
      archiso/mkarchiso:
      Introduce a buildmodes array, that can be used to build towards more than one output artifact type.
      Add a buildmode for building a bootstrap image (a compressed file containing a very minimal Arch installation).
      The buildmodes can be set either using a `buildmodes` array in a `profiledef.sh` or by using the `-m` option flag to
      mkarchiso and providing a space delimited, quoted list.
      The 'iso' buildmode is always the default if no buildmodes are setup.
      Implement building a bootstrap image, when using the 'bootstrap' `buildmode`, which uses a profile's
      'bootstrap_packages.$arch' file to install packages using pacstrap and compressing it to a bootstrap image.
      The name of the output file is currently constructed from the `iso_name` value by appending `-bootstrap`.
      
      Replace the uses of `airootfs_dir` with the more generic `pacstrap_dir`, as the location denotes where pacstrap is
      being used.
      Replace uses of `img_name` with `image_name` and removing it from the global scope, so that it can be overridden per
      each buildmode.
      Rename `_cleanup_airootfs_dir()` to `_cleanup_pacstrap_dir()`.
      Make `_run_once()` more generic by prepending the state files with a string defined by `run_once_mode`.
      Add `_validate_requirements_buildmode_all()`, `_validate_requirements_buildmode_bootstrap()` and
      `_validate_requirements_buildmode_iso()` to validate the general requirements of the different buildmodes.
      Add `_build_bootstrap_image()` to generate the bootstrap image using bsdtar.
      Rename `_build_iso()` to `_build_iso_image()` to fit the naming of the respective bootstrap function.
      Extend `_read_profile()` to include the reading of bootstrap image specific packages from a file.
      Extend `_validate_options()` to include testing of the bootstrap packages and running of validation functions for all
      buildmodes.
      Change `_set_overrides()` to override the buildmodes if they are specified via the `-m` option flag.
      Change `_make_version()` to be used generically in all buildmodes.
      Change `_make_pkglist()` to be used generically in all buildmodes.
      Rename `_build_profile()` to `_build_buildmode_iso()` and set local variables that are specific to the buildmode, such
      as `image_name`, `pacstrap_dir`, `run_once_mode` , `buildmode_packages` and `buildmode_pkg_list`.
      Add `_build_buildmode_bootstrap()` and set local variables that are specific to the buildmode, such as `image_name`,
      `pacstrap_dir`, `run_once_mode` , `buildmode_packages` and `buildmode_pkg_list`.
      Add the `-m` option flag to the list of flags.
      
      Closes #127
      2cac5396
    • David Runge's avatar
      baseline: Add bootstrap packages file · 535bc3c0
      David Runge authored
      configs/baseline/bootstrap_packages.x86_64:
      Add a packages file for bootstrap images using the baseline profile and add arch-install-scripts and base to it.
      535bc3c0
    • David Runge's avatar
      baseline: Add buildmodes to profiledef.sh · b7fd696e
      David Runge authored
      configs/baseline/profiledef.sh:
      Add `buildmodes` array with default entry for the 'iso' buildmode.
      b7fd696e
    • David Runge's avatar
      releng: Add buildmodes to profiledef.sh · 6afa6958
      David Runge authored
      configs/releng/profiledef.sh:
      Add a `buildmodes` array to releng's profiledef.sh with the up-to-now default buildmode 'iso'.
      6afa6958
    • David Runge's avatar
      releng: Add packages file for bootstrap image · 9c84b7ca
      David Runge authored
      configs/releng/bootstrap_packages.x86_64:
      Add packages file for bootstrap images and add arch-install-scripts and base.
      9c84b7ca
  2. 06 May, 2021 1 commit
  3. 05 May, 2021 2 commits
    • David Runge's avatar
      Use QEMU 6.x options · 4b14350e
      David Runge authored
      scripts/run_archiso:
      Change parameters to qemu's `-drive` option to make use of the explicit `read-only=on`, as the implicit `read-only` is
      now obsolete.
      
      Closes #126
      4b14350e
    • David Runge's avatar
      Use QEMU 6.x options · c58b44f0
      David Runge authored
      .gitlab/ci/build-host.sh:
      Change parameters to qemu's `-drive` option to make use of the explicit `read-only=on`, as the implicit `read-only` is
      now obsolete.
      c58b44f0
  4. 01 May, 2021 4 commits
    • David Runge's avatar
      Set more generic output for signatures · 42cdf867
      David Runge authored
      archiso/mkarchiso:
      Change the help output to reflect that the `-g` option is generically signing a rootfs (which may be e.g. squashfs or
      erofs).
      Change the output of `_mksignature()` to be more generic, as it signs any type of understood rootfs image (which may be
      e.g. squashfs or erofs).
      42cdf867
    • David Runge's avatar
      Force PGP signature file extension · cc735dbb
      David Runge authored
      archiso/mkarchiso:
      Force the file extension in use for the PGP signatures of the rootfs to always be .sig.
      When gnupg's 'armor' configuration option is used, the output otherwise defaults to using .asc.
      As the verification hook in mkinitcpio-archiso expects the .sig file extension, verifying the rootfs will fail in that
      scenario.
      cc735dbb
    • David Runge's avatar
      Add ephemeral signing key to CI setup · 73e3ccdb
      David Runge authored
      .gitlab/ci/build-inside-vm.sh:
      Create an ephemeral signing key for signing the rootfs image (e.g. squashfs or erofs) when building the profiles.
      
      Implements #125
      73e3ccdb
    • David Runge's avatar
      Add changelog for v53 · e2cce07d
      David Runge authored
      CHANGELOG.rst:
      Add changelog for v53
      e2cce07d
  5. 30 Apr, 2021 14 commits
  6. 07 Apr, 2021 2 commits
  7. 30 Mar, 2021 4 commits
  8. 29 Mar, 2021 3 commits
    • David Runge's avatar
      Add releases section with PGP information · bc007ca5
      David Runge authored
      README.rst:
      Add a "Releases" section that specifies who is creating releases and which PGP key ID is used to sign tags.
      Additionally, information about how to retrieve the relevant public key and how to verify a tag in the repository is
      added.
      
      Fixes #114
      bc007ca5
    • 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
  9. 26 Mar, 2021 3 commits