pmbootstrap/pmb/helpers
Clayton Craft d6c6e70933
pmb.helpers.run_core: fix sudo timer when not using sudo
pmb.config.sudo expects a list of commands + args, so when a string is
passed (e.g. "true"), it results in pmb trying to execute the equivalent
of "$ t r u e":

(8/119) Installing linux-purism-librem5 (6.3.4-r0)

doas: t: command not found
doas: t: command not found
doas: t: command not found
doas: t: command not found

Reviewed-by: Oliver Smith <ollieparanoid@postmarketos.org>
Link: https://lists.sr.ht/~postmarketos/pmbootstrap-devel/%3C20230613141929.15718-1-clayton@craftyguy.net%3E
2023-06-13 17:20:42 +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
aportupgrade.py Move version to pmb.__version__ 2023-04-15 01:44:37 +02:00
args.py Bump copyright to 2023 2023-01-22 19:18:06 +01:00
cli.py Bump copyright to 2023 2023-01-22 19:18:06 +01:00
devices.py Bump copyright to 2023 2023-01-22 19:18:06 +01:00
file.py Bump copyright to 2023 2023-01-22 19:18:06 +01:00
frontend.py pmb.helpers.frontend: Also clear testsuite log when running log -c 2023-06-04 11:41:23 +02:00
git.py Bump copyright to 2023 2023-01-22 19:18:06 +01:00
http.py Bump copyright to 2023 2023-01-22 19:18:06 +01:00
lint.py Bump copyright to 2023 2023-01-22 19:18:06 +01:00
logging.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 pmb.helpers.other.validate_hostname: allow periods 2023-04-15 01:44:31 +02:00
package.py Bump copyright to 2023 2023-01-22 19:18:06 +01:00
pkgrel_bump.py Bump copyright to 2023 2023-01-22 19:18:06 +01:00
pmaports.py Bump copyright to 2023 2023-01-22 19:18:06 +01:00
repo.py Bump copyright to 2023 2023-01-22 19:18:06 +01:00
repo_missing.py Bump copyright to 2023 2023-01-22 19:18:06 +01:00
run.py Don't use 'sudo' when running as root 2023-06-04 11:35:08 +02:00
run_core.py pmb.helpers.run_core: fix sudo timer when not using sudo 2023-06-13 17:20:42 +02:00
status.py Bump copyright to 2023 2023-01-22 19:18:06 +01:00
ui.py Bump copyright to 2023 2023-01-22 19:18:06 +01:00