yubikey-full-disk-encryption icon indicating copy to clipboard operation
yubikey-full-disk-encryption copied to clipboard

Shutdown hook is not copying initramfs files so ykfde only does normal suspend

Open noeamiot opened this issue 2 years ago • 1 comments

During boot the shutdown hook throws this error : cp:can not create directory :'/run/initramfs/' no such file or directory

The initramfs files necessary for the luks-locking suspend are not created in /run/initramfs so we do a normal suspend see suspend script.

There is already an issue about this on the mkinitcpio repository and a bug reported.

While waiting for a fix on mkinicpio or whatever is causing this problem, you can check here for a temporary solution.

noeamiot avatar May 18 '22 21:05 noeamiot

I would wait for a fix in mkinicpio to avoid overcomplicating things here. That should come soon.

agherzan avatar May 20 '22 10:05 agherzan

This should be fixed in mkinitcpio v34, https://gitlab.archlinux.org/archlinux/mkinitcpio/mkinitcpio/-/commit/7930b797a255505f84120f07cab3893cc1f31a3e

Vincent43 avatar Dec 09 '22 18:12 Vincent43