Skip to content

install/sd-encrypt: include /usr/lib/systemd/systemd-makefs

nl6720 requested to merge nl6720/mkinitcpio:sd-encrypt-systemd-makefs into master

mkswap is not enough for systemd-cryptsetup to create swap in early userspace, it additionally needs /usr/lib/systemd/systemd-makefs. Without it, the journal shows:

systemd[190]: systemd-cryptsetup@swap.service: Failed to locate executable /usr/lib/systemd/systemd-makefs: No such file or directory
systemd[190]: systemd-cryptsetup@swap.service: Failed at step EXEC spawning /usr/lib/systemd/systemd-makefs: No such file or directory
systemd[1]: systemd-cryptsetup@swap.service: Control process exited, code=exited, status=203/EXEC
systemd[1]: systemd-cryptsetup@swap.service: Failed with result 'exit-code'.
systemd[1]: Failed to start Cryptography Setup for swap.
systemd[1]: Dependency failed for Local Encrypted Volumes.

Related to archlinux/packaging/packages/cryptsetup#3 (closed)

Backport of archlinux/packaging/packages/cryptsetup@88758fe4

Merge request reports