Mail archive
alpine-devel

Re: [alpine-devel] apk and libraries that optionally replace others

From: William Pitcock <nenolod_at_dereferenced.org>
Date: Wed, 16 May 2018 16:12:06 -0500

Hello,

On Wed, May 16, 2018 at 3:55 PM, Oliver Smith
<ollieparanoid_at_bitmessage.ch> wrote:
> Thanks for the quick and detailed reply! With the solution you have
> described, one can reliably make one package always get installed
> instead of the other one. I have tried it and it works.
>
> But our use case is slightly different: not all devices need
> libdrm-tegra, so we would like all non-tegra devices to depend on the
> regular libdrm package. (If we add a higher provider_priority to
> libdrm-tegra, then *all* devices will use libdrm-tegra.)

Set the higher priority on libdrm instead. It is just the inverse use
case, so use the same technique but backwards.

William


---
Unsubscribe:  alpine-devel+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-devel+help_at_lists.alpinelinux.org
---
Received on Wed May 16 2018 - 16:12:06 GMT