pmbootstrap-meow/pmb
Oliver Smith c9674c4455
Fix crash in "zap -a" and "zap -o" with apk3
With apkv3, APKINDEX files get deleted when running "apk cache clean".
This is unexpected and needs to be investigated. Meanwhile run
cache_clean() on the native arch last, as it needs the APKINDEX for the
Alpine main repo of the native arch (even if cleaning other arches) in
order to set up the chroot where we run "apk cache clean". This prevents
crashing in "pmbootstrap zap -a" and "pmbootstrap zap -o".

Related: BPO issue 160
Related: pmb issue 2627
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmbootstrap/-/merge_requests/2636
2025-07-03 21:52:54 +02:00
..
aportgen aportgen: re-add bootimg_qcdt variable 2025-07-03 17:01:41 +02:00
build build: fix duplicate install messages 2025-05-08 22:45:18 +02:00
chroot Fix crash in "zap -a" and "zap -o" with apk3 2025-07-03 21:52:54 +02:00
ci pmb.ci: choose multiple scripts at once interactively 2025-03-20 22:01:14 +01:00
commands Remove "pmbootstrap repo_bootstrap" 2025-06-03 17:25:41 +02:00
config Prepare 3.5.0 release 2025-06-09 19:32:22 +02:00
core pmb.arch: Add support for s390x 2025-05-25 11:32:01 +02:00
data test: move all tests into separate module (MR 2551) 2025-02-13 01:28:20 +01:00
export export: drop support for flavor in export 2025-06-09 22:43:57 +02:00
flasher pmb.flasher: fix "flasher boot" crash if cmdline is empty 2025-03-20 23:01:29 +01:00
helpers Revert "pmb.helpers.repo: Always update APKINDEX if it doesn't exist" 2025-07-03 21:52:06 +02:00
install Revert "install: openrc: fix installing alpine-base early" 2025-05-05 21:58:17 +02:00
meta pmb: Remove unused imports (MR 2545) 2025-02-23 11:40:40 +01:00
netboot pmb.netboot: Initialize chroot before checking path in chroot 2025-05-08 23:14:05 +02:00
parse treewide: switch back to bootimg_qcdt{,_type} 2025-07-03 17:01:33 +02:00
qemu pmb.qemu.run: fix x86_64 CPU check for EFI support (MR 2612) 2025-05-27 11:33:16 +02: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.5.2 release 2025-07-02 20:16:02 +02:00
types.py treewide: switch back to bootimg_qcdt{,_type} 2025-07-03 17:01:33 +02:00