forked from Mirror/pmbootstrap
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.
This commit is contained in:
parent
7a5c04f660
commit
cfa455cc5e
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue