Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-06-30Merge remote-tracking branch 'grazzolini/parallel_downloads'David Runge
* grazzolini/parallel_downloads: baseline/pacman.conf: Enable parallel downloads releng/pacman.conf: Enable parallel downloads
2021-06-29baseline/pacman.conf: Enable parallel downloadsGiancarlo Razzolini
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.
2021-06-29releng/pacman.conf: Enable parallel downloadsGiancarlo Razzolini
Now that pacman 6 is around, enable parallel downloads to speed up the installation process.
2021-06-29Merge remote-tracking branch 'nl6720/env-i-SOURCE_DATE_EPOCH'David Runge
* nl6720/env-i-SOURCE_DATE_EPOCH: mkarchiso: pass SOURCE_DATE_EPOCH to chroot
2021-06-22mkarchiso: pass SOURCE_DATE_EPOCH to chrootnl6720
2021-06-18Merge remote-tracking branch 'nl6720/update-wiki-url'David Runge
* nl6720/update-wiki-url: Update ArchWiki article URLs
2021-06-18Update ArchWiki article URLsnl6720
Use the new, prettier short URLs.
2021-06-18Merge remote-tracking branch 'sxw/issue25'David Runge
* sxw/issue25: Add documentation for the `script=` variable
2021-06-15Add documentation for the `script=` variableSimon Wilper
2021-06-12Merge remote-tracking branch 'nl6720/pacman6'David Runge
* nl6720/pacman6: configs/*/pacman.conf: update configuration file for pacman 6
2021-06-05configs/*/pacman.conf: update configuration file for pacman 6nl6720
Based on https://github.com/archlinux/svntogit-packages/blob/accc1d210133a933f2b26e0aad842c27d00c8b0c/trunk/pacman.conf Implements #136
2021-06-05Merge remote-tracking branch 'nl6720/ARCHISO_GNUPG_FD-unbound-variable'David Runge
* nl6720/ARCHISO_GNUPG_FD-unbound-variable: mkarchiso: fix unbound variable when not using GPG signing
2021-06-05mkarchiso: fix unbound variable when not using GPG signingnl6720
Fixes #138
2021-06-04Merge remote-tracking branch 'nl6720/env-i'David Runge
* nl6720/env-i: archiso/mkarchiso: clear environment variables when chrooting
2021-06-01archiso/mkarchiso: clear environment variables when chrootingnl6720
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 .
2021-05-30Merge branch 'changelog/55'David Runge
* changelog/55: Add changelog for v55
2021-05-30Add changelog for v55David Runge
CHANGELOG.rst: Add changelog entries for v55.
2021-05-30Merge branch 'mr/118'David Runge
* mr/118: Add pv to the list of releng packages
2021-05-30Add pv to the list of releng packagesDavid Runge
configs/releng/packages.x86_64: Add pv, as it was not added in the context of !118.
2021-05-30Merge remote-tracking branch 'nl6720/baseline-erofs'David Runge
* nl6720/baseline-erofs: configs/baseline: use EROFS based image
2021-05-29configs/baseline: use EROFS based imagenl6720
Showcase #59.
2021-05-29Merge remote-tracking branch 'nl6720/networkd-replace-type-with-name'David Runge
* nl6720/networkd-replace-type-with-name: configs/releng/airootfs/etc/systemd/network/: match by globbing the interface name instead of matching the type
2021-05-29configs/releng/airootfs/etc/systemd/network/: match by globbing the ↵nl6720
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 .
2021-05-29Merge branch 'issues/135'David Runge
* issues/135: Adjust documentation on IRC support channel
2021-05-29Adjust documentation on IRC support channelDavid Runge
README.rst: Update the documentation on IRC support channel, after Arch Linux has moved to Libera Chat.
2021-05-29Merge remote-tracking branch 'sxw/copytoram'David Runge
* 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
2021-05-14Apply copytoram Boot Option Menu Entries also to relengSimon Wilper
2021-05-14Fence add_binary for pvSimon Wilper
2021-05-14Reorder UEFI boot menu entriesSimon Wilper
2021-05-14Update README.bootparamsSimon Wilper
Explain the purpose of optionally adding the "pv" program to the package list.
2021-05-14Apply 1 suggestion(s) to 1 file(s)Simon Wilper
2021-05-14add optional pv toolSimon Wilper
use pv to give feedback on copying the airootfs to RAM when copytoram kernel parameter is given
2021-05-13Add changelog for v54David Runge
CHANGELOG.rst: Add changelog entry for v54.
2021-05-13ci: Use environment variables to override build settingsDavid Runge
.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
2021-05-13ci: Consolidate build-host scriptDavid Runge
.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).
2021-05-13ci: consolidate build scriptDavid Runge
.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.
2021-05-12configs/releng/airootfs/etc/systemd/system/pacman-init.service: don't ↵nl6720
hardcode the keyrings If the keyring is not specified, pacman-key will simply use all keyrings from /usr/share/pacman/keyrings/. Fixes #133.
2021-05-11configs/releng/packages.x86_64: explicitly add wanted packages instead of ↵nl6720
relying on pulling them in as dependencies Fixes #119.
2021-05-11configs/*: add VM guest packages and enable their servicesnl6720
* virtualbox-guest-utils-nox package and vboxservice.service for VirtualBox. * qemu-guest-agent package and qemu-guest-agent.service for QEMU & libvirt. Implements #118.
2021-05-11ci: Expand parallel matrix with build modesDavid Runge
.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.
2021-05-11ci: build based on buildmodesDavid Runge
.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.
2021-05-10mkarchiso: Also create package list for netbootDavid Runge
archiso/mkarchiso: Change `_make_pkglist()` to also generate the package list when using the netboot build mode.
2021-05-10Update project documentation related to netbootDavid Runge
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.
2021-05-10docs: Add netboot to buildmodes documentationDavid Runge
docs/README.profile.rst: Add documentation for the netboot buildmode.
2021-05-10mkarchiso: Add buildmode to export netboot artifactsDavid Runge
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
2021-05-09Extend project overview with info on bootstrap imagesDavid Runge
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.
2021-05-09docs: Add documentation for buildmodes and bootstrap build modeDavid Runge
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.
2021-05-09mkarchiso: Implement buildmodes that allow building bootstrap imagesDavid Runge
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
2021-05-09baseline: Add bootstrap packages fileDavid Runge
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.
2021-05-09baseline: Add buildmodes to profiledef.shDavid Runge
configs/baseline/profiledef.sh: Add `buildmodes` array with default entry for the 'iso' buildmode.