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

Bug 852845

Summary: sys-kernel/genkernel: implement the kernel bootconfig support
Product: Gentoo Linux Reporter: Yixun Lan <dlan>
Component: Current packagesAssignee: Gentoo Genkernel Maintainers <genkernel>
Status: CONFIRMED ---    
Severity: normal Keywords: PullRequest
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/genkernel/pull/42
Whiteboard:
Package list:
Runtime testing required: ---

Description Yixun Lan archtester gentoo-dev 2022-06-17 22:01:15 UTC
The boot configuration expands the current kernel command line to support additional key-value data when booting the kernel in an efficient way. This allows administrators to pass a structured-Key config file.

There are two options to boot the kernel with bootconfig: a) attaching the bootconfig to the initrd image or b) embedding it in the kernel itself.

I'd like to see option a) implemented in genkernel, ideal pass an genkernel command line like: --bootconfig=/path/to/my/bootconfig.txt

see the link for more info: https://docs.kernel.org/admin-guide/bootconfig.html

Reproducible: Always