aboutsummaryrefslogtreecommitdiffstats
path: root/rpmrc.in
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@mageia.org>2019-05-04 17:11:01 +0000
committerPascal Terjan <pterjan@mageia.org>2019-05-04 17:11:01 +0000
commitbb4a5dd108fde7118664b092718fdf96d19f6e66 (patch)
tree093d2e5fe26bd74322a9fb04d8ce253f9f94993e /rpmrc.in
parent61bbd00cb4ac613191b6179bc1f03e55612f3bad (diff)
downloadrpm-setup-bb4a5dd108fde7118664b092718fdf96d19f6e66.tar
rpm-setup-bb4a5dd108fde7118664b092718fdf96d19f6e66.tar.gz
rpm-setup-bb4a5dd108fde7118664b092718fdf96d19f6e66.tar.bz2
rpm-setup-bb4a5dd108fde7118664b092718fdf96d19f6e66.tar.xz
rpm-setup-bb4a5dd108fde7118664b092718fdf96d19f6e66.zip
Make armv7hl chroots on aarch64 work as expected
set arch_compat so that urpmi accepts to install armv7hl packages and set canonical architecture to be armv7hl
Diffstat (limited to 'rpmrc.in')
-rw-r--r--rpmrc.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/rpmrc.in b/rpmrc.in
index e5864c1..32f5695 100644
--- a/rpmrc.in
+++ b/rpmrc.in
@@ -109,6 +109,7 @@ buildarchtranslate: armv7: armv5t
buildarchtranslate: armv7l: @ARMV7CANONTARGETCPU@
buildarchtranslate: armv7hl: armv7hl
buildarchtranslate: armv7hnl: armv7hl
+buildarchtranslate: armv8l: @ARMV8CANONTARGETCPU@
#############################################################
# Architecture compatibility
@@ -120,6 +121,8 @@ arch_compat: osfmach3_i586: i586 osfmach3_i486
arch_compat: osfmach3_i486: i486 osfmach3_i386
arch_compat: osfmach3_i386: i486
+arch_compat: armv8l: armv7hl
+
buildarch_compat: k6: i486
macrofiles: @RPMLIBDIR@/macros:@RPMLIBDIR@/%{_target}/macros:@RPMVENDORDIR@/macros:@RPMVENDORDIR@/%{_target}/macros:@RPMSYSCONFDIR@/macros:@RPMSYSCONFDIR@/%{_target}/macros:@RPMSYSCONFDIR@/macros.cdb:@RPMSYSCONFDIR@/macros.d/*.macros:~/.rpmmacros