All of lore.kernel.org
 help / color / mirror / Atom feed
* Building a metapackage
@ 2014-03-14 16:34 David Welch
  2014-03-14 16:41 ` Burton, Ross
  2014-03-14 16:45 ` Gary Thomas
  0 siblings, 2 replies; 4+ messages in thread
From: David Welch @ 2014-03-14 16:34 UTC (permalink / raw)
  To: yocto@yoctoproject.org

[-- Attachment #1: Type: text/plain, Size: 763 bytes --]

Hi,

Is it possible to build a meta packages whose sole purpose is to bring in
dependencies?

Suppose I have package-1.deb, package-2.deb and package-3.deb.  I would
like add a .bb file to build a metapackage for those three packages.  I
have tried the following but it didn't work:

SUMMARY = "Package"
DESCRIPTION = ""
LICENSE = "CLOSED"
DEPENDS = " \
package-1 package-2 package-3 \
"
inherit meta

My use case is a series of voices by different manufactures which need to
be installed on a per-manufacturer basis.  So all the voices from
manufacture1 would need to be installed on one machine and all the voices
from manufacturer2 need to go on another machine.  There are about 50-100
voice packages per manufacturer.

Thanks,
David

[-- Attachment #2: Type: text/html, Size: 1011 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Building a metapackage
  2014-03-14 16:34 Building a metapackage David Welch
@ 2014-03-14 16:41 ` Burton, Ross
  2014-03-14 16:45 ` Gary Thomas
  1 sibling, 0 replies; 4+ messages in thread
From: Burton, Ross @ 2014-03-14 16:41 UTC (permalink / raw)
  To: David Welch; +Cc: yocto@yoctoproject.org

On 14 March 2014 16:34, David Welch <djwelch666@gmail.com> wrote:
> Is it possible to build a meta packages whose sole purpose is to bring in
> dependencies?

You've just described a package group - have a look at anything called
packagegroup-*.bb in oe-core, and packagegroup.bbclass.

Ross


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Building a metapackage
  2014-03-14 16:34 Building a metapackage David Welch
  2014-03-14 16:41 ` Burton, Ross
@ 2014-03-14 16:45 ` Gary Thomas
  2014-03-14 17:15   ` David Welch
  1 sibling, 1 reply; 4+ messages in thread
From: Gary Thomas @ 2014-03-14 16:45 UTC (permalink / raw)
  To: yocto

On 2014-03-14 10:34, David Welch wrote:
> Hi,
> 
> Is it possible to build a meta packages whose sole purpose is to bring in dependencies?
> 
> Suppose I have package-1.deb, package-2.deb and package-3.deb.  I would like add a .bb file to build a metapackage for those three packages.  I have tried the following but it
> didn't work:
> 
> SUMMARY = "Package"
> DESCRIPTION = ""
> LICENSE = "CLOSED"
> DEPENDS = " \
> package-1 package-2 package-3 \
> "
> inherit meta
> 
> My use case is a series of voices by different manufactures which need to be installed on a per-manufacturer basis.  So all the voices from manufacture1 would need to be installed
> on one machine and all the voices from manufacturer2 need to go on another machine.  There are about 50-100 voice packages per manufacturer.

I think packagegroups (previously known as tasks) are what you are looking for.

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Building a metapackage
  2014-03-14 16:45 ` Gary Thomas
@ 2014-03-14 17:15   ` David Welch
  0 siblings, 0 replies; 4+ messages in thread
From: David Welch @ 2014-03-14 17:15 UTC (permalink / raw)
  To: Gary Thomas; +Cc: yocto@yoctoproject.org

[-- Attachment #1: Type: text/plain, Size: 1476 bytes --]

Thanks for your quick reponses, that works.


On Fri, Mar 14, 2014 at 4:45 PM, Gary Thomas <gary@mlbassoc.com> wrote:

> On 2014-03-14 10:34, David Welch wrote:
> > Hi,
> >
> > Is it possible to build a meta packages whose sole purpose is to bring
> in dependencies?
> >
> > Suppose I have package-1.deb, package-2.deb and package-3.deb.  I would
> like add a .bb file to build a metapackage for those three packages.  I
> have tried the following but it
> > didn't work:
> >
> > SUMMARY = "Package"
> > DESCRIPTION = ""
> > LICENSE = "CLOSED"
> > DEPENDS = " \
> > package-1 package-2 package-3 \
> > "
> > inherit meta
> >
> > My use case is a series of voices by different manufactures which need
> to be installed on a per-manufacturer basis.  So all the voices from
> manufacture1 would need to be installed
> > on one machine and all the voices from manufacturer2 need to go on
> another machine.  There are about 50-100 voice packages per manufacturer.
>
> I think packagegroups (previously known as tasks) are what you are looking
> for.
>
> --
> ------------------------------------------------------------
> Gary Thomas                 |  Consulting for the
> MLB Associates              |    Embedded world
> ------------------------------------------------------------
> --
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>

[-- Attachment #2: Type: text/html, Size: 2128 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-03-14 17:15 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-14 16:34 Building a metapackage David Welch
2014-03-14 16:41 ` Burton, Ross
2014-03-14 16:45 ` Gary Thomas
2014-03-14 17:15   ` David Welch

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.