summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorDaan De Meyer <daan.j.demeyer@gmail.com>2022-04-21 14:47:23 +0200
committerYu Watanabe <watanabe.yu+github@gmail.com>2022-04-22 09:12:08 +0900
commita2a9d541087d32cc8fc95f80169e962ec785b87e (patch)
treecd23d8cc028726be1bb67998be9cb13c2af9dbed /docs
parent041456246c1639b8321055c1ffc595847b450ea0 (diff)
downloadsystemd-a2a9d541087d32cc8fc95f80169e962ec785b87e.tar.gz
kernel-install: Skip execution if $KERNEL_INSTALL_BYPASS=1
Diffstat (limited to 'docs')
-rw-r--r--docs/ENVIRONMENT.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/ENVIRONMENT.md b/docs/ENVIRONMENT.md
index 5f02f888a5..257874d95c 100644
--- a/docs/ENVIRONMENT.md
+++ b/docs/ENVIRONMENT.md
@@ -441,3 +441,10 @@ SYSTEMD_HOME_DEBUG_SUFFIX=foo \
use for LUKS home directories, overriding the built-in default mount
options. There's one variable for each of the supported file systems for the
LUKS home directory backend.
+
+`kernel-install`:
+
+* `$KERNEL_INSTALL_BYPASS` – If set to "1", execution of kernel-install is skipped
+ when kernel-install is invoked. This can be useful if kernel-install is invoked
+ unconditionally as a child process by another tool, such as package managers
+ running kernel-install in a postinstall script.