pmbootstrap/pmb/chroot
Hugo Osvaldo Barrera d31313f7dc
Don't use 'sudo' when running as root
This cancels the need to install and configure `sudo` or `doas` on
single-user installations (e.g.: a VM dedicated to running pmbootstrap).

Fixes: https://gitlab.com/postmarketOS/pmbootstrap/-/issues/2224
Reviewed-by: Oliver Smith <ollieparanoid@postmarketos.org>
Link: https://lists.sr.ht/~postmarketos/pmbootstrap-devel/%3C20230529203922.22161-1-hugo@whynothugo.nl%3E
2023-06-04 11:35:08 +02:00
..
__init__.py Bump copyright to 2023 2023-01-22 19:18:06 +01:00
apk.py Bump copyright to 2023 2023-01-22 19:18:06 +01:00
apk_static.py Bump copyright to 2023 2023-01-22 19:18:06 +01:00
binfmt.py Bump copyright to 2023 2023-01-22 19:18:06 +01:00
distccd.py Bump copyright to 2023 2023-01-22 19:18:06 +01:00
init.py Bump copyright to 2023 2023-01-22 19:18:06 +01:00
initfs.py Bump copyright to 2023 2023-01-22 19:18:06 +01:00
initfs_hooks.py Bump copyright to 2023 2023-01-22 19:18:06 +01:00
mount.py Bump copyright to 2023 2023-01-22 19:18:06 +01:00
other.py Bump copyright to 2023 2023-01-22 19:18:06 +01:00
root.py Don't use 'sudo' when running as root 2023-06-04 11:35:08 +02:00
shutdown.py Bump copyright to 2023 2023-01-22 19:18:06 +01:00
user.py Bump copyright to 2023 2023-01-22 19:18:06 +01:00
zap.py Bump copyright to 2023 2023-01-22 19:18:06 +01:00