1. 18 Jun, 2021 3 commits
  2. 15 Jun, 2021 1 commit
  3. 12 Jun, 2021 1 commit
  4. 05 Jun, 2021 3 commits
  5. 04 Jun, 2021 1 commit
  6. 01 Jun, 2021 1 commit
  7. 30 May, 2021 4 commits
  8. 29 May, 2021 7 commits
  9. 14 May, 2021 6 commits
  10. 13 May, 2021 4 commits
    • David Runge's avatar
      Add changelog for v54 · 28ab1180
      David Runge authored
      CHANGELOG.rst:
      Add changelog entry for v54.
      28ab1180
    • David Runge's avatar
      ci: Use environment variables to override build settings · 9827cb19
      David Runge authored
      .gitlab-ci.yml:
      Use environment variables to override the build settings offered by the build-host.sh script.
      Lower the RAM usage of the builds to 3072.
      Lower the COW space used by archiso to 2GiB.
      Remove dependency on libisoburn in the `before_script` section of the build target (libarchive and util-linux have
      replaced this requirement).
      Use size units in accordance with upstream documentation.
      Use the new name of the build's metrics file.
      
      Fixes #134
      9827cb19
    • David Runge's avatar
      ci: Consolidate build-host script · cde7296e
      David Runge authored
      .gitlab/ci/build-host.sh:
      Change all script-local variables to lower-case and make some of them overridable using environment variables (by
      providing defaults).
      Break down overly long commands by splitting them into a list of strings.
      Use local variables where possible.
      Change `main()` to use rsync instead of cp to copy the project to the build location more generically.
      Change `main()` to use rsync instead of cp to copy the build artifacts on the VM from the project's build directory to
      the output.
      Remove all unnecessary `function` keywords for function declarations.
      Replace the dependency on libisoburn's `xorriso` with libarchive's `bsdtar` and util-linux's `blkid` in
      `prepare_boot()`.
      Add `print_section_start()` and `print_section_end()` to reduce code duplication and error potential when printing lines
      for gitlab's collapsible sections (https://docs.gitlab.com/ee/ci/jobs/#custom-collapsible-sections).
      Document the script's behavior and expectations.
      Document the understood environment variables and add links to documentation on understood units (in case of size
      units).
      cde7296e
    • David Runge's avatar
      ci: consolidate build script · 8e44a8b7
      David Runge authored
      .gitlab/ci/build-inside-vm.sh:
      Add `print_section_start()` and `print_section_end()` to remove code duplication when printing gitlab collapsible
      sections (https://docs.gitlab.com/ee/ci/jobs/#custom-collapsible-sections).
      Document further script dependencies.
      Remove the temporary directory base (located in the project directory) instead of only the tempdir.
      Simplify setting file and directory ownership when running with sudo, by only doing it once, recursively on the output
      directory.
      Make the script's output more verbose by using verbose flags for removal, ownership changes and zsyncmake actions and by
      displaying e.g. created metrics and checksum files.
      Change `create_metrics()` to output to a `metrics.txt` by default.
      Change `create_checksums()` to create the checksums relative to the files.
      8e44a8b7
  11. 12 May, 2021 1 commit
  12. 11 May, 2021 4 commits
    • nl6720's avatar
      configs/releng/packages.x86_64: explicitly add wanted packages instead of... · 3678bba8
      nl6720 authored
      configs/releng/packages.x86_64: explicitly add wanted packages instead of relying on pulling them in as dependencies
      
      Fixes #119.
      3678bba8
    • nl6720's avatar
      configs/*: add VM guest packages and enable their services · bd2b861a
      nl6720 authored
      * virtualbox-guest-utils-nox package and vboxservice.service for VirtualBox.
      * qemu-guest-agent package and qemu-guest-agent.service for QEMU & libvirt.
      
      Implements #118.
      bd2b861a
    • David Runge's avatar
      ci: Expand parallel matrix with build modes · f86cb0fa
      David Runge authored
      .gitlab-ci.yml:
      Expand the parallel matrix with build modes per profile.
      Do not run netboot with the baseline profile, as codesigning is not supported yet (#132).
      Remove tagging secure, as archiso builds will only ever be used for testing the project.
      Build ISOs using fast-single-thread (they take very long otherwise and hit the job time limit) and use any available
      runner for anything else.
      f86cb0fa
    • David Runge's avatar
      ci: build based on buildmodes · 5630a23b
      David Runge authored
      .gitlab/ci/build-inside-vm.sh:
      Expand the script to allow building based on mkarchiso's buildmodes.
      Accept two parameters now: profile and buildmode.
      
      Add gitlab collapsable sections by adding specific printfs for it to all functions.
      Add extglob to be able to more specifically target files.
      Change `create_checksums()` to also generate the legacy md5 and sha1 checksums.
      Change `create_checksums()` and `create_zsync_delta()` to accept and process an unspecified amount of files as
      parameters.
      Change `create_zsync_delta()` to lower the blocksize when creating a file for the bootstrap image.
      Change `create_metrics()` to create metrics depending on build mode.
      Rename `create_temp_pgp_key()` to `create_ephemeral_pgp_key()`.
      Add `create_ephemeral_codesigning_key()` to create a codesigning key, that is used to sign the netboot artifacts.
      Change `run_mkarchiso()` to also create an ephemeral codesigning key before running mkarchiso and to run
      `create_checksums()` and `create_zsync_delta()` with files depending on build mode.
      
      .gitlab/ci/build-host.sh:
      Call `build-inside-vm.sh` using the PROFILE and BUILDMODE environment variables as parameters.
      5630a23b
  13. 10 May, 2021 4 commits
    • David Runge's avatar
      mkarchiso: Also create package list for netboot · 6b11d7be
      David Runge authored
      archiso/mkarchiso:
      Change `_make_pkglist()` to also generate the package list when using the netboot build mode.
      6b11d7be
    • David Runge's avatar
      Update project documentation related to netboot · ace88aaa
      David Runge authored
      README.rst:
      Add openssl as another dependency.
      Mention the export of netboot artifacts in the project introduction.
      Mention that archiso may be used on other operating systems as well.
      ace88aaa
    • David Runge's avatar
      docs: Add netboot to buildmodes documentation · 4d1e8988
      David Runge authored
      docs/README.profile.rst:
      Add documentation for the netboot buildmode.
      4d1e8988
    • David Runge's avatar
      mkarchiso: Add buildmode to export netboot artifacts · d54bf635
      David Runge authored
      archiso/mkarchiso:
      Implement a buildmode to export artifacts required for netboot with IPXE.
      When providing the buildmode 'netboot' via profiledef.sh or the `-m` option, all targets necessary to create an ISO
      medium are built, but the components required for netboot are exported to the output dir.
      Optionally, it is possible to provide a set of certificates for codsigning using the `-c` option, where the first file
      is considered as the signer certificate and the second as the key.
      
      Add `_export_netboot_artifacts()` to copy build artifacts to the output directory.
      Add `_sign_netboot_artifacts()` to codesign the netboot artifacts in the work directory.
      Add `_validate_requirements_buildmode_netboot()` to check for openssl.
      Add `_build_iso_base()` to implement common function calls between the 'iso' and the 'netboot' buildmodes.
      Add `_build_buildmode_netboot()` to make use of `_build_iso_base()`, (optionally) `_sign_netboot_artifacts()` and
      `_export_netboot_artifacts()`.
      Change `_build_buildmode_iso()` to make use of `_build_iso_base()`.
      Add `-c` as an option to mkarchiso to read in a list of file names.
      Unify the output of `_usage()` by using the same definition style for lists of strings provided to options that accept
      them (e.g. `-c`, `-m`, `-p`).
      
      Closes #128
      d54bf635