no need to force-reinstall qemu/binfmt anymore
This commit is contained in:
parent
482744feb2
commit
fd4ac1c2cd
1 changed files with 1 additions and 2 deletions
|
@ -590,8 +590,7 @@ def cmd_build(paths: list[str], force=False, arch=None):
|
||||||
enable_ccache=False,
|
enable_ccache=False,
|
||||||
)
|
)
|
||||||
for pkg in CROSSDIRECT_PKGS:
|
for pkg in CROSSDIRECT_PKGS:
|
||||||
# do not add --needed so we reinstall qemu+binfmt always in order to register the binfmt handler
|
subprocess.run(['pacman', '-Syy', pkg, '--noconfirm', '--needed'])
|
||||||
subprocess.run(['pacman', '-Syy', pkg, '--noconfirm'])
|
|
||||||
binfmt_register(arch)
|
binfmt_register(arch)
|
||||||
|
|
||||||
build_packages_by_paths(
|
build_packages_by_paths(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue