forked from Mirror/pmbootstrap
docs: add env vars page with PMB_SUDO (MR 2506)
Move the description of PMB_SUDO from the README to docs.
This commit is contained in:
parent
559710c69a
commit
1dcb68bdca
3 changed files with 9 additions and 4 deletions
|
@ -258,10 +258,7 @@ $ pmbootstrap stats --arch=armhf
|
||||||
|
|
||||||
### Use alternative sudo
|
### Use alternative sudo
|
||||||
|
|
||||||
pmbootstrap supports `doas` and `sudo`.
|
See `PMB_SUDO` in `docs/environment_variables.md`.
|
||||||
If multiple sudo implementations are installed, pmbootstrap will use `doas`.
|
|
||||||
You can set the `PMB_SUDO` environmental variable to define the sudo
|
|
||||||
implementation you want to use.
|
|
||||||
|
|
||||||
### Select SSH keys to include and make authorized in new images
|
### Select SSH keys to include and make authorized in new images
|
||||||
|
|
||||||
|
|
7
docs/environment_variables.md
Normal file
7
docs/environment_variables.md
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
# Environment Variables
|
||||||
|
|
||||||
|
## `PMB_SUDO`
|
||||||
|
|
||||||
|
pmbootstrap supports `doas` and `sudo`. If multiple sudo implementations are
|
||||||
|
installed, pmbootstrap will use `doas`. You can set the `PMB_SUDO`
|
||||||
|
environmental variable to define the sudo implementation you want to use.
|
|
@ -23,6 +23,7 @@ For further information, please check out the `postmarketOS-wiki`_.
|
||||||
ssh-keys
|
ssh-keys
|
||||||
api/modules
|
api/modules
|
||||||
mirrors
|
mirrors
|
||||||
|
environment_variables
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue