diff options
author | Thomas Deutschmann <whissi@gentoo.org> | 2021-02-08 02:25:50 +0100 |
---|---|---|
committer | Thomas Deutschmann <whissi@gentoo.org> | 2021-02-08 22:20:28 +0100 |
commit | ab6d73225f21be7d55649363ceb460d91270638d (patch) | |
tree | 9b653f50497464c7cafc04620f431e1c5bb66b43 /doc | |
parent | linuxrc: add kernel command-line argument to allow user to pass additional op... (diff) | |
download | genkernel-ab6d73225f21be7d55649363ceb460d91270638d.tar.gz genkernel-ab6d73225f21be7d55649363ceb460d91270638d.tar.bz2 genkernel-ab6d73225f21be7d55649363ceb460d91270638d.zip |
linuxrc: Add gk.preserverun.disabled
When this boolean option is set and enabled, genkernel initramfs will unmount /run
before calling switch_root.
This can help in SELinux context for example where labeling is required which is
not supported by genkernel.
Bug: https://bugs.gentoo.org/739424
Bug: https://bugs.gentoo.org/740576
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/genkernel.8.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/genkernel.8.txt b/doc/genkernel.8.txt index ddccd9f..74729be 100644 --- a/doc/genkernel.8.txt +++ b/doc/genkernel.8.txt @@ -745,6 +745,12 @@ recognized by the kernel itself. By default we will wait up to 120 seconds (UDEV default) for UDEV event queue to become empty. +*gk.preserverun.disabled*=<...>:: + By default, *switch_root* will preserve and move already mounted '/run' + to *newroot*. This boolean option allows you to disable preserving of + '/run', which is maybe required for SELinux due to missing labeling + support in genkernel. + *gk.prompt.timeout*=<...>:: By default a prompt within genkernel initramfs like shown when set *root* could not be found will never timeout. Use this option to set |