From: Gary Thomas <gary@mlbassoc.com>
To: yocto@yoctoproject.org
Subject: Re: question about packagegroups
Date: Wed, 12 Jun 2013 09:24:01 +0100 [thread overview]
Message-ID: <51B83021.8010905@mlbassoc.com> (raw)
In-Reply-To: <CAP71Wjz-_omLGprC9xkBaZ6cbp=JmZrgGJy=UjtJCdrZiTfpEg@mail.gmail.com>
On 2013-06-12 09:08, Nicolas Dechesne wrote:
> hello,
>
> i am creating a packagegroup to organize better my image/recipes. i am
> doing something along these lines:
>
> DESCRIPTION = "My Custom Package Groups"
>
> inherit packagegroup
>
> PACKAGES = "\
> packagegroup-custom-apps \
> packagegroup-custom-tools \
> "
>
> RDEPENDS_packagegroup-custom-apps = "\
> dropbear \
> portmap \
> psplash"
>
> RDEPENDS_packagegroup-custom-tools = "\
> oprofile \
> oprofileui-server \
> lttng-control \
> lttng-viewer"
>
> and in my imageA i am pulling *only* packagegroup-custom-tools with
> IMAGE_INSTALL.
>
> What I notice is that all packages listed in my packagegroup even the
> ones from packagegroup-custom-apps which isn't pulled in my image are
> built when building my image. Of course they are not installed, but
> why are they built? it is wasting a large amount of time, while it's
> not even needed. is that really expected or am i doing something wrong
> here?
The problem is that bitbake runs recipes, not packages. So in order to
get the package 'packagegroup-custom-tools', you have to build your main
recipe which will also build 'packagegroup-custom-apps'
I've run across this myself and what I did was to split my package groups
(then called tasks) into separate recipes.
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
next prev parent reply other threads:[~2013-06-12 8:24 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-12 8:08 question about packagegroups Nicolas Dechesne
2013-06-12 8:24 ` Gary Thomas [this message]
2013-06-12 8:28 ` Nicolas Dechesne
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=51B83021.8010905@mlbassoc.com \
--to=gary@mlbassoc.com \
--cc=yocto@yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.