I more or less accidentally updated to genkernel-4.0.0_beta14 ebuild and noticed that the initrd GPG decryption support no longer works. I'm getting the following warning during boot: ``` GPG-encrypted key file provided but gpg program is missing. Was initramfs built without --gpg parameter? ``` This comes from the file `defaults/initrd.scripts` where it tests for `/sbin/gpg`, while the gpg binary seems to have moved to a different location within `/usr`.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=1f0028b52e110602975aa6bc25ca52d58bc9ea91 commit 1f0028b52e110602975aa6bc25ca52d58bc9ea91 Author: Thomas Deutschmann <whissi@gentoo.org> AuthorDate: 2019-08-29 20:46:33 +0000 Commit: Thomas Deutschmann <whissi@gentoo.org> CommitDate: 2019-08-29 20:46:33 +0000 initrd.scripts: openLUKS(): gpg was moved to /usr/bin Bug: https://bugs.gentoo.org/693006 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org> defaults/initrd.scripts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Thank you for the report. I hope you like genkernel-4 apart from this problem. Fix is in >=sys-kernel/genkernel-4.0.0_beta15!