honor nosetarch all the way
Created by: holymonson
Fix nosetarch
support which is honored by arch-nspawn
and mkarchroot
but not archbuild
or makechrootpkg
.
Merge request reports
Activity
why shouldn't the architecture being set? The general workflow would be to have an appropriate wrapped that respects the correct CARCH you want to have via a makepkg.conf and distribute it as makepkg-
{repo}-
{arch}.conf". This can then be used from an appropriate wrapper like extra-arm64-buildCreated by: holymonson
setarch on x86_64 couldn't recognise ARM architecture, and that why nosetarch was introduced at https://github.com/archlinux/devtools/commit/5b9c06d275dd1a2dca09514e39f853bd9c57be3a .
That makes sense for dedicated chroots, but if you are using them through the
archbuild
chain anyway, you have your own wrapper. Won't it work equally by just having an appropriate makepkg-{repo}-
{arch}.conf that has an empty CARCH? That doesn't require to forcefully always pass-s
to make things work. This may need tiny adjustments inarchbuild.in
exclusively. PS: Please also change the completion files when adjusting options.