aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorThomas Deutschmann <whissi@gentoo.org>2019-07-29 00:06:33 +0200
committerThomas Deutschmann <whissi@gentoo.org>2019-07-29 22:00:27 +0200
commit94d32a155ef3e5cd59f852a032e5887b74306d81 (patch)
tree6f50ae0b6b1bb5c5911d033b2374e7d73d529b6f /doc
parentgenkernel: Fix output when $KV has changed (diff)
downloadgenkernel-94d32a155ef3e5cd59f852a032e5887b74306d81.tar.gz
genkernel-94d32a155ef3e5cd59f852a032e5887b74306d81.tar.bz2
genkernel-94d32a155ef3e5cd59f852a032e5887b74306d81.zip
Add --kernel-append-localversion option
Now that we moved $ARCH value to kernel's LOCALVERSION setting, you cannot easily change LOCALVERSION anymore without losing $ARCH information. This can be annoying when you just want to build a new revision which should have its own kernel binary, initramfs and modules directory because you would have to remember to include default value. The new option will allow you to just append to genkernel's KERNEL_LOCALVERSION value. This way you can just call genkernel with --kernel-append-localversion=-rN option to build and test a new revision. Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'doc')
-rw-r--r--doc/genkernel.8.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/genkernel.8.txt b/doc/genkernel.8.txt
index 35762a2..1b36729 100644
--- a/doc/genkernel.8.txt
+++ b/doc/genkernel.8.txt
@@ -124,6 +124,12 @@ KERNEL CONFIGURATION
*--*[*no-*]*virtio*::
Adds, or skip adding VirtIO support to kernel configuration.
+*--kernel-append-localversion*=<...>::
+ Appends value to genkernel's *KERNEL_LOCALVERSION* option (see below).
+ The idea is to use this option to allow to easily build a new revision
+ with own kernel binary, initramfs and modules directory without losing
+ default *KERNEL_LOCALVERSION* value.
+
*--kernel-localversion*=<...>::
Set kernel option *LOCALVERSION*. Use special value *UNSET* to
unset any already set *LOCALVERSION*. The following placeholders are