pmbootstrap/pmb/helpers
Johannes Marbach 8842a7d5c0
pmb.helpers.run_core: change kill_as_root to sudo (MR 1997)
Replace the "kill_as_root" argument with a much simpler "sudo" argument
and remove the now obsolete check for the output mode of "kill_as_root".

"kill_as_root" would only get set to True if both conditions are met:
a) command is running with sudo
b) command is running with an output mode ("log" or "stdout") where
   pmb.helpers.run_core would kill it if it does not output anything
   before a timeout is reached

The new "sudo" argument just indicates if the command is running with
sudo (a), regardless of the output mode (b).
2020-12-14 19:08:07 +01:00
..
__init__.py Cosmetic: use SPDX license header (!1877) 2020-02-24 03:11:10 +03:00
apk.py Add progress bar when running apk commands (MR 1996) 2020-12-07 12:41:28 +01:00
aportupgrade.py pmb.helpers.aportupgrade Reformat to 79 characters per line (MR 1993) 2020-11-23 11:30:56 +01:00
args.py pmb.config.pmaports: don't add to args (MR 1912) 2020-05-17 08:08:44 +02:00
cli.py Add progress bar when running apk commands (MR 1996) 2020-12-07 12:41:28 +01:00
devices.py pmb: Look for device/* files in device/*/... instead (!1879) 2020-03-14 08:44:16 +01:00
file.py Cosmetic: use SPDX license header (!1877) 2020-02-24 03:11:10 +03:00
frontend.py Add sideload command 2020-12-08 17:42:30 +01:00
git.py pmb.helpers.git.clone: remove shallow option 2020-06-24 19:29:21 +03:00
http.py pmb.helpers.http.download respects --offline flag (MR 1930) 2020-05-09 12:21:41 +02:00
lint.py pmbootstrap lint: use CUSTOM_VALID_OPTIONS (MR 1934) 2020-05-10 16:35:35 +02:00
logging.py Cosmetic: use SPDX license header (!1877) 2020-02-24 03:11:10 +03:00
mount.py Cosmetic: use SPDX license header (!1877) 2020-02-24 03:11:10 +03:00
other.py Automatically mount binfmt_misc if not mounted already (MR 1923) 2020-12-03 21:03:13 +01:00
package.py pmb.helpers.{package,pmaports,repo}: fix comments (MR 1928) 2020-04-25 13:17:21 +03:00
pkgrel_bump.py pmb.helpers.pkgrel_bump.auto_apkindex_files: remove (MR 1912) 2020-05-17 08:08:45 +02:00
pmaports.py pmb.helpers.{package,pmaports,repo}: fix comments (MR 1928) 2020-04-25 13:17:21 +03:00
repo.py pmb.helpers.repo: Show progress bar when downloading APKINDEX files (MR 1996) 2020-12-07 12:41:28 +01:00
repo_missing.py Cosmetic: use SPDX license header (!1877) 2020-02-24 03:11:10 +03:00
run.py pmb.helpers.run_core: change kill_as_root to sudo (MR 1997) 2020-12-14 19:08:07 +01:00
run_core.py pmb.helpers.run_core: change kill_as_root to sudo (MR 1997) 2020-12-14 19:08:07 +01:00
status.py pmbootstrap status: fix typo 2020-12-04 17:12:36 +03:00
ui.py pmbootstrap init: only display UIs for device arch (MR 1937) 2020-06-02 09:18:39 +02:00