[Dev] [PATCH abslibre] pacman: Get architecture from CARCH instead of auto

Paul Kocialkowski contact at paulk.fr
Tue Aug 23 09:48:07 GMT 2016


Le vendredi 19 août 2016 à 20:20 -0500, Isaac David a écrit :
> This was bug https://labs.parabola.nu/issues/1039, thanks
> for reminding me of it.

Thanks for pushing a fix in the meantime.

> Were you able to test this configuration? Behind the scenes
> ALARM (should I say AGLARM?) is also doing some extra sed
> magic to substitute @CARCH@ with a hard-coded value at build
> time; so I can almost tell there's no way of using 'auto' or
> anything equivalent under AGLARM. Pacman does use the value
> of uname -m with 'auto' though,

Right, I hadn't dug enough to figure this out.

>  which raises the question:
> how did AGLARM come about giving the architecture this name?

The kernel uses the final letter "l" to indicate endianness. ALARM on the other
hand uses "h" to indicate hard floating point.

> The hack makes sense for them, because they chose to use a
> single pacman.conf template for all the architectures they
> maintain; but we have multiple files, like Arch does, in
> abslibre and therefore can afford just hard-coding "armv7h"
> in there. That's exactly what I did.

I think that's the right thing to do here.


Paul Kocialkowski, developer of low-level free software for embedded devices

Website: https://www.paulk.fr/
Coding blog: https://code.paulk.fr/
Git repositories: https://git.paulk.fr/ https://git.code.paulk.fr/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part
URL: <https://lists.parabola.nu/pipermail/dev/attachments/20160823/0eb6623b/attachment.sig>

More information about the Dev mailing list