Summary: | sys-kernel/genkernel-3.4.51.2 should support real_root=PARTUUID=* | ||
---|---|---|---|
Product: | Gentoo Hosted Projects | Reporter: | darkbasic <darkbasic> |
Component: | genkernel | Assignee: | Gentoo Genkernel Maintainers <genkernel> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | jeremi.piotrowski |
Priority: | Normal | Keywords: | PATCH |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
[PATCH UNTESTED] handle PARTUUID like UUID in genkernel
[PATCH] Handle PARTUUID like UUID in genkernel-next |
Description
darkbasic
2015-06-10 21:25:48 UTC
Created attachment 408486 [details, diff]
[PATCH UNTESTED] handle PARTUUID like UUID in genkernel
Created attachment 408488 [details, diff] [PATCH] Handle PARTUUID like UUID in genkernel-next This patch deals with genkernel-next while the patch in comment #1 addresses genkernel. I have only tested genkernel-next and can confirm it works. Both of them just add treating PARTUUID like UUID/LABEL since those cases forward to utilities that are already prepared to handle PARTUUID (2 out of 3, busybox findfs doesn't). I consider this change to be important since PARTUUID is the only thing that the kernel can actually read without help (of the 3 UUID/LABEL/PARTUUID). If something is wrong with the initramfs the kernel can try to mount root on its own, which is useful for people that don't use initramfs for anything critical (for me it only starts plymouth early on). Thanks for the patch. This should have been marked with the PATCH keyword. This will likely be merged when someone has a chance to review it and verify its behavior. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=405dc98a73e99b867f16eaf30501e32dedb3f2ee commit 405dc98a73e99b867f16eaf30501e32dedb3f2ee Author: Thomas Deutschmann <whissi@gentoo.org> AuthorDate: 2019-07-15 12:40:15 +0000 Commit: Thomas Deutschmann <whissi@gentoo.org> CommitDate: 2019-07-15 12:40:15 +0000 initramfs: Add PARTUUID= support for devices Will require genkernel initramfs built with --disklabel parameter. Closes: https://bugs.gentoo.org/551708 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org> defaults/initrd.scripts | 4 ++-- defaults/linuxrc | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) |