X-Original-To: alpine-devel@lists.alpinelinux.org Received: from mail-qk0-f195.google.com (mail-qk0-f195.google.com [209.85.220.195]) by lists.alpinelinux.org (Postfix) with ESMTP id 2935C5C4F8F for ; Wed, 16 May 2018 21:12:07 +0000 (GMT) Received: by mail-qk0-f195.google.com with SMTP id 11-v6so1914392qkk.4 for ; Wed, 16 May 2018 14:12:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dereferenced-org.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=vhywOSH4JygCqd6hZ/JB31iEkSS37tdk8x7z3dDes1A=; b=1FtZbhMZYIC2bii9LqSNel2SHgZ/RLvRsaZh9hDsD87NjW6JCbqItFKQruP1IYEH9G DL114w4vB7fGyM6vpt5fMa6sq4CFvPHmRNpdMojU4AP4V6oBz5Q2SiqJ/yYJZEjZdDS9 x2KebGX2uIcEPKhY0UoUU6IqgBlNNeanBSCCkLanTdBn7PcURuxaKYFZoKYmIvkgF6/e coR4eJXtnaT/K5sXyZmZkyBuVDsn7HdpqtWHDmwDSYnU65cpifpGgSDaaIX0vo5oBDde sc9tO1lE594iIZQ1xqNQ2uZ0vrAyB1XobfS7REKC22uR8Wdo407HbPhYlgzmmo1fJyAX j1vA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=vhywOSH4JygCqd6hZ/JB31iEkSS37tdk8x7z3dDes1A=; b=WV0Wxsh1OYLUZ3OzMPq5l/boNy91emQGhD7W89vn8t/4hv800Q+4o9lWatVoJbnyoE XUzPc3iF7kso1angDIUG0UZk37hKFpAlKEF6qGLGDpA27hCzvFq2BAVw5a8CEtYf0FVy ywKEs0RyWbXddJuP3jGyxctzsZXSrFpjKHvk9AahUBeNL2VAXzz4A8H8+wGLBBJ2QNQB Ui1/iPhIDeLZOyFurXWGQhc/M743soPZQUGhkSmwCx8EvpJLGpFrWnB0UE0ebtzIf1Yr kBGGgMF1hZD/K2AyVp5VcDCsMVlHaT/L0Pb9pvUwtecEAYlkhmK9yPe90puq99z/JtyC iSWw== X-Gm-Message-State: ALKqPwdBhfBlIstwmCZfoDVSwozR+4JAVuY3fl/IwtYHixIzSEfidF2+ cleuOCutJ57bUPqiQeQkM2Oc+Wgqe8XTWiusRVZD3w== X-Google-Smtp-Source: AB8JxZpBaeakhYsmcrDG5WVi1SF1QRSfQOyqj5FvM65EcFXCNRVAVv4kMwsT8bvXksvwxaiTqmslIeKYQXoZgGtYfIs= X-Received: by 2002:a37:7402:: with SMTP id p2-v6mr2735595qkc.0.1526505126536; Wed, 16 May 2018 14:12:06 -0700 (PDT) X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 Received: by 2002:ac8:1d12:0:0:0:0:0 with HTTP; Wed, 16 May 2018 14:12:06 -0700 (PDT) In-Reply-To: <171bdb07-0c96-7184-e412-99e322c60385@bitmessage.ch> References: <5ad90a46-8c78-ebdd-e022-a94fe7937805@bitmessage.ch> <171bdb07-0c96-7184-e412-99e322c60385@bitmessage.ch> From: William Pitcock Date: Wed, 16 May 2018 16:12:06 -0500 Message-ID: Subject: Re: [alpine-devel] apk and libraries that optionally replace others To: Oliver Smith Cc: alpine-dev Content-Type: text/plain; charset="UTF-8" Hello, On Wed, May 16, 2018 at 3:55 PM, Oliver Smith 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@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---