For discussion of Alpine Linux development and developer support

1

[alpine-devel] I found how apk handles noarch a little weird.

Magicloud Magiclouds
Details
Message ID
<CABErt4f053VGtCzdonnt_00_hgyHqOj5m1jMEq_RodS3x2s-pQ@mail.gmail.com>
Sender timestamp
1551071261
DKIM signature
missing
Download raw message
Hi,

When a package was configured as "arch='noarch'", it would be marked
as noarch in APKINDEX as well, and should be located in
$repos/noarch/. This is expected.

But unlike Ubuntu or Tinycorelinux, the APKINDEX itself, must be in
"current arch" (aarch64 if it was RPI3), no matter what it contains.
Seems like there is no such thing as "noarch APKINDEX".

Did I do something wrong? Or it is designed like this?

-- 
竹密岂妨流水过
山高哪阻野云飞

And for G+, please use magiclouds#gmail.com.


---
Unsubscribe:  alpine-devel+unsubscribe@lists.alpinelinux.org
Help:         alpine-devel+help@lists.alpinelinux.org
---
A. Wilcox
Details
Message ID
<BB6DD639-8DC0-42EB-9B65-316C683DEA9F@adelielinux.org>
In-Reply-To
<CABErt4f053VGtCzdonnt_00_hgyHqOj5m1jMEq_RodS3x2s-pQ@mail.gmail.com> (view parent)
Sender timestamp
1551115217
DKIM signature
missing
Download raw message
On Feb 24, 2019, at 11:07 PM, Magicloud Magiclouds <magicloud.magiclouds@gmail.com> wrote:
> 
> Hi,
> 
> When a package was configured as "arch='noarch'", it would be marked
> as noarch in APKINDEX as well, and should be located in
> $repos/noarch/. This is expected.
> 
> But unlike Ubuntu or Tinycorelinux, the APKINDEX itself, must be in
> "current arch" (aarch64 if it was RPI3), no matter what it contains.
> Seems like there is no such thing as "noarch APKINDEX".
> 
> Did I do something wrong? Or it is designed like this?
> 
> -- 
> 竹密岂妨流水过
> 山高哪阻野云飞
> 
> And for G+, please use magiclouds#gmail.com.


That’s by design.

—arw

--
A. Wilcox (Sent from my iPhone - not signed)
Project Lead, Adélie Linux
https://www.adelielinux.org