Mail archive
alpine-devel

[alpine-devel] Suggestion to accept only whitelisted archs on APKBUILD arch= field

From: Tmp File <tmpfile_at_mail.com>
Date: Thu, 22 Jun 2017 03:03:45 +0200

Alpiners,

I suggest abuild stops to accept anything as an architecture.
Instead it should only accept a few whitelisted strings (x86 x86_64 armhf aarch64 ppc64le s390x noarch).

This will prevent errors like setting unsupported archs.
https://github.com/alpinelinux/aports/blob/master/main/yaboot/APKBUILD#L8

And also help with typos.
https://github.com/alpinelinux/aports/commit/58a2da0b213c969c00c1014552992c415f7a6610

When support for a new arch is added it can be whitelisted.

tmpfile



---
Unsubscribe:  alpine-devel+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-devel+help_at_lists.alpinelinux.org
---
Received on Thu Jun 22 2017 - 03:03:45 GMT