pmbootstrap-meow/pmb
Oliver Smith 4bf3f11b78
pmb.helpers.apk: support PMB_APK_NO_CACHE
Add a new environment variable that disables apk's caching feature for
space constrained environments such as the bpo image build jobs.

Currently we have a workaround in place in bpo: the apk cache is moved
to a tmpfs. But this is fragile and just disabling the apk cache is a
more elegant solution.

I've decided to make this an env var instead of a full pmbootstrap
option since this option is not relevant for normal users, only for CI
jobs in space constrained environments. Also we already have another
`PMB_APK_` env var.

Related: bpo issue 136
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmbootstrap/-/merge_requests/2553
2025-03-17 07:09:10 +01:00
..
aportgen pmb: Remove unused imports (MR 2545) 2025-02-23 11:40:40 +01:00
build FIXUP: build: abstract CrossCompile type logic 2025-03-16 16:30:04 +01:00
chroot pmb.chroot.run: Add another overload for root() (MR 2515) 2025-02-27 00:28:16 +01:00
ci pmb: Remove unused imports (MR 2545) 2025-02-23 11:40:40 +01:00
commands pmb: Remove unused imports (MR 2545) 2025-02-23 11:40:40 +01:00
config pmb.config: Add pmb:cross-native2 to custom valid options (MR 2564) 2025-03-08 04:03:35 +01:00
core core: Arch: define supported arches as a set (MR 2474) 2025-02-27 01:29:35 +01:00
data test: move all tests into separate module (MR 2551) 2025-02-13 01:28:20 +01:00
export pmb: Use explicit re-exports (MR 2545) 2025-02-23 11:40:44 +01:00
flasher pmb.flasher.frontend: Use NonBugError for nonexistent rootfs code path (MR 2540) 2025-03-10 22:15:52 +01:00
helpers pmb.helpers.apk: support PMB_APK_NO_CACHE 2025-03-17 07:09:10 +01:00
install pmb.install.format: add support for setting FDE passphrase 2025-03-14 09:45:04 -07:00
meta pmb: Remove unused imports (MR 2545) 2025-02-23 11:40:40 +01:00
netboot pmb.netboot: Use NonBugError for nonexistent rootfs code path (MR 2540) 2025-03-10 22:15:52 +01:00
parse pmb.parse.apkindex: Improve parse_add_block() type hint (MR 2515) 2025-02-27 00:28:16 +01:00
qemu pmb.qemu.run: Use NonBugError for nonexistent rootfs code path (MR 2540) 2025-03-10 22:15:52 +01:00
sideload sideload: get channel from package not from global pmaports (MR 2569) 2025-03-10 22:22:50 +01:00
__init__.py Prepare 3.3.1 release 2025-02-27 01:09:19 +01:00
types.py FIXUP: build: abstract CrossCompile type logic 2025-03-16 16:30:04 +01:00