1
0
Fork 1
mirror of https://gitlab.postmarketos.org/postmarketOS/pmbootstrap.git synced 2025-07-12 19:09:56 +03:00

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:
Oliver Smith 2024-12-03 06:41:53 +01:00 committed by Newbyte
parent 559710c69a
commit 1dcb68bdca
No known key found for this signature in database
GPG key ID: ACD854892B38D898
3 changed files with 9 additions and 4 deletions

View file

@ -258,10 +258,7 @@ $ pmbootstrap stats --arch=armhf
### Use alternative 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.
See `PMB_SUDO` in `docs/environment_variables.md`.
### Select SSH keys to include and make authorized in new images

View 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.

View file

@ -23,6 +23,7 @@ For further information, please check out the `postmarketOS-wiki`_.
ssh-keys
api/modules
mirrors
environment_variables