From cfa455cc5eb44472b87d1dc91270deac79a61a23 Mon Sep 17 00:00:00 2001 From: Oliver Smith Date: Thu, 7 Nov 2024 19:04:36 +0100 Subject: [PATCH] zap: cache_clean: get apk.static if missing (MR 2481) After extending CI to always run "pmbootstrap zap -a" it revealed another bug: we did not ensure at this point that apk.static is available. Rung apk_static.init() to ensure it gets downloaded and extracted at this point if it is missing. --- pmb/helpers/apk.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pmb/helpers/apk.py b/pmb/helpers/apk.py index 7d2e3b60..13172f18 100644 --- a/pmb/helpers/apk.py +++ b/pmb/helpers/apk.py @@ -273,6 +273,7 @@ def cache_clean(arch: Arch) -> None: command += ["cache", "clean"] _command = _prepare_cmd(command, None) + pmb.helpers.apk_static.init() pmb.helpers.run.root(_command)