* [ptxdist] How to override files from another package
@ 2019-11-26 18:21 Guillermo Rodriguez Garcia
2019-11-27 9:05 ` Michael Olbrich
0 siblings, 1 reply; 11+ messages in thread
From: Guillermo Rodriguez Garcia @ 2019-11-26 18:21 UTC (permalink / raw)
To: ptxdist
Hi all,
Is there a way for a ptxdist package to override files from another 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 overwrite
the files, but this fails when the package is generated, because there
are multiple packages trying to provide the same files.
BR,
Guillermo Rodriguez Garcia
guille.rodriguez@gmail.com
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [ptxdist] How to override files from another package
2019-11-26 18:21 [ptxdist] How to override files from another package Guillermo Rodriguez Garcia
@ 2019-11-27 9:05 ` Michael Olbrich
2019-11-27 9:22 ` Guillermo Rodriguez Garcia
0 siblings, 1 reply; 11+ messages in thread
From: Michael Olbrich @ 2019-11-27 9:05 UTC (permalink / raw)
To: ptxdist
Hi,
On Tue, Nov 26, 2019 at 07:21:32PM +0100, Guillermo Rodriguez Garcia wrote:
> Is there a way for a ptxdist package to override files from another 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 overwrite
> 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 files do
you want to overwrite?
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
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [ptxdist] How to override files from another package
2019-11-27 9:05 ` Michael Olbrich
@ 2019-11-27 9:22 ` Guillermo Rodriguez Garcia
2019-11-27 9:38 ` Ladislav Michl
` (2 more replies)
0 siblings, 3 replies; 11+ messages in thread
From: Guillermo Rodriguez Garcia @ 2019-11-27 9:22 UTC (permalink / raw)
To: ptxdist
Hi,
El mié., 27 nov. 2019 a las 10:06, Michael Olbrich
(<m.olbrich@pengutronix.de>) escribió:
>
> Hi,
>
> On Tue, Nov 26, 2019 at 07:21:32PM +0100, Guillermo Rodriguez Garcia wrote:
> > Is there a way for a ptxdist package to override files from another 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 overwrite
> > 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 files 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.
Guillermo
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [ptxdist] How to override files from another package
2019-11-27 9:22 ` Guillermo Rodriguez Garcia
@ 2019-11-27 9:38 ` Ladislav Michl
2019-11-27 12:21 ` Guillermo Rodriguez Garcia
2019-11-27 9:38 ` Michael Olbrich
2019-11-28 6:38 ` Robert Schwebel
2 siblings, 1 reply; 11+ messages in thread
From: Ladislav Michl @ 2019-11-27 9:38 UTC (permalink / raw)
To: ptxdist
On Wed, Nov 27, 2019 at 10:22:04AM +0100, Guillermo Rodriguez Garcia wrote:
> Hi,
>
> El mié., 27 nov. 2019 a las 10:06, Michael Olbrich
> (<m.olbrich@pengutronix.de>) escribió:
> >
> > Hi,
> >
> > On Tue, Nov 26, 2019 at 07:21:32PM +0100, Guillermo Rodriguez Garcia wrote:
> > > Is there a way for a ptxdist package to override files from another 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 overwrite
> > > 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 files 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.
A quick way is to copy mesa rules into your BSP and modify them not to copy
libraries you are not interested in to the target.
ladis
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [ptxdist] How to override files from another package
2019-11-27 9:22 ` Guillermo Rodriguez Garcia
2019-11-27 9:38 ` Ladislav Michl
@ 2019-11-27 9:38 ` Michael Olbrich
2019-11-27 12:23 ` Guillermo Rodriguez Garcia
2019-11-28 6:38 ` Robert Schwebel
2 siblings, 1 reply; 11+ messages in thread
From: Michael Olbrich @ 2019-11-27 9:38 UTC (permalink / raw)
To: ptxdist
On Wed, Nov 27, 2019 at 10:22:04AM +0100, Guillermo Rodriguez Garcia wrote:
> El mié., 27 nov. 2019 a las 10:06, Michael Olbrich
> (<m.olbrich@pengutronix.de>) escribió:
> > On Tue, Nov 26, 2019 at 07:21:32PM +0100, Guillermo Rodriguez Garcia wrote:
> > > Is there a way for a ptxdist package to override files from another 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 overwrite
> > > 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 files 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.
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
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [ptxdist] How to override files from another package
2019-11-27 9:38 ` Ladislav Michl
@ 2019-11-27 12:21 ` Guillermo Rodriguez Garcia
0 siblings, 0 replies; 11+ messages in thread
From: Guillermo Rodriguez Garcia @ 2019-11-27 12:21 UTC (permalink / raw)
To: ptxdist
Hi,
El mié., 27 nov. 2019 a las 10:38, Ladislav Michl
(<ladis@linux-mips.org>) escribió:
>
> On Wed, Nov 27, 2019 at 10:22:04AM +0100, Guillermo Rodriguez Garcia wrote:
> > Hi,
> >
> > El mié., 27 nov. 2019 a las 10:06, Michael Olbrich
> > (<m.olbrich@pengutronix.de>) escribió:
> > >
> > > Hi,
> > >
> > > On Tue, Nov 26, 2019 at 07:21:32PM +0100, Guillermo Rodriguez Garcia wrote:
> > > > Is there a way for a ptxdist package to override files from another 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 overwrite
> > > > 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 files 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.
>
> A quick way is to copy mesa rules into your BSP and modify them not to copy
> libraries you are not interested in to the target.
Yes, that's what I am doing now. I was just wondering if there is a cleaner way.
Thanks!
Guillermo Rodriguez Garcia
guille.rodriguez@gmail.com
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [ptxdist] How to override files from another package
2019-11-27 9:38 ` Michael Olbrich
@ 2019-11-27 12:23 ` Guillermo Rodriguez Garcia
2019-11-28 8:38 ` Michael Olbrich
0 siblings, 1 reply; 11+ messages in thread
From: Guillermo Rodriguez Garcia @ 2019-11-27 12:23 UTC (permalink / raw)
To: ptxdist
El mié., 27 nov. 2019 a las 10:38, Michael Olbrich
(<m.olbrich@pengutronix.de>) escribió:
>
> On Wed, Nov 27, 2019 at 10:22:04AM +0100, Guillermo Rodriguez Garcia wrote:
> > El mié., 27 nov. 2019 a las 10:06, Michael Olbrich
> > (<m.olbrich@pengutronix.de>) escribió:
> > > On Tue, Nov 26, 2019 at 07:21:32PM +0100, Guillermo Rodriguez Garcia wrote:
> > > > Is there a way for a ptxdist package to override files from another 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 overwrite
> > > > 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 files 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..
BR;
Guillermo Rodriguez Garcia
guille.rodriguez@gmail.com
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [ptxdist] How to override files from another package
2019-11-27 9:22 ` Guillermo Rodriguez Garcia
2019-11-27 9:38 ` Ladislav Michl
2019-11-27 9:38 ` Michael Olbrich
@ 2019-11-28 6:38 ` Robert Schwebel
2019-11-28 9:09 ` Guillermo Rodriguez Garcia
2 siblings, 1 reply; 11+ messages in thread
From: Robert Schwebel @ 2019-11-28 6:38 UTC (permalink / raw)
To: ptxdist
On Wed, Nov 27, 2019 at 10:22:04AM +0100, Guillermo Rodriguez Garcia wrote:
> > It's not possible. What exactly are you trying to achieve? Which files 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.
You don't want to do that. Etnaviv supports your GPU just fine :-)
rsc
--
Pengutronix e.K. | Dipl.-Ing. Robert Schwebel |
Steuerwalder Str. 21 | https://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
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [ptxdist] How to override files from another package
2019-11-27 12:23 ` Guillermo Rodriguez Garcia
@ 2019-11-28 8:38 ` Michael Olbrich
0 siblings, 0 replies; 11+ messages in thread
From: Michael Olbrich @ 2019-11-28 8:38 UTC (permalink / raw)
To: ptxdist
On Wed, Nov 27, 2019 at 01:23:23PM +0100, Guillermo Rodriguez Garcia wrote:
> El mié., 27 nov. 2019 a las 10:38, Michael Olbrich
> (<m.olbrich@pengutronix.de>) escribió:
> >
> > On Wed, Nov 27, 2019 at 10:22:04AM +0100, Guillermo Rodriguez Garcia wrote:
> > > El mié., 27 nov. 2019 a las 10:06, Michael Olbrich
> > > (<m.olbrich@pengutronix.de>) escribió:
> > > > On Tue, Nov 26, 2019 at 07:21:32PM +0100, Guillermo Rodriguez Garcia wrote:
> > > > > Is there a way for a ptxdist package to override files from another 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 overwrite
> > > > > 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 files 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
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [ptxdist] How to override files from another package
2019-11-28 6:38 ` Robert Schwebel
@ 2019-11-28 9:09 ` Guillermo Rodriguez Garcia
2019-11-28 9:15 ` Robert Schwebel
0 siblings, 1 reply; 11+ messages in thread
From: Guillermo Rodriguez Garcia @ 2019-11-28 9:09 UTC (permalink / raw)
To: ptxdist; +Cc: Robert Schwebel
Hi Robert,
El jue., 28 nov. 2019 a las 7:39, Robert Schwebel
(<r.schwebel@pengutronix.de>) escribió:
>
> On Wed, Nov 27, 2019 at 10:22:04AM +0100, Guillermo Rodriguez Garcia wrote:
> > > It's not possible. What exactly are you trying to achieve? Which files 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.
>
> You don't want to do that. Etnaviv supports your GPU just fine :-)
I don't know. I started a discussion about this with someone some time
ago; we were talking about this and other topics (upstream vs vendor
kernel, u-boot vs barebox, vendor GPU drivers vs etnaviv, NAND vs
eMMC...) but then I suddenly stopped getting answers :-)
BR,
Guillermo Rodriguez Garcia
guille.rodriguez@gmail.com
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [ptxdist] How to override files from another package
2019-11-28 9:09 ` Guillermo Rodriguez Garcia
@ 2019-11-28 9:15 ` Robert Schwebel
0 siblings, 0 replies; 11+ messages in thread
From: Robert Schwebel @ 2019-11-28 9:15 UTC (permalink / raw)
To: Guillermo Rodriguez Garcia; +Cc: ptxdist
On Thu, Nov 28, 2019 at 10:09:51AM +0100, Guillermo Rodriguez Garcia wrote:
> > On Wed, Nov 27, 2019 at 10:22:04AM +0100, Guillermo Rodriguez Garcia wrote:
> > > > It's not possible. What exactly are you trying to achieve? Which files 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.
> >
> > You don't want to do that. Etnaviv supports your GPU just fine :-)
>
> I don't know. I started a discussion about this with someone some time
> ago; we were talking about this and other topics (upstream vs vendor
> kernel, u-boot vs barebox, vendor GPU drivers vs etnaviv, NAND vs
> eMMC...) but then I suddenly stopped getting answers :-)
That was probably that ... "Robert". He is known for having a pretty
well filled mailbox. I'll poke him to take care of you! :^)
rsc
--
Pengutronix e.K. | Dipl.-Ing. Robert Schwebel |
Steuerwalder Str. 21 | https://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
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2019-11-28 9:15 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-26 18:21 [ptxdist] How to override files from another package Guillermo Rodriguez Garcia
2019-11-27 9:05 ` Michael Olbrich
2019-11-27 9:22 ` Guillermo Rodriguez Garcia
2019-11-27 9:38 ` Ladislav Michl
2019-11-27 12:21 ` Guillermo Rodriguez Garcia
2019-11-27 9:38 ` Michael Olbrich
2019-11-27 12:23 ` Guillermo Rodriguez Garcia
2019-11-28 8:38 ` Michael Olbrich
2019-11-28 6:38 ` Robert Schwebel
2019-11-28 9:09 ` Guillermo Rodriguez Garcia
2019-11-28 9:15 ` Robert Schwebel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox