Skip to content

allow to call setarch with a different value than $CARCH

Created by: deep-42-thought

Introduce setarch-aliases.d/ which gets installed inside /usr/share/devtools. This allows to assign aliases which map one CARCH to a different name which gets provided as argument for setarch. This is necessary on archlinuxarm ("armv6h" -> "armv6l", "armv7h" -> "armv7l") and allows for more fine-grained architectures (e.g. archlinux32 has "i686" and "pentium4", which differ in the required cpu capabilities).

This would solve issue #44 (closed) For a demonstration of how this can be used downstream, have a look at 82cf57ebcfe5469ef47c61dc4e91a9ddb77ab30f 7c9eb9269ee30b302d6cfc8005a33374cde53bb5 c8387401d80a48f8238f637f0cd1971bc63ef852

Merge request reports