pmbootstrap/pmb
Johannes Marbach 1eac61bcf7
Add option to run sudo -v in a loop to prevent repeated password entries (MR 1997)
Many of pmbootstrap's actions require root rights. When after requesting
sudo access pmbootstrap takes longer than the sudo timeout interval to finish
execution, the password will have to be entered again on the next sudo
action.

This change adds an opt-in feature to run sudo -v in a background loop
in order to prevent having to enter the password more than once for a single
pmbootstrap run. The loop runs as a daemon timer which automatically gets
canceled when pmbootstrap exits.

Closes: #1677
2020-12-14 19:14:14 +01:00
..
aportgen pmb/aportgen/linux.py: Fix bad substitution error (MR 1999) 2020-12-02 21:32:43 +03:00
build pmb.build._package: Clean up and expand documentation (MR 2003) 2020-12-09 16:24:54 +01:00
chroot pmb.helpers.run_core: change kill_as_root to sudo (MR 1997) 2020-12-14 19:08:07 +01:00
config Add option to run sudo -v in a loop to prevent repeated password entries (MR 1997) 2020-12-14 19:14:14 +01:00
data pmb/data/keys/pmos-5a03a13a.rsa.pub: remove (!1835) 2019-11-21 23:52:25 +01:00
export Cosmetic: use SPDX license header (!1877) 2020-02-24 03:11:10 +03:00
flasher flasher: heimdall-isorec: use kernel+dtb (MR 1986) 2020-11-10 09:15:51 +03:00
helpers Add option to run sudo -v in a loop to prevent repeated password entries (MR 1997) 2020-12-14 19:14:14 +01:00
install pmbootstrap install: properly count install steps (MR 1978) 2020-12-07 22:42:24 -08:00
parse Add sideload command 2020-12-08 17:42:30 +01:00
qemu pmbootstrap qemu: add aarch64 big/little hack (MR 1983) 2020-10-20 22:34:08 +02:00
sideload Add sideload command 2020-12-08 17:42:30 +01:00
__init__.py pmb: Fail on device ports directly in device/* (!1879) 2020-03-14 08:44:53 +01:00