* [ptxdist] Can packages be build w/o installing them on the rootfs?
@ 2017-09-28 10:49 Andreas Glatz
2017-09-28 13:12 ` Ian Abbott
0 siblings, 1 reply; 3+ messages in thread
From: Andreas Glatz @ 2017-09-28 10:49 UTC (permalink / raw)
To: ptxdist
Hi
We have a platform application and one to three dynamic libraries
that, if present, are loaded into the platform to extend its
functionality. The finished product with be sold in three grades, base
advanced and full. The base version should only contain the platform
application, and base dynlib, the advanced version should only contain
the platform application, and base + advanced dynlibs, ...
Our idea now is to have three ptxdist packages that depend on the
platform application package:
- base pkg: contains only the base dynlib
- advanced pkg: contains only the base + adv dynlibs
- full pkg: contains only the base + adv + full dynlibs
When we compile the rootfs we want all three packages built, but
initially none installed on the rootfs. Is this possible somehow?
Cheers,
Andreas
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [ptxdist] Can packages be build w/o installing them on the rootfs?
2017-09-28 10:49 [ptxdist] Can packages be build w/o installing them on the rootfs? Andreas Glatz
@ 2017-09-28 13:12 ` Ian Abbott
2017-09-28 14:25 ` Juergen Borleis
0 siblings, 1 reply; 3+ messages in thread
From: Ian Abbott @ 2017-09-28 13:12 UTC (permalink / raw)
To: ptxdist, Andreas Glatz
On 28/09/17 11:49, Andreas Glatz wrote:
> Hi
>
> We have a platform application and one to three dynamic libraries
> that, if present, are loaded into the platform to extend its
> functionality. The finished product with be sold in three grades, base
> advanced and full. The base version should only contain the platform
> application, and base dynlib, the advanced version should only contain
> the platform application, and base + advanced dynlibs, ...
>
> Our idea now is to have three ptxdist packages that depend on the
> platform application package:
> - base pkg: contains only the base dynlib
> - advanced pkg: contains only the base + adv dynlibs
> - full pkg: contains only the base + adv + full dynlibs
>
> When we compile the rootfs we want all three packages built, but
> initially none installed on the rootfs. Is this possible somehow?
Perhaps you could use the "collections" feature.
--
-=( Ian Abbott @ MEV Ltd. E-mail: <abbotti@mev.co.uk> )=-
-=( Web: http://www.mev.co.uk/ )=-
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [ptxdist] Can packages be build w/o installing them on the rootfs?
2017-09-28 13:12 ` Ian Abbott
@ 2017-09-28 14:25 ` Juergen Borleis
0 siblings, 0 replies; 3+ messages in thread
From: Juergen Borleis @ 2017-09-28 14:25 UTC (permalink / raw)
To: ptxdist; +Cc: Andreas Glatz
Hi Andreas,
On Thursday 28 September 2017 15:12:34 Ian Abbott wrote:
> > We have a platform application and one to three dynamic libraries
> > that, if present, are loaded into the platform to extend its
> > functionality. The finished product with be sold in three grades, base
> > advanced and full. The base version should only contain the platform
> > application, and base dynlib, the advanced version should only contain
> > the platform application, and base + advanced dynlibs, ...
> >
> > Our idea now is to have three ptxdist packages that depend on the
> > platform application package:
> > - base pkg: contains only the base dynlib
> > - advanced pkg: contains only the base + adv dynlibs
> > - full pkg: contains only the base + adv + full dynlibs
> >
> > When we compile the rootfs we want all three packages built, but
> > initially none installed on the rootfs. Is this possible somehow?
>
> Perhaps you could use the "collections" feature.
Sounds like a job for LAZY_PACKAGES instead: Define three lazy packages with
different library content and then create three different filesystem
images, each includes one of the three lazy packages. Lazy packages are no
regular rootfs content. They need to be explicitly listed in the package
list for an filesystem image.
Unfortunately the LAZY_PACKAGES feature isn't documented yet. I'm working on
it, but its not finished yet.
Cheers,
Juergen
--
Pengutronix e.K. | Juergen Borleis |
Industrial Linux Solutions | http://www.pengutronix.de/ |
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-09-28 14:25 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-09-28 10:49 [ptxdist] Can packages be build w/o installing them on the rootfs? Andreas Glatz
2017-09-28 13:12 ` Ian Abbott
2017-09-28 14:25 ` Juergen Borleis
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox