1. 30 Apr, 2021 6 commits
    • nl6720's avatar
      mkarchiso: create reproducible gzip archives · 0406f9ca
      nl6720 authored
      Use the gzip option -n/--no-name to prevent saving the original file name and timestamp.
      Fixes #104.
    • nl6720's avatar
      mkarchiso: make sure to remove potentially preexisting files from... · a771297e
      nl6720 authored
      mkarchiso: make sure to remove potentially preexisting files from $airootfs_dir before creating them with output redirection
      mkarchiso creates "${airootfs_dir}/etc/machine-id" by using output redirection. If this file is an existing symlink, then the printf output would be written to the symlink target. It can be a big issue in case the symlink resolves to a path outside ${airootfs_dir}.
      Fixes #121.
    • nl6720's avatar
      mkarchiso: append IMAGE_ID and IMAGE_VERSION to /etc/os-release · 98c7b676
      nl6720 authored
      This provides the ISO version information in the os-release file.
      * IMAGE_ID is set to the value of $iso_name.
      * IMAGE_VERSION is set to the value of $iso_version.
      Implements #116.
    • nl6720's avatar
      Add package count, El Torito EFI image size and initramfs image sizes to GitLab metrics · 0ed1c61f
      nl6720 authored
      Metrics are now collected in build-inside-vm.sh since the files in question are in the work directory.
      Implements #101 and #111.
    • David Runge's avatar
      Ignore SC3060 in initcpio hook · 8bf95d37
      David Runge authored
      Disable shellcheck's SC3060, as ash is able to do bash-like string replacements.
    • David Runge's avatar
      Fix shellcheck complains in CI scripts · bde39719
      David Runge authored
      Change the readonly TMPDIR variable to a global tmpdir variable and set it in the `init()` function.
      Change assigning the readonly tmpdir variable directly to assigning it after declaring it.
      Change `cleanup()` and `create_zsync_delta()` to use bash-style statements and also check whether SUDO_GID is set before
      using it.
  2. 07 Apr, 2021 2 commits
  3. 30 Mar, 2021 4 commits
  4. 29 Mar, 2021 3 commits
    • David Runge's avatar
      Add releases section with PGP information · bc007ca5
      David Runge authored
      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
      Fixes #114
    • David Runge's avatar
      Reduce amount of checked mirrors · d178183c
      David Runge authored
      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
      Fixes #92
    • David Runge's avatar
      Allow redirects for scripts · 0664efcf
      David Runge authored
      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
  5. 26 Mar, 2021 5 commits
  6. 25 Mar, 2021 1 commit
  7. 21 Mar, 2021 2 commits
  8. 14 Mar, 2021 4 commits
  9. 09 Mar, 2021 2 commits
    • 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 archlinux/archiso#59
    • nl6720's avatar
      archiso/initcpio/hooks/archiso: remove redundant /sfs/ from airootfs mount point · 711ab4cd
      nl6720 authored
      Remove /run/archiso/bootmnt directory if nothing is mounted there. An empty directory is just confusing.
  10. 16 Feb, 2021 2 commits
  11. 06 Feb, 2021 1 commit
  12. 01 Feb, 2021 1 commit
  13. 31 Jan, 2021 7 commits
    • David Runge's avatar
      build-host.sh: Style and syntax fixes · b588c526
      David Runge authored
      Set shebang to /usr/bin/env bash to be more portable/flexible.
      Turn all posix statements ([]) to bash style statements ([[]]), as we are using bash.
      Terminate the list of parameters to rm or cp with --.
      Replace the implementation of finding a local ISO to use with one that relies on a sorted list of potential images.
      Use virtio-net-pci for networking with qemu.
      Set the cow_spacesize to 4G for the archiso environment.
      Use --needed in the call to pacman to not re-install already up-to-date targets.
      Attempt a full system upgrade (but ignore the kernel).
      Increase the timeout for when installing packages to the archiso environment using pacman to 120s, as a system upgrade
      is being done as well.
      Use systemctl poweroff -i to shut down the virtual machine as it is more future proof and robust.
    • David Runge's avatar
      Add build stage for continuous integration · 428bf473
      David Runge authored
      Add a build stage to the gitlab CI, that facilitates the scripts below .gitlab/ci/, building the baseline and releng
      profiles in parallel.
      Distinguish the use-case in which builds are done for master, schedules and tags in a secure environment and any other
      where builds just have to be fast (for ensuring nothing is broken).
      Use MiB as block size for the du call when generating data for the metrics file.
    • David Runge's avatar
      Add continuous integration scripts to linting · 2a244294
      David Runge authored
      Add scripts below .gitlab/ci/ to the lint target of the Makefile.
    • David Runge's avatar
      Add scripts for continuous integration · 07239499
      David Runge authored
      Add script to be run in a container with access to qemu.
      It is a slight modification of arch-boxes' build-host.sh script to cater to the specific archiso requirements.
      Add script to be run in virtualized environment, established by build-host.sh.
      This script builds the actual archiso profiles and creates checksum for the resulting image files.
    • nl6720's avatar
      configs/releng: move locale-gen from customize_airootfs.sh to a pacman hook · f9a7b206
      nl6720 authored
      This finally removes customize_airootfs.sh from releng.
      Fixes #21 .
    • nl6720's avatar
      config/releng: remove pacman hooks specific to ISO build process from airootfs after they run · a46c7408
      nl6720 authored
      This works around https://bugs.archlinux.org/task/49347 .
      Leaving the hooks in the airootfs image will result in it being run when pacstrap is run in the live environment. This should not happen as they are intended for the ISO build process only.
      Fixes #91 .
    • Sven-Hendrik Haase's avatar
      Update my email in AUTHORS · 767c0956
      Sven-Hendrik Haase authored