Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-08-25mkarchiso: split out build mode specific checks from _validate_options to ↵nl6720
_validate_requirements_buildmode_* The bootstrap build mode does not use packages.${arch}, ${bootmodes[@]} or $airootfs_image_type so there's no need to validate them. Requirements common to iso and netboot are checked with the _validate_common_requirements_buildmode_iso_netboot function. Fixes #149. * Rename _validate_requirements_buildmode_all to _validate_common_requirements_buildmode_all to prevent potential conflicts since we are using _validate_requirements_buildmode_${_buildmode} to run the functions. * Improve searching in an array. See https://stackoverflow.com/a/15394738.
2021-08-25mkarchiso: fix unbound variable errors in _validate_optionsnl6720
$pkg_list_from_file and $bootstrap_pkg_list_from_file are arrays, they must be referenced as such. Fixes https://bugs.archlinux.org/task/71852. Remove quotes from arithmetic expressions.
2021-08-24Merge remote-tracking branch 'nl6720/gpg-sender'David Runge
* nl6720/gpg-sender: .gitlab/ci/build_archiso.sh: use mkarchiso's -G option mkarchiso: support setting gpg sender mkarchiso: add some sane gpg options to override those set in user's gpg.conf
2021-08-25.gitlab/ci/build_archiso.sh: use mkarchiso's -G optionnl6720
Set gpg's --sender.
2021-08-25mkarchiso: support setting gpg sendernl6720
Add new -G option to set gpg's --sender. This allows to see who signed the rootfs image without needing to import the gpg key from the keyring in initramfs.
2021-08-25mkarchiso: add some sane gpg options to override those set in user's gpg.confnl6720
* Add --batch, since gpg is run in a script. * Add --no-armor (this is the default). Armored output provides no benifit here. * Add --no-include-key-block (this is the default). There is no need to have the gpg key in the signature. The mkinitcpio hook will verify the signature against the included keyring. Remove the output files before running gpg. Otherwise gpg --batch will fail if they exist.
2021-08-24Merge remote-tracking branch 'nl6720/openssh-8.7p1'David Runge
* nl6720/openssh-8.7p1: configs/*/airootfs/etc/ssh/sshd_config: update to openssh 8.7p1-1
2021-08-25configs/*/airootfs/etc/ssh/sshd_config: update to openssh 8.7p1-1nl6720
Update /etc/ssh/sshd_config to match upstream changes. The only modification remains "PermitRootLogin yes".
2021-08-24Merge remote-tracking branch 'nl6720/netboot-version'David Runge
* nl6720/netboot-version: mkarchiso: put version files in netboot artifacts
2021-08-24mkarchiso: put version files in netboot artifactsnl6720
Fixes #147.
2021-08-24Merge remote-tracking branch 'nl6720/no-mount'David Runge
* nl6720/no-mount: mkarchiso: ensure there are no existing image files before trying to create them mkarchiso: copy files to ext4 image using mkfs.ext4's -d option instead of mounting the file system
2021-08-15mkarchiso: ensure there are no existing image files before trying to create themnl6720
This could prevent a few issues when creating an image file when re-running mkarchiso after a failure. Remove useless test before running rm -f. The command will always succeed.
2021-08-15mkarchiso: copy files to ext4 image using mkfs.ext4's -d option instead of ↵nl6720
mounting the file system mkfs.ext4 with its -d option can "copy the contents of the given directory into the root directory of the filesystem". This allows to get rid of the last directly used mount and umount commands in mkarchiso. Additionally try to make the ext4 image somewhat reproducible by setting E2FSPROGS_FAKE_TIME to SOURCE_DATE_EPOCH, clearing the UUID and using a reproducible hash seed. See https://git.kernel.org/pub/scm/fs/ext2/e2fsprogs.git/commit/?id=e1f7100643a46456be107b33098f6034b0835e6d . Place mkfs.ext4 options in an array to avoid duplicating the command. Related to #40.
2021-07-31Merge branch 'issues/47'David Runge
* issues/47: gitlab-ci: Call renamed check target Makefile: Remove mkinitcpio-archiso specific targets README.rst: Remove initcpio, fix formatting Remove mkinitcpio-archiso files
2021-07-31gitlab-ci: Call renamed check targetDavid Runge
.gitlab-ci.yml: Change the called make target in the gitlab CI check target to `check` (it has been renamed from `lint`).
2021-07-31Makefile: Remove mkinitcpio-archiso specific targetsDavid Runge
Makefile: Remove all code specific to mkinitcpio-archiso. Allow overriding PREFIX (defaults to /usr/local). Gather scripts to check more generically. Add abstractions for installation directories.
2021-07-31README.rst: Remove initcpio, fix formattingDavid Runge
README.rst: Remove note on installing the initcpio scripts as they now reside in a separate project. Fix codeblock describing how to boot into the ISO from grub.
2021-07-31Remove mkinitcpio-archiso filesDavid Runge
archiso/initcpio/*: Remove mkinitcpio-archiso scripts as they have been split out into a separate project. docs/README.{altbootmethods,bootparams}: Remove mkinitcpio-archiso specific documentation.
2021-07-30Merge branch 'changelog/57'David Runge
* changelog/57: Add changelog for 57
2021-07-30Add changelog for 57David Runge
CHANGELOG.rst: Add an entry for v57.
2021-07-30Merge branch 'issues/143'David Runge
* issues/143: mkarchiso: Do not run _build_iso_base once
2021-07-30mkarchiso: Do not run _build_iso_base onceDavid Runge
archiso/mkarchiso: Do not run `_build_iso_base` with `_run_once`, as it sets variables which are important to functions that are called after it.
2021-07-30Merge branch 'issues/117'David Runge
* issues/117: Remove SPDX license identifier from releng configs Remove SPDX license identifier from releng configs
2021-07-29Remove SPDX license identifier from releng configsDavid Runge
configs/baseline/*: Remove the SPDX license identifier comment from the configuration files in the profile, as they are not eligible for copyright.
2021-07-29Remove SPDX license identifier from releng configsDavid Runge
configs/releng/*: Remove the SPDX license identifier comment from the configuration files in the profile, as they are not eligible for copyright.
2021-07-29Merge remote-tracking branch 'nl6720/bootmodes-2'David Runge
* nl6720/bootmodes-2: mkarchiso: improve functions and comments
2021-07-29mkarchiso: improve functions and commentsnl6720
* Merge _make_efi_dir_on_iso9660 into _make_bootmode_uefi-x64.systemd-boot.eltorito since it's specific to that boot mode. * Split off FAT image creation into _make_efibootimg, so it can be reused by other functions. * Add/improve comments to better document what the script does.
2021-07-29Merge remote-tracking branch 'nl6720/RouteMetric'David Runge
* nl6720/RouteMetric: configs/*/airootfs/etc/systemd/system/systemd-networkd-wait-online.service.d/wait-for-only-one-interface.conf: document why the drop-in file exists configs/releng/airootfs/etc/systemd/network/: move RouteMetric= from [DHCPv6] to [IPv6AcceptRA]
2021-07-27configs/*/airootfs/etc/systemd/system/systemd-networkd-wait-online.service.d ↵nl6720
/wait-for-only-one-interface.conf: document why the drop-in file exists Related to #142. Add missing `ExecStart=` to baseline's /etc/systemd/system/systemd-networkd-wait-online.service.d/wait-for-only-one-interface.conf.
2021-07-27configs/releng/airootfs/etc/systemd/network/: move RouteMetric= from ↵nl6720
[DHCPv6] to [IPv6AcceptRA] systemd moved the option. See https://github.com/systemd/systemd/commit/8ebafba9f987c21aa5787c8767f2e390b4ec0bc5 . Implements #123. Document in comments why the route metrics need to be set (because of https://github.com/systemd/systemd/issues/17698 ) and use the same metric values as NetworkManager. https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/blob/main/src/core/devices/nm-device.c Additionally remove RouteMetric from configs/baseline/airootfs/etc/systemd/network/20-ethernet.network. There is only one networkd configuration file in baseline, meaning, there are no other routes.
2021-07-11Merge branch 'changelog/56.1'David Runge
* changelog/56.1: Add changelog for 56.1
2021-07-11Add changelog for 56.1David Runge
CHANGELOG.rst: Add a changelog entry for 56.1
2021-07-11Merge remote-tracking branch 'nl6720/LC_ALL'David Runge
* nl6720/LC_ALL: mkarchiso: set LC_ALL instead of LANG
2021-07-11mkarchiso: set LC_ALL instead of LANGnl6720
LC_ALL overrides LANG and all LC_* variables, so use it instead. See https://www.gnu.org/software/gettext/manual/html_node/Locale-Environment-Variables.html#Locale-Environment-Variables .
2021-07-11Merge remote-tracking branch 'nl6720/releng-remove-package-termite-terminfo'David Runge
* nl6720/releng-remove-package-termite-terminfo: configs/releng/packages.x86_64: remove termite-terminfo
2021-07-11configs/releng/packages.x86_64: remove termite-terminfonl6720
termite was removed from the official repos. Fixes https://bugs.archlinux.org/task/71481 .
2021-07-03Merge remote-tracking branch 'nl6720/env-i-PATH'David Runge
* nl6720/env-i-PATH: mkarchiso: unset TMPDIR to work around FS#70580 Revert "archiso/mkarchiso: clear environment variables when chrooting"
2021-07-02mkarchiso: unset TMPDIR to work around FS#70580nl6720
Alternative to 3d6651abf74ee4eb91212bd9a7d3478c95126cfb which caused issues. Fixes https://bugs.archlinux.org/task/70580 .
2021-07-02Revert "archiso/mkarchiso: clear environment variables when chrooting"nl6720
This reverts commit 3d6651abf74ee4eb91212bd9a7d3478c95126cfb. A missing $PATH breaks scripts that do not hardcode binary paths. Fixes https://bugs.archlinux.org/task/71416 .
2021-07-02Merge branch 'issues/140'David Runge
* issues/140: Remove build-host.sh gitlab-ci: Include from ci-scripts ci: Provide artifacts in top-level output dir Rename build script
2021-07-01Remove build-host.shDavid Runge
.gitlab/ci/build-host.sh: Remove script, as it has been replaced by ci-scripts.
2021-07-01gitlab-ci: Include from ci-scriptsDavid Runge
.gitlab-ci.yml: Include a gitlab CI yaml file from the ci-scripts repository, that replaces the build-host.sh script and abstracts the .build target. Move all variables to top-level as they are useful in all build targets. Remove unnecessary before_script definitions because they are abstracted away by ci-scripts.
2021-07-01ci: Provide artifacts in top-level output dirDavid Runge
.gitlab/ci/build-inside-vm.sh: Change the build script to provide the build artifacts and metrics in the top-level output directory. This goes in line with the soon to be used ci-scripts, allowing code sharing amongst several projects.
2021-07-01Rename build scriptDavid Runge
.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.
2021-06-30Merge branch 'changelog/56'David Runge
* changelog/56: Add changelog for v56
2021-06-30Add changelog for v56David Runge
CHANGELOG.rst: Add a changelog entry for v56.
2021-06-30Merge branch 'issues/132'David Runge
* issues/132: gitlab-ci: Also build a baseline netboot target archiso/mkarchiso: Generalize handling of ucodes
2021-06-30gitlab-ci: Also build a baseline netboot targetDavid Runge
.gitlab-ci.yml: With #132 being fixed, it is possible to properly build the baseline netboot target without failure.
2021-06-30archiso/mkarchiso: Generalize handling of ucodesDavid Runge
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
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