Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-01-09Merge branch 'hayao0819/archiso-fix-mmd-validation-error'nl6720
* hayao0819/archiso-fix-mmd-validation-error: mkarchiso: Fix mmd-command check
2022-01-08mkarchiso: Fix mmd-command checkhayao
valication_error variable is not changed when mmd and/or mcopy are missing.
2021-12-28Merge branch 'version/60'David Runge
* version/60: Add changelog for version 60 Add dummy changelog entry
2021-12-28Add changelog for version 60David Runge
CHANGELOG.rst: Add a changelog entry for version 60.
2021-12-28Add dummy changelog entryDavid Runge
CHANGELOG.rst: Add a dummy changelog entry that serves as entry for any unreleased changes.
2021-12-28Merge branch 'nl6720_developer'David Runge
* nl6720_developer: Add nl6720 to the list of maintainers
2021-12-18Add nl6720 to the list of maintainersDavid Runge
README.rst: Add nl6720 to the list of maintainers eligible to craft releases using the PGP key with the ID `BB8E6F1B81CF0BB301D74D1CBF425A01E68B38EF`.
2021-12-10Merge branch ↵nl6720
'151-mkarchiso-should-show-code-signing-certificates-none-if-no-keys-cerfificates-are-specified' * 151-mkarchiso-should-show-code-signing-certificates-none-if-no-keys-cerfificates-are-specified: mkarchiso: show "Code signing certificates: None" if no keys/certificates are specified
2021-12-10mkarchiso: show "Code signing certificates: None" if no keys/certificates ↵nl6720
are specified Fixes #151.
2021-12-10Merge branch 'rm-archiso_shutdown'nl6720
* rm-archiso_shutdown: configs/releng/airootfs/etc/mkinitcpio.conf: remove archiso_shutdown
2021-12-02configs/releng/airootfs/etc/mkinitcpio.conf: remove archiso_shutdownnl6720
The archiso_shutdown hook has been obsolete since mkinitcpio 16. https://lists.archlinux.org/pipermail/arch-dev-public/2013-December/025742.html Related to mkinitcpio/mkinitcpio-archiso#8.
2021-11-30Merge remote-tracking branch 'origin/changelog/59'David Runge
* origin/changelog/59: Add changelog for v59
2021-11-30Add changelog for v59David Runge
CHANGELOG.rst: Add changelog information for v59.
2021-11-30Merge remote-tracking branch 'deimosian/deimosian-master-patch-67154'David Runge
* deimosian/deimosian-master-patch-67154: Fixes failure to retry script download. Tested and verified the issue is resolved.
2021-11-30Fixes failure to retry script download. Tested and verified the issue is ↵Howard Hicks
resolved. The curl --retry-connrefused option is used with not instead of the --retry <num> option to add an extra type of failure to retry on, without --retry <num> it does not retry at all even on a connection refused. https://man.archlinux.org/man/curl.1.en
2021-11-30Merge remote-tracking branch 'tomty89/grub_refind'David Runge
* tomty89/grub_refind: Add grub and refind back
2021-11-30Add grub and refind backTom Yan
"rescue/installation actions for {grub,refind} should be run from within a chroot" is a false statement. See --boot-directory of grub-install and --root of refind-install. (In the case of grub, there are people that do not use the ugly grub-mkconfig at all.)
2021-11-30Merge remote-tracking branch 'nl6720/more-quiet'David Runge
* nl6720/more-quiet: mkarchiso: use mkfs.erofs --quiet in quiet mode mkarchiso: use mksquashfs -quiet instead of redirecting its stdout to /dev/null mkarchiso: do not show subdirectory sizes in netboot mode mkarchiso: redirect command -v output to /dev/null mkarchiso: silence xorriso's note about SOURCE_DATE_EPOCH mkarchiso: silence mkfs.fat in quiet mode
2021-11-22mkarchiso: use mkfs.erofs --quiet in quiet modenl6720
erofs-utils 1.4 introduced a --quiet option. Related to #148.
2021-11-05mkarchiso: use mksquashfs -quiet instead of redirecting its stdout to /dev/nullnl6720
mksquashfs supports a -quiet option since squashfs-tools 4.4. Use this option in non-verbose mode instead of redirecting stdout of the whole command to /dev/null. This allows to have only one instance of mksquashfs in _run_mksquashfs instead of multiple ones in if-then-else. Related to #148.
2021-11-05mkarchiso: do not show subdirectory sizes in netboot modenl6720
Only the total size is relevant. Related to #148.
2021-11-05mkarchiso: redirect command -v output to /dev/nullnl6720
The output is irrelevant, we only need the return code. Related to #148.
2021-11-05mkarchiso: silence xorriso's note about SOURCE_DATE_EPOCHnl6720
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.
2021-11-04mkarchiso: silence mkfs.fat in quiet modenl6720
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.
2021-11-03Merge remote-tracking branch 'nl6720/netboot-no-bootmodes'David Runge
* nl6720/netboot-no-bootmodes: mkarchiso: do not require setting boot modes when building only netboot artifacts
2021-11-02mkarchiso: do not require setting boot modes when building only netboot ↵nl6720
artifacts netboot does not need any of the boot loaders or their files. Fixes #150.
2021-11-02Merge remote-tracking branch 'nl6720/date'David Runge
* nl6720/date: mkarchiso: replace external date command with printf
2021-11-02mkarchiso: replace external date command with printfnl6720
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 .
2021-11-02Merge remote-tracking branch 'nl6720/mailmap'David Runge
* nl6720/mailmap: Add .mailmap file
2021-08-31Add .mailmap filenl6720
Use .mailmap to fix author names and emails in git log / git shortlog -e. Fixes #103.
2021-08-25Merge branch 'changelog/58'David Runge
* changelog/58: Add changelog for v58
2021-08-25Add changelog for v58David Runge
CHANGELOG.rst: Add changelog entries for v58.
2021-08-25Merge remote-tracking branch 'nl6720/fix-unbound-variables-in-_validate_options'David Runge
* 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
2021-08-25mkarchiso: error out of iso and netboot build modes if no boot modes are ↵nl6720
specified
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.