aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * mkarchiso: do not show subdirectory sizes in netboot modenl67202021-11-051-1/+1
| | | | | | | | | | | | Only the total size is relevant. Related to #148.
| * mkarchiso: redirect command -v output to /dev/nullnl67202021-11-051-1/+1
| | | | | | | | | | | | The output is irrelevant, we only need the return code. Related to #148.
| * mkarchiso: silence xorriso's note about SOURCE_DATE_EPOCHnl67202021-11-051-3/+8
| | | | | | | | | | | | The `xorriso -as mkisofs` option `-quiet` is interpreted too late. Use native xorriso option `-report_about SORRY` instead and ensure it is the first option. Related to #148.
| * mkarchiso: silence mkfs.fat in quiet modenl67202021-11-041-1/+7
|/ | | | | | | mkfs.fat does not have a -q/--quiet option, so redirect its stdout to /dev/null instead. See https://github.com/dosfstools/dosfstools/issues/103 . Related to #148.
* Merge remote-tracking branch 'nl6720/netboot-no-bootmodes'David Runge2021-11-031-18/+22
|\ | | | | | | | | * nl6720/netboot-no-bootmodes: mkarchiso: do not require setting boot modes when building only netboot artifacts
| * mkarchiso: do not require setting boot modes when building only netboot ↵nl67202021-11-021-18/+22
|/ | | | | | | | artifacts netboot does not need any of the boot loaders or their files. Fixes #150.
* Merge remote-tracking branch 'nl6720/date'David Runge2021-11-021-2/+3
|\ | | | | | | | | * nl6720/date: mkarchiso: replace external date command with printf
| * mkarchiso: replace external date command with printfnl67202021-11-021-2/+3
|/ | | | | printf is a bash builtin, so by using it an external command can be avoided. Due to the differences between date(1) and strftime(3), the time zone output will not contain a colon anymore. Fortunately, that is still a supported format according to https://en.wikipedia.org/wiki/ISO_8601#Time_offsets_from_UTC .
* Merge remote-tracking branch 'nl6720/mailmap'David Runge2021-11-021-0/+16
|\ | | | | | | | | * nl6720/mailmap: Add .mailmap file
| * Add .mailmap filenl67202021-08-311-0/+16
|/ | | | | | Use .mailmap to fix author names and emails in git log / git shortlog -e. Fixes #103.
* Merge branch 'changelog/58'David Runge2021-08-251-0/+25
|\ | | | | | | | | * changelog/58: Add changelog for v58
| * Add changelog for v58David Runge2021-08-251-0/+25
|/ | | | | CHANGELOG.rst: Add changelog entries for v58.
* Merge remote-tracking branch 'nl6720/fix-unbound-variables-in-_validate_options'David Runge2021-08-251-78/+91
|\ | | | | | | | | | | | | * nl6720/fix-unbound-variables-in-_validate_options: mkarchiso: error out of iso and netboot build modes if no boot modes are specified mkarchiso: split out build mode specific checks from _validate_options to _validate_requirements_buildmode_* mkarchiso: fix unbound variable errors in _validate_options
| * mkarchiso: error out of iso and netboot build modes if no boot modes are ↵nl67202021-08-251-0/+4
| | | | | | | | specified
| * mkarchiso: split out build mode specific checks from _validate_options to ↵nl67202021-08-251-77/+86
| | | | | | | | | | | | | | | | | | | | | | | | _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.
| * mkarchiso: fix unbound variable errors in _validate_optionsnl67202021-08-251-4/+4
|/ | | | | | $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.
* Merge remote-tracking branch 'nl6720/gpg-sender'David Runge2021-08-242-8/+23
|\ | | | | | | | | | | | | * 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
| * .gitlab/ci/build_archiso.sh: use mkarchiso's -G optionnl67202021-08-251-0/+3
| | | | | | | | Set gpg's --sender.
| * mkarchiso: support setting gpg sendernl67202021-08-251-4/+13
| | | | | | | | 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.
| * mkarchiso: add some sane gpg options to override those set in user's gpg.confnl67202021-08-251-6/+9
|/ | | | | | | | * 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.
* Merge remote-tracking branch 'nl6720/openssh-8.7p1'David Runge2021-08-242-10/+10
|\ | | | | | | | | * nl6720/openssh-8.7p1: configs/*/airootfs/etc/ssh/sshd_config: update to openssh 8.7p1-1
| * configs/*/airootfs/etc/ssh/sshd_config: update to openssh 8.7p1-1nl67202021-08-252-10/+10
|/ | | | | Update /etc/ssh/sshd_config to match upstream changes. The only modification remains "PermitRootLogin yes".
* Merge remote-tracking branch 'nl6720/netboot-version'David Runge2021-08-241-1/+1
|\ | | | | | | | | * nl6720/netboot-version: mkarchiso: put version files in netboot artifacts
| * mkarchiso: put version files in netboot artifactsnl67202021-08-241-1/+1
|/ | | | Fixes #147.
* Merge remote-tracking branch 'nl6720/no-mount'David Runge2021-08-241-29/+21
|\ | | | | | | | | | | * 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
| * mkarchiso: ensure there are no existing image files before trying to create themnl67202021-08-151-1/+5
| | | | | | | | | | | | 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.
| * mkarchiso: copy files to ext4 image using mkfs.ext4's -d option instead of ↵nl67202021-08-151-28/+16
|/ | | | | | | | | | | | | | 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.
* Merge branch 'issues/47'David Runge2021-07-3121-1118/+24
|\ | | | | | | | | | | | | | | * issues/47: gitlab-ci: Call renamed check target Makefile: Remove mkinitcpio-archiso specific targets README.rst: Remove initcpio, fix formatting Remove mkinitcpio-archiso files
| * gitlab-ci: Call renamed check targetDavid Runge2021-07-311-1/+1
| | | | | | | | | | .gitlab-ci.yml: Change the called make target in the gitlab CI check target to `check` (it has been renamed from `lint`).
| * Makefile: Remove mkinitcpio-archiso specific targetsDavid Runge2021-07-311-36/+17
| | | | | | | | | | | | | | | | 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.
| * README.rst: Remove initcpio, fix formattingDavid Runge2021-07-311-11/+6
| | | | | | | | | | | | 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.
| * Remove mkinitcpio-archiso filesDavid Runge2021-07-3118-1070/+0
|/ | | | | | | | 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.
* Merge branch 'changelog/57'David Runge2021-07-301-0/+20
|\ | | | | | | | | * changelog/57: Add changelog for 57
| * Add changelog for 57David Runge2021-07-301-0/+20
|/ | | | | CHANGELOG.rst: Add an entry for v57.
* Merge branch 'issues/143'David Runge2021-07-301-2/+2
|\ | | | | | | | | * issues/143: mkarchiso: Do not run _build_iso_base once
| * mkarchiso: Do not run _build_iso_base onceDavid Runge2021-07-301-2/+2
|/ | | | | | 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.
* Merge branch 'issues/117'David Runge2021-07-3040-115/+0
|\ | | | | | | | | | | * issues/117: Remove SPDX license identifier from releng configs Remove SPDX license identifier from releng configs
| * Remove SPDX license identifier from releng configsDavid Runge2021-07-2911-31/+0
| | | | | | | | | | | | configs/baseline/*: Remove the SPDX license identifier comment from the configuration files in the profile, as they are not eligible for copyright.
| * Remove SPDX license identifier from releng configsDavid Runge2021-07-2929-84/+0
|/ | | | | | configs/releng/*: Remove the SPDX license identifier comment from the configuration files in the profile, as they are not eligible for copyright.
* Merge remote-tracking branch 'nl6720/bootmodes-2'David Runge2021-07-291-56/+82
|\ | | | | | | | | * nl6720/bootmodes-2: mkarchiso: improve functions and comments
| * mkarchiso: improve functions and commentsnl67202021-07-291-56/+82
|/ | | | | | * 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.
* Merge remote-tracking branch 'nl6720/RouteMetric'David Runge2021-07-296-12/+31
|\ | | | | | | | | | | * 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]
| * configs/*/airootfs/etc/systemd/system/systemd-networkd-wait-online.service.d ↵nl67202021-07-272-0/+7
| | | | | | | | | | | | | | | | /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.
| * configs/releng/airootfs/etc/systemd/network/: move RouteMetric= from ↵nl67202021-07-274-12/+24
|/ | | | | | | | | | | | [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.
* Merge branch 'changelog/56.1'David Runge2021-07-111-0/+14
|\ | | | | | | | | * changelog/56.1: Add changelog for 56.1
| * Add changelog for 56.1David Runge2021-07-111-0/+14
|/ | | | | CHANGELOG.rst: Add a changelog entry for 56.1
* Merge remote-tracking branch 'nl6720/LC_ALL'David Runge2021-07-111-1/+1
|\ | | | | | | | | * nl6720/LC_ALL: mkarchiso: set LC_ALL instead of LANG
| * mkarchiso: set LC_ALL instead of LANGnl67202021-07-111-1/+1
|/ | | | | 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 .
* Merge remote-tracking branch 'nl6720/releng-remove-package-termite-terminfo'David Runge2021-07-111-1/+0
|\ | | | | | | | | * nl6720/releng-remove-package-termite-terminfo: configs/releng/packages.x86_64: remove termite-terminfo
| * configs/releng/packages.x86_64: remove termite-terminfonl67202021-07-111-1/+0
|/ | | | | | termite was removed from the official repos. Fixes https://bugs.archlinux.org/task/71481 .