From 817c3c3e5c0c425bccdde43765f013ff0a0a5667 Mon Sep 17 00:00:00 2001 From: Pavel Raiskup Date: Wed, 16 Nov 2022 09:39:27 +0100 Subject: [PATCH] mock: map armv7hl to the /usr/bin/qemu-arm-static binary Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=2143069 Closes: #1007 --- mock/docs/site-defaults.cfg | 1 + mock/py/mockbuild/config.py | 1 + 2 files changed, 2 insertions(+) diff --git a/mock/docs/site-defaults.cfg b/mock/docs/site-defaults.cfg index 7c32561c0..0388a0ecc 100644 --- a/mock/docs/site-defaults.cfg +++ b/mock/docs/site-defaults.cfg @@ -466,6 +466,7 @@ ## mapping from target_arch (or forcearch) to arch in /usr/bin/qemu-*-static # config_opts['qemu_user_static_mapping'] = { # 'aarch64': 'aarch64', +# 'armv7hl': 'arm', # 'i386': 'i386', # 'i686': 'i386', # 'ppc64': 'ppc64', diff --git a/mock/py/mockbuild/config.py b/mock/py/mockbuild/config.py index 35b03dc74..3486806a0 100644 --- a/mock/py/mockbuild/config.py +++ b/mock/py/mockbuild/config.py @@ -320,6 +320,7 @@ def setup_default_config_opts(): # mapping from target_arch (or forcearch) to arch in /usr/bin/qemu-*-static config_opts["qemu_user_static_mapping"] = { 'aarch64': 'aarch64', + 'armv7hl': 'arm', 'i386': 'i386', 'i686': 'i386', 'ppc64': 'ppc64',