Summary: | sys-kernel/genkernel: UUID/Label support for root_keydev and swap_keydev | ||
---|---|---|---|
Product: | Gentoo Hosted Projects | Reporter: | Marc Perrudin <gentoo> |
Component: | genkernel | Assignee: | Gentoo Genkernel Maintainers <genkernel> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | CC: | alexander, gef.kornflakes, marek |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
initrd.scripts.diff
initrd.scripts.diff Another patch to fix this issue. |
Description
Marc Perrudin
2011-08-07 17:26:15 UTC
Created attachment 282457 [details, diff]
initrd.scripts.diff
Here is a patch to add the feature.
Created attachment 282473 [details, diff]
initrd.scripts.diff
An other version of the patch.
Similar problem with mounting of /usr partition by initramfs (>=sys-kernel/genkernel-3.4.25.1). Id doesn't understand UUID=/LABEL= in /etc/fstab. I agree with Marc. A block with the same code case "${BLABLABLA}" in UUID\=*|LABEL\=*) ... ... is duplicated three or more times in linuxrc and init.scripts. Instead, there should be a reusable function like in a second attached patch. Created attachment 325994 [details, diff]
Another patch to fix this issue.
Any progress on this?
I didn’t check the bugzilla before I went on fixing the issue so I produced yet another patch for this. Anyway that means we have three different patches and it would be cool if one of them made to the official repo.
(In reply to comment #4) > it would be cool if one of them made to the official repo. It would be cool to integrate genkernel with dracut. See bug 330127 :) (In reply to comment #5) > It would be cool to integrate genkernel with dracut. See bug 330127 :) Looks like it is not there yet, so in the meantime can we get this feature in genkernel?=) (In reply to comment #4) > Created attachment 325994 [details, diff] [details, diff] > Another patch to fix this issue. > > Any progress on this? > > I didn’t check the bugzilla before I went on fixing the issue so I produced > yet another patch for this. Anyway that means we have three different > patches and it would be cool if one of them made to the official repo. I have merged this version for 3.4.45 |