aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Rename build scriptDavid Runge2021-07-012-1/+1
| | | | | | | | .gitlab/ci/build_archiso.sh: Rename .gitlab/ci/build-inside-vm.sh to .gitlab/ci/build_archiso.sh. .gitlab-ci.yml: Rename BUILD_SCRIPT to build_archiso.sh.
* Merge branch 'changelog/56'David Runge2021-06-301-0/+19
|\ | | | | | | | | * changelog/56: Add changelog for v56
| * Add changelog for v56David Runge2021-06-301-0/+19
|/ | | | | CHANGELOG.rst: Add a changelog entry for v56.
* Merge branch 'issues/132'David Runge2021-06-302-12/+23
|\ | | | | | | | | | | * issues/132: gitlab-ci: Also build a baseline netboot target archiso/mkarchiso: Generalize handling of ucodes
| * gitlab-ci: Also build a baseline netboot targetDavid Runge2021-06-301-2/+1
| | | | | | | | | | .gitlab-ci.yml: With #132 being fixed, it is possible to properly build the baseline netboot target without failure.
| * archiso/mkarchiso: Generalize handling of ucodesDavid Runge2021-06-301-10/+22
|/ | | | | | | | | | archiso/mkarchiso: Generalize the handling of ucode files (e.g. copying, signing, size calculation) by introducing the global readonly array of expected ucode names instead of hardcoding them in various functions. When making use of ucode files in `_make_boot_on_iso9660()`, `_make_bootmode_uef-x86.systemd-boot.esp()` and `_sign_netboot_artifacts()` create a list of files that is guaranteed to contain existing files. Fixes #132
* Merge remote-tracking branch 'grazzolini/parallel_downloads'David Runge2021-06-302-2/+2
|\ | | | | | | | | | | * grazzolini/parallel_downloads: baseline/pacman.conf: Enable parallel downloads releng/pacman.conf: Enable parallel downloads
| * baseline/pacman.conf: Enable parallel downloadsGiancarlo Razzolini2021-06-291-1/+1
| | | | | | | | | | Now that pacman 6 is around, enable parallel downloads to speed up the installation process. Added to the baseline configuration to also improve the pipeline.
| * releng/pacman.conf: Enable parallel downloadsGiancarlo Razzolini2021-06-291-1/+1
|/ | | | | Now that pacman 6 is around, enable parallel downloads to speed up the installation process.
* Merge remote-tracking branch 'nl6720/env-i-SOURCE_DATE_EPOCH'David Runge2021-06-291-2/+2
|\ | | | | | | | | * nl6720/env-i-SOURCE_DATE_EPOCH: mkarchiso: pass SOURCE_DATE_EPOCH to chroot
| * mkarchiso: pass SOURCE_DATE_EPOCH to chrootnl67202021-06-221-2/+2
|/
* Merge remote-tracking branch 'nl6720/update-wiki-url'David Runge2021-06-184-5/+5
|\ | | | | | | | | * nl6720/update-wiki-url: Update ArchWiki article URLs
| * Update ArchWiki article URLsnl67202021-06-184-5/+5
|/ | | | Use the new, prettier short URLs.
* Merge remote-tracking branch 'sxw/issue25'David Runge2021-06-181-0/+6
|\ | | | | | | | | * sxw/issue25: Add documentation for the `script=` variable
| * Add documentation for the `script=` variableSimon Wilper2021-06-151-0/+6
|/
* Merge remote-tracking branch 'nl6720/pacman6'David Runge2021-06-122-2/+4
|\ | | | | | | | | * nl6720/pacman6: configs/*/pacman.conf: update configuration file for pacman 6
| * configs/*/pacman.conf: update configuration file for pacman 6nl67202021-06-052-2/+4
|/ | | | | | Based on https://github.com/archlinux/svntogit-packages/blob/accc1d210133a933f2b26e0aad842c27d00c8b0c/trunk/pacman.conf Implements #136
* Merge remote-tracking branch 'nl6720/ARCHISO_GNUPG_FD-unbound-variable'David Runge2021-06-051-2/+4
|\ | | | | | | | | * nl6720/ARCHISO_GNUPG_FD-unbound-variable: mkarchiso: fix unbound variable when not using GPG signing
| * mkarchiso: fix unbound variable when not using GPG signingnl67202021-06-051-2/+4
|/ | | | Fixes #138
* Merge remote-tracking branch 'nl6720/env-i'David Runge2021-06-041-4/+3
|\ | | | | | | | | * nl6720/env-i: archiso/mkarchiso: clear environment variables when chrooting
| * archiso/mkarchiso: clear environment variables when chrootingnl67202021-06-011-4/+3
|/ | | | | | | Environment variables can interfere with the commands in chroot. This causes issues when the environment variables specify a path that does not exist inside the chroot, e.g. if TMPDIR is set to a custom value. Fixes https://bugs.archlinux.org/task/70580 .
* Merge branch 'changelog/55'David Runge2021-05-301-0/+15
|\ | | | | | | | | * changelog/55: Add changelog for v55
| * Add changelog for v55David Runge2021-05-301-0/+15
|/ | | | | CHANGELOG.rst: Add changelog entries for v55.
* Merge branch 'mr/118'David Runge2021-05-301-0/+1
|\ | | | | | | | | * mr/118: Add pv to the list of releng packages
| * Add pv to the list of releng packagesDavid Runge2021-05-301-0/+1
|/ | | | | configs/releng/packages.x86_64: Add pv, as it was not added in the context of !118.
* Merge remote-tracking branch 'nl6720/baseline-erofs'David Runge2021-05-301-2/+2
|\ | | | | | | | | * nl6720/baseline-erofs: configs/baseline: use EROFS based image
| * configs/baseline: use EROFS based imagenl67202021-05-291-2/+2
|/ | | | Showcase #59.
* Merge remote-tracking branch 'nl6720/networkd-replace-type-with-name'David Runge2021-05-293-3/+4
|\ | | | | | | | | * nl6720/networkd-replace-type-with-name: configs/releng/airootfs/etc/systemd/network/: match by globbing the interface name instead of matching the type
| * configs/releng/airootfs/etc/systemd/network/: match by globbing the ↵nl67202021-05-293-3/+4
|/ | | | | | | | | | interface name instead of matching the type Type=ether matches virtual Ethernet interfaces (veth*) which may break networking inside containers. Fixes https://bugs.archlinux.org/task/70892 . Partially reverts 8a521d0bfaedf16b95c09b4837981c4b567b5118 .
* Merge branch 'issues/135'David Runge2021-05-291-1/+1
|\ | | | | | | | | * issues/135: Adjust documentation on IRC support channel
| * Adjust documentation on IRC support channelDavid Runge2021-05-291-1/+1
|/ | | | | README.rst: Update the documentation on IRC support channel, after Arch Linux has moved to Libera Chat.
* Merge remote-tracking branch 'sxw/copytoram'David Runge2021-05-2913-4/+59
|\ | | | | | | | | | | | | | | | | | | * sxw/copytoram: Apply copytoram Boot Option Menu Entries also to releng Fence add_binary for pv Reorder UEFI boot menu entries Update README.bootparams Apply 1 suggestion(s) to 1 file(s) add optional pv tool
| * Apply copytoram Boot Option Menu Entries also to relengSimon Wilper2021-05-146-1/+21
| |
| * Fence add_binary for pvSimon Wilper2021-05-141-1/+6
| |
| * Reorder UEFI boot menu entriesSimon Wilper2021-05-143-1/+1
| |
| * Update README.bootparamsSimon Wilper2021-05-141-1/+3
| | | | | | | | | | Explain the purpose of optionally adding the "pv" program to the package list.
| * Apply 1 suggestion(s) to 1 file(s)Simon Wilper2021-05-141-1/+1
| |
| * add optional pv toolSimon Wilper2021-05-145-1/+29
|/ | | | | use pv to give feedback on copying the airootfs to RAM when copytoram kernel parameter is given
* Add changelog for v54David Runge2021-05-131-0/+29
| | | | | CHANGELOG.rst: Add changelog entry for v54.
* ci: Use environment variables to override build settingsDavid Runge2021-05-131-15/+15
| | | | | | | | | | | | | .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
* ci: Consolidate build-host scriptDavid Runge2021-05-131-53/+173
| | | | | | | | | | | | | | | | | | | .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).
* ci: consolidate build scriptDavid Runge2021-05-131-54/+65
| | | | | | | | | | | | | | .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.
* configs/releng/airootfs/etc/systemd/system/pacman-init.service: don't ↵nl67202021-05-121-1/+1
| | | | | | | | hardcode the keyrings If the keyring is not specified, pacman-key will simply use all keyrings from /usr/share/pacman/keyrings/. Fixes #133.
* configs/releng/packages.x86_64: explicitly add wanted packages instead of ↵nl67202021-05-111-1/+6
| | | | | | relying on pulling them in as dependencies Fixes #119.
* configs/*: add VM guest packages and enable their servicesnl67202021-05-116-0/+8
| | | | | | | * virtualbox-guest-utils-nox package and vboxservice.service for VirtualBox. * qemu-guest-agent package and qemu-guest-agent.service for QEMU & libvirt. Implements #118.
* ci: Expand parallel matrix with build modesDavid Runge2021-05-111-16/+22
| | | | | | | | | .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.
* ci: build based on buildmodesDavid Runge2021-05-112-44/+184
| | | | | | | | | | | | | | | | | | | | | .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.
* mkarchiso: Also create package list for netbootDavid Runge2021-05-101-1/+1
| | | | | archiso/mkarchiso: Change `_make_pkglist()` to also generate the package list when using the netboot build mode.
* Update project documentation related to netbootDavid Runge2021-05-101-2/+3
| | | | | | | 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.
* docs: Add netboot to buildmodes documentationDavid Runge2021-05-101-1/+2
| | | | | docs/README.profile.rst: Add documentation for the netboot buildmode.