pmbootstrap/pmb/chroot
Oliver Smith 17673c5bf1
pmb.config.workdir: save/check chroot init date (!1878)
Whenever initializing new chroots, save the date in $WORK/workdir.cfg.
Add pmb.config.workdir.chroots_outdated() to check if it's time to zap
the chroots or not (since we don't update them automatically). Mark them
as outdated after two days.

This will be the first check in "pmbootstrap status" (future patches).
Related: #1829
2020-02-24 18:18:38 +01:00
..
__init__.py Cosmetic: use SPDX license header (!1877) 2020-02-24 03:11:10 +03:00
apk.py Cosmetic: use SPDX license header (!1877) 2020-02-24 03:11:10 +03:00
apk_static.py Cosmetic: use SPDX license header (!1877) 2020-02-24 03:11:10 +03: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 pmb.config.workdir: save/check chroot init date (!1878) 2020-02-24 18:18:38 +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 Cosmetic: use SPDX license header (!1877) 2020-02-24 03:11:10 +03:00
other.py Cosmetic: use SPDX license header (!1877) 2020-02-24 03:11:10 +03:00
root.py Cosmetic: use SPDX license header (!1877) 2020-02-24 03:11:10 +03:00
shutdown.py Cosmetic: use SPDX license header (!1877) 2020-02-24 03:11:10 +03:00
user.py Cosmetic: use SPDX license header (!1877) 2020-02-24 03:11:10 +03:00
zap.py pmb.config.workdir: save/check chroot init date (!1878) 2020-02-24 18:18:38 +01:00