pmbootstrap/pmb/chroot
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
apk_static.py Add progress bar when running apk commands (MR 1996) 2020-12-07 12:41:28 +01:00
binfmt.py Cosmetic: use SPDX license header (!1877) 2020-02-24 03:11:10 +03:00
distccd.py Cosmetic: use SPDX license header (!1877) 2020-02-24 03:11:10 +03:00
init.py Add progress bar when running apk commands (MR 1996) 2020-12-07 12:41:28 +01:00
initfs.py Cosmetic: use SPDX license header (!1877) 2020-02-24 03:11:10 +03:00
initfs_hooks.py Cosmetic: use SPDX license header (!1877) 2020-02-24 03:11:10 +03:00
mount.py chroot: put built packages into channel subdir (MR 1912) 2020-05-17 08:08:45 +02:00
other.py pmb.parse.bootimg: detect mediatek header (MR 1955) 2020-08-21 18:33:30 +02:00
root.py pmb.helpers.run_core: change kill_as_root to sudo (MR 1997) 2020-12-14 19:08:07 +01:00
shutdown.py pmbootstrap install --ondev: new option (MR 1946) 2020-06-19 09:36:51 +02:00
user.py Cosmetic: use SPDX license header (!1877) 2020-02-24 03:11:10 +03:00
zap.py pmbootstrap install --ondev: new option (MR 1946) 2020-06-19 09:36:51 +02:00