- Feb 19, 2023
-
-
nl6720 authored
-
nl6720 authored
Unlike `poll_device`, `resolve_device` supports using tags (e.g. `UUID=`, `LABEL=`, `PARTUUID=`, `PARTLABEL=`) to specify a device. This is a lot more _prettier_ than using the `/dev/disk/by-*/*` symlinks. Since `mount` supports these tags, they can be passed to it as is. Implements #10
-
- Feb 07, 2023
-
-
nl6720 authored
Do not set `copytoram="y"` if the device name contains `/dev/sr` (since we have no better way to match it). Real optical disc drives and remotely emulated ones (apparently such things exist) can be slow and take too long to complete the copy process. This change is not an issue for locally emulated optical disc drives, since they didn't gain much speed from `copytoram` anyway.
-
- Feb 02, 2023
-
-
nl6720 authored
It looks very odd otherwise. Indenting them is more common and should be easier to read.
-
- Jan 29, 2023
-
-
nl6720 authored
* Update mkinitcpio-archiso project links, * Update mkinitcpio project link, * Update code of conduct link, * Update arch-releng mailing list link.
-
- Jan 28, 2023
-
-
nl6720 authored
* Suggest explicitly using -n in `[ $var ]`. https://www.shellcheck.net/wiki/SC2243 & https://www.shellcheck.net/wiki/SC2244 * Suggest 'command -v' instead of 'which'. https://www.shellcheck.net/wiki/SC2230 * Suggest quoting variables without metacharacters. https://www.shellcheck.net/wiki/SC2248 * Require [[ and warn about [ in Bash/Ksh. https://www.shellcheck.net/wiki/SC2292
-
- Dec 24, 2022
-
-
nl6720 authored
-
- Dec 04, 2022
-
-
nl6720 authored
Fixes optional issue https://www.shellcheck.net/wiki/SC2248 "Prefer double quoting even when variables don't contain special characters"
-
- Nov 29, 2022
-
-
nl6720 authored
Handle the condition when signature verification is requested but the `gpg` binary is not available. Since now there is OpenSSL CMS based root file system image verification, GPG based verification should be made optional. `mkarchiso` currently requires running as root, which complicates signing with user's GPG keys. E.g. running it with `sudo` may require chowning the TTY and passing the `GNUPGHOME` environment variable. While the cause of this annoyance is `mkarchiso`, `gpg` doesn't make the process easy. OpenSSL CMS based signing has none of these issues.
-
David Runge authored
CHANGELOG.rst: Add items for the v66 changelog.
-
- Nov 26, 2022
-
-
nl6720 authored
busybox's mountpoint, truncate and grep function work just fine for archiso purposes. Save some space by not including the full featured utilities.
-
- Nov 24, 2022
-
-
nl6720 authored
Since mkinitcpio 33, add_binary and add_file support symlinks. Both the symlink and target file will be added to the initramfs.
-
nl6720 authored
While "$BUILDROOT/bin" is a symlink to "$BUILDROOT/usr/bin", let's not rely on the symlink. Especially since /bin is not in the initramfs' PATH.
-
nl6720 authored
/bin is a symlink to /usr/bin and it is not in PATH, so it is better to reference the "real" location of "ash".
-
- Nov 21, 2022
-
-
nl6720 authored
add_udev_rule takes care of adding the executables that the rules invoke, so they do not need to be added manually with add_binary. Additionally use add_dir instead of running mkdir inside $BUILDROOT.
-
- Oct 30, 2022
-
-
nl6720 authored
-
- Oct 24, 2022
-
-
nl6720 authored
This hook is now part of mkinitcpio and is called "kms". Place a symlink leading to the new name so that "archiso_kms" still keeps working while showing the "This hook is deprecated" message. See https://github.com/archlinux/mkinitcpio/issues/94 and https://github.com/archlinux/mkinitcpio/pull/95
-
nl6720 authored
* Do not run "check" on symlinks They may point to files outside the repo and thus outside the project's control. * Replace "install" with "cp -at" (like mkinitcpio), since "install" always dereferences symlinks.
-
- Oct 22, 2022
-
-
nl6720 authored
For self-signed certificates, the signer certificate is also passed to openssl as the CA certificate.
-
nl6720 authored
The signer's certificate is included in the initramfs, so there is no need to pay attention to any certificates that may be embedded in the signature file. This matches the behaviour of gpg which defaults to --no-auto-key-import.
-
- Sep 27, 2022
-
-
nl6720 authored
Since they are related, the copytoram and copytoram_size options should be next to one another.
-
- Sep 25, 2022
-
-
David Runge authored
CHANGELOG.rst: Add changelog for version 64.
-
David Runge authored
README.rst: The previous packager key C7E7849466FE2358343588377258734B41C31549 has been superseded by 991F6E3F0765CF6295888586139B09DA5BF0D338. Both are cross-signed and available in Arch Linux's WKD.
-
AUTHORS.rst: Add Anton Hvornum to list of authors. CHANGELOG.rst: Add changelog entry for new feature. README.rst: Add openssl to list of requirements for CMS verification. docs/README.bootparams: Add documentation for the `cms_verify` kernel parameter. hooks/archiso: Add `_verify_cms_signature()` to verify openssl CMS signatures. Change `archiso_mount_handler()` to also deal with openssl CMS signature verification. hooks/archiso_pxe_http: Change `archiso_pxe_http_mount_handler()` to retrieve cms based signatures from the remote host if `cms_verify=y` is provided as kernel parameter. install/archiso: Change `build()` to install the openssl binary as it is required for openssl CMS signature verification and to add the codesigning certificate and certificate authority to the build root.
-
- Apr 28, 2022
-
-
nl6720 authored
-
- Apr 06, 2022
-
- Apr 04, 2022
-
-
nl6720 authored
util-linux 2.38 added a --mkdir option to mount that creates the mountpoint if it does not exist.
-
- Mar 26, 2022
-
-
David Runge authored
README.rst: Add nl6720 with PGP key ID BB8E6F1B81CF0BB301D74D1CBF425A01E68B38EF as additional project maintainer.
-
- Mar 25, 2022
-
-
nl6720 authored
-
- Feb 26, 2022
-
-
nl6720 authored
This should provide KSM for VirtualBox, VMware and QEMU. * Add '/drivers/char/agp/' and '/drivers/gpu/drm/' instead of hardcoding the module names. * Add modules using add_checked_modules to allow filtering it with the autodetect hook. This allows to use the hook outside of just archiso.
-
- Jan 31, 2022
-
-
David Runge authored
CHANGELOG.rst: Add changelog entry for 61.
-
David Runge authored
CONTRIBUTING.rst: Add infos around how to use the changelog when providing changes and how merge requests are handled by the maintainers of the project.
-
- Jan 22, 2022
-
-
nl6720 authored
Now that EROFS is detected by util-linux, the actions to mount a squashfs or erofs image are basically the same. The _mnt_sfs and _mnt_erofs functions can be merged into one: _mnt_fs. If neither airootfs.sfs nor airootfs.erofs are found, error out to interactive shell.
-
- Jan 13, 2022
-
-
nl6720 authored
Change default DHCP timeout to 60 seconds instead of 20 to avoid STP issues. See merge request mkinitcpio/mkinitcpio-archiso!13
-
- Jan 12, 2022
-
-
Anton Hvornum authored
Change default DHCP timeout to 60 seconds instead of 30 to avoid issues with STP (Spanning Tree Protocol). STP defaults to 15 + 15 seconds on a lot of popular devices for listening and learning states. Which if not disabled (which you should on access switches, sure..) most netboots will fail intermittently due to the port access on switches performing port learning while the machine is trying to get DHCP leases. Added comment referencing to why the 60 seconds. More information can be found here: https://www.ciscopress.com/articles/article.asp?p=2832407&seqNum=6 and https://techhub.hpe.com/eginfolib/networking/docs/switches/5980/5200-3921_l2-lan_cg/content/499036677.htm
-
- Jan 10, 2022
-
- Jan 03, 2022
-
- Dec 28, 2021
-
-
David Runge authored
* version/60: Add changelog entry for v60 Add dummy changelog entry
-
David Runge authored
CHANGELOG.rst: Add a changelog entry for v60.
-