summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorSerge Schneider <serge@raspberrypi.com>2022-11-08 12:04:09 +0000
committerSerge Schneider <serge@raspberrypi.com>2022-11-08 12:04:12 +0000
commitc3083ecd503629eac5184ec692f65bbbd28ac317 (patch)
tree4e88777e7666e9624acc658e5f8f74fb3f01a392 /README.md
parent549681f6e217d6e713afb943d571afda83542a2f (diff)
Add parameter to keep cap_setfcap
Fixes #643
Diffstat (limited to 'README.md')
-rw-r--r--README.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/README.md b/README.md
index 35f2c98..d7beb1f 100644
--- a/README.md
+++ b/README.md
@@ -215,6 +215,13 @@ The following environment variables are supported:
public key authentication. Note that if SSH is not enabled this will take
effect when SSH becomes enabled.
+ * `SETFCAP` (Default: unset)
+
+ * Setting to `1` will prevent pi-gen from dropping the "capabilities"
+ feature. Generating the root filesystem with capabilities enabled and running
+ it from a filesystem that does not support capabilities (like NFS) can cause
+ issues. Only enable this if you understand what it is.
+
* `STAGE_LIST` (Default: `stage*`)
If set, then instead of working through the numeric stages in order, this list will be followed. For example setting to `"stage0 stage1 mystage stage2"` will run the contents of `mystage` before stage2. Note that quotes are needed around the list. An absolute or relative path can be given for stages outside the pi-gen directory.