This patch should work needs blkid Reproducible: Always Steps to Reproduce:
Created attachment 227923 [details, diff] patch Fix to the description of bug: The patch should work for crypt swaps too. And it needs blkid in initramfs
Created attachment 250713 [details, diff] another version This is my version of the patch. I took it from /usr/share/genkernel/defaults/linuxrc:312 and renamed a few variables. It works for me. Patch is against genkernel-3.4.10.907
PS: Adding keyword "Inclusion" and "[patch] " prefix to better show this bug's nature in searches...
Created attachment 259936 [details, diff] Add LABEL support to crypt_root, clean up UUID crypt_root patch I have applied Christian's patch with slight modifications. Please review and test my patch and report back. Testing is probably easiest by emerging genkernel-99999 (five nines) which exposes the experimental branch. if I do not hear anything in two weeks, I may close this bug.
Now int Git: http://git.overlays.gentoo.org/gitweb/?p=proj/genkernel.git;a=commitdiff;h=b6b3dab7cda3a3ba5715124e37ecf06df84cc059 You can emerge genkernel-99999 (five nines) to give it a spin.
Please ignore the previous post - I mixed up to bug reports. Sorry.