1
0
Fork 1
mirror of https://gitlab.postmarketos.org/postmarketOS/pmbootstrap.git synced 2025-07-24 13:05:09 +03:00
pmbootstrap/pmb/helpers
Casey Connolly 9f8edf539d treewide: split chroots from workdir
Introduce a new "cache" subdirectory in the pmbootstrap workdir, all the
cache and config bits go in here, anything that needs to be accessible
from inside a chroot. The whole dir is then bind-mounted into the chroot
as /cache with appropriate symlinks.

This dir is in the config as config.cache.

In addition, all the cache_* and other config dirs are renamed to
be closer to the names of the equivalent dirs in the chroot (e.g.
abuild-config) and to avoid redundant naming since they are now under a
"cache" dir.

Signed-off-by: Casey Connolly <kcxt@postmarketos.org>
2025-07-11 19:36:23 +02:00
..
__init__.py Bump copyright to 2023 2023-01-22 19:18:06 +01:00
apk.py treewide: split chroots from workdir 2025-07-11 19:36:23 +02:00
apk_static.py treewide: split chroots from workdir 2025-07-11 19:36:23 +02:00
aportupgrade.py pmb: Reformat with Ruff 0.9 (MR 2525) 2025-01-15 22:35:02 +01:00
args.py treewide: split chroots from workdir 2025-07-11 19:36:23 +02:00
cli.py helpers.cli: Fix regex validation (MR 2557) 2025-02-27 00:24:08 +01:00
devices.py pmb: Also apply ext4 metadata_csum workaround for archived ports 2025-07-07 15:08:54 +02:00
exceptions.py pmb: Remove unnecessary pass statements (MR 2537) 2025-02-02 22:48:50 +01:00
file.py pmb: Add more type hints (MR 2513) 2024-12-19 18:52:25 +01:00
frontend.py WIP: install: rootless disk image 2025-07-11 19:35:04 +02:00
git.py treewide: split chroots from workdir 2025-07-11 19:36:23 +02:00
http.py treewide: split chroots from workdir 2025-07-11 19:36:23 +02:00
lint.py Revert "pmb: Make RunOutputTypeDefault and RunOutputTypePopen enums" 2025-07-10 23:53:54 +02:00
locale.py pmb.helpers.locale: Mark XkbLayout.primary_locales as Final 2025-07-10 21:09:41 +02:00
logging.py pmb.helpers.logging: Fix type for args 2025-05-25 19:26:57 +02:00
mount.py helpers: mount: don't shell out to create dirs 2025-07-11 19:36:22 +02:00
other.py treewide: split chroots from workdir 2025-07-11 19:36:23 +02:00
package.py pmb: Reformat with Ruff 0.9 (MR 2525) 2025-01-15 22:35:02 +01:00
pkgrel_bump.py pmb: Add lots of type hints (MR 2464) 2024-10-30 12:39:45 +01:00
pmaports.py Remove "pmbootstrap repo_bootstrap" 2025-06-03 17:25:41 +02:00
repo.py treewide: split chroots from workdir 2025-07-11 19:36:23 +02:00
repo_missing.py pmb: Use unpacking operator to concatenate collections (MR 2525) 2025-01-15 22:35:02 +01:00
run.py remove sudo wrapper 2025-07-11 19:30:04 +02:00
run_core.py remove sudo timer 2025-07-11 19:30:04 +02:00
status.py show the status output on failure (MR 2472) 2024-11-04 10:15:59 +09:00
toml.py pmb: Add lots of type hints (MR 2464) 2024-10-30 12:39:45 +01:00
ui.py pmb.helpers.ui: Add must_exist argument to check_option() (MR 2530) 2025-01-16 12:22:28 +01:00