From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from ptx.hi.pengutronix.de ([2001:67c:670:100:1d::c0]) by metis.ext.pengutronix.de with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1iaFJg-0000mU-Hi for ptxdist@pengutronix.de; Thu, 28 Nov 2019 09:38:24 +0100 Received: from mol by ptx.hi.pengutronix.de with local (Exim 4.89) (envelope-from ) id 1iaFJg-0005DK-9a for ptxdist@pengutronix.de; Thu, 28 Nov 2019 09:38:24 +0100 Date: Thu, 28 Nov 2019 09:38:24 +0100 From: Michael Olbrich Message-ID: <20191128083824.o5ayzi4jre3npfs2@pengutronix.de> References: <20191127090547.si52ig7r6zb5bmzr@pengutronix.de> <20191127093835.2kcxk5sapukwvglv@pengutronix.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: Subject: Re: [ptxdist] How to override files from another package List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Errors-To: ptxdist-bounces@pengutronix.de Sender: "ptxdist" To: ptxdist@pengutronix.de On Wed, Nov 27, 2019 at 01:23:23PM +0100, Guillermo Rodriguez Garcia wrote: > El mi=E9., 27 nov. 2019 a las 10:38, Michael Olbrich > () escribi=F3: > > > > On Wed, Nov 27, 2019 at 10:22:04AM +0100, Guillermo Rodriguez Garcia wr= ote: > > > El mi=E9., 27 nov. 2019 a las 10:06, Michael Olbrich > > > () escribi=F3: > > > > On Tue, Nov 26, 2019 at 07:21:32PM +0100, Guillermo Rodriguez Garci= a wrote: > > > > > Is there a way for a ptxdist package to override files from anoth= er package? > > > > > For example something similar to this: > > > > > > > > > > https://lists.linaro.org/pipermail/openembedded/2016-June/000031.= html > > > > > > > > > > I tried to create a package which depends on MESALIB (so that > > > > > mesalib's targetinstall rule runs first), and then simply overwri= te > > > > > the files, but this fails when the package is generated, because = there > > > > > are multiple packages trying to provide the same files. > > > > > > > > It's not possible. What exactly are you trying to achieve? Which fi= les do > > > > you want to overwrite? > > > > > > As in the post from the ML above -- I am trying to overwrite the > > > generic GL libraries provided by Mesa and replace them with > > > vendor-provided binaries. > > > > Then you should not install mesa at all. > = > Not all libraries are replaced. > = > Also mesa is selected by other packages (such as weston), so if I > wanted to skip mesa I would need to patch those as well.. Which libraries do you want replace? I assume libgbm from Mesa remains but libGL* are replaced? And weston still works that way? Michael -- = Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de