Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 315467

Summary: [patch] sys-kernel/genkernel-3.4.10.906: patch that adds support for UUID to crypt_root kernel option
Product: Gentoo Linux Reporter: Gorota <vasilyva>
Component: [OLD] Core systemAssignee: Gentoo Genkernel Maintainers <genkernel>
Status: RESOLVED FIXED    
Severity: enhancement CC: candrews, sping
Priority: High Keywords: InVCS
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 351772    
Attachments: patch
another version
Add LABEL support to crypt_root, clean up UUID crypt_root patch

Description Gorota 2010-04-15 15:16:09 UTC
This patch should work needs blkid

Reproducible: Always

Steps to Reproduce:
Comment 1 Gorota 2010-04-15 15:22:02 UTC
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
Comment 2 bugzilla 2010-10-15 13:47:29 UTC
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
Comment 3 Sebastian Pipping gentoo-dev 2011-01-05 23:04:47 UTC
PS: Adding keyword "Inclusion" and "[patch] " prefix to better show this bug's nature in searches...
Comment 4 Sebastian Pipping gentoo-dev 2011-01-15 17:01:21 UTC
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.
Comment 5 Sebastian Pipping gentoo-dev 2011-01-15 17:06:24 UTC
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.
Comment 6 Sebastian Pipping gentoo-dev 2011-01-15 17:16:19 UTC
Please ignore the previous post - I mixed up to bug reports.  Sorry.