- Use the
x-initrd.mount
mount option to make systemd aware of the file systems mounted in the initramfs stage so that they are properly ordered for unmounting during shutdown.
- Add files from file descriptors by piping them to mkinitcpio's
add_file
function instead of directly writing to paths under$BUILDROOT
. - Increase the time
archisosearchuuid
waits for a device with the UUID, i.e. therootdelay
value, from 2 seconds to 4 seconds to give more time for USB devices to appear. - First search for
archisosearchfilename
on removable devices and only then look at non-removable devices. - Use mkinitcpio's new
getarg
function to get kernel cmdline parameters. - Allow using
archisosearchfilename
without having to also setarchisosearchuuid
. - Use
pv
's-o
option to specify output instead of using shell redirection.
- Implement searching for the archiso device using
archisosearchuuid
andarchisosearchfilename
(defaults to/boot/${archisosearchuuid}.uuid
) boot parameters. If a device with UUID matchingarchisosearchuuid
does not exist, then all available block devices are mounted and searched for thearchisosearchfilename
file.
- Document
tftp
as a supported protocol for thescript
boot parameter.
- Disable automatic
copytoram
if the root file system image is on/dev/sr*
(an optical disc drive). Real optical disc drives and remotely emulated ones can be slow and take too long to complete the copy process. - Replace
poll_device
withresolve_device
in thearchiso
hook. This enables usingUUID=
,LABEL=
,PARTUUID
andPARTLABEL
tags to specify devices (archisodevice
,cow_device
andimg_dev
).
- Do not include the
gpg
binary unless the initramfs will also include a GPG keyring.
- Use mkinitcpio's
add_udev_rule
function to add udev rules instead of adding them as regular files. - Use full path to
ash
in runtime hook shebang. - Use
/usr/bin/
instead of/bin/
as the target paths for binaries. - Do not check for symlinks when adding files with install hooks, instead let mkinitcpio handle them.
- The
archiso
hook will not include themountpoint
,truncate
andgrep
binaries in the initramfs anymore. The busybox versions of these tools (as provided by mkinitcpio'sbase
hook) are sufficient.
- Automatically enable
copytoram
if rootfs image size is less than 4 GiB and free RAM exceeds the rootfs image size plus 2 GiB. - Do not use certificates embedded in the signature file during OpenSSL CMS verification.
- Deprecate the
archiso_kms
hook. It is now part of mkinitcpio and is calledkms
.
- The option to verify the rootfs signature using openssl CMS module against a specified CA.
- Replace all feasible instances of
mkdir
precedingmount
withmount --mkdir
.
- The archiso_kms hook adds all DRM and AGP kernel modules not just a select few.
- Add further contributing guidelines around the use of the changelog and how maintainers deal with merge requests
- Mount cowspace readonly and read-write afterwards to prevent errors if multiple mounts are active
- Extend default DHCP timeout to 60s to avoid issues with Spanning Tree Protocol (STP)
- Change the way COW space is mounted by only mounting it once read-writable
- Remove EROFS related fixes, that are not required anymore due to util-linux now detecting it properly
- Remove obsolete archiso_shutdown hook and associated files, as the functionality is available in mkinitcpio directly
- Add a mailmap file for better author integration in git
- Make PGP verification more verbose and fix message output
- Add README.rst and CONTRIBUTING.rst
- Add editorconfig integration
- Add GitLab CI integration
- Adapt Makefile to new repository layout and only test and install files that are part of mkinitcpio-archiso
- Fix formatting of hooks and scripts according to shfmt