Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 315467 - [patch] sys-kernel/genkernel- patch that adds support for UUID to crypt_root kernel option
Summary: [patch] sys-kernel/genkernel- patch that adds support for UUID to ...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Genkernel Maintainers
Keywords: InVCS
Depends on:
Blocks: 351772
  Show dependency tree
Reported: 2010-04-15 15:16 UTC by Gorota
Modified: 2011-01-16 17:25 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---

patch (genkernel-,823 bytes, patch)
2010-04-15 15:22 UTC, Gorota
Details | Diff
another version (initrd.scripts.diff,968 bytes, patch)
2010-10-15 13:47 UTC, bugzilla
Details | Diff
Add LABEL support to crypt_root, clean up UUID crypt_root patch (0001-Add-LABEL-support-to-crypt_root-clean-up-UUID-crypt_.patch,1.40 KB, patch)
2011-01-15 17:01 UTC, Sebastian Pipping
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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]

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 
and renamed a few variables. It works for me.

Patch is against genkernel-
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:;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.