* How to remove a particular package or packages collection for an image
@ 2012-04-10 7:20 Jegan Chandru
2012-04-10 7:29 ` Tomas Frydrych
0 siblings, 1 reply; 2+ messages in thread
From: Jegan Chandru @ 2012-04-10 7:20 UTC (permalink / raw)
To: yocto
[-- Attachment #1: Type: text/plain, Size: 975 bytes --]
Hi,
I am using Yocto milestone release 1.1.1 for my custom root filesystem
image creation. I just need some help in achieving it successfully.
I wrote a custom task bb file which defines/includes the packages i need in
my image. I also wrote a core-image-custom.bb file that includes these
tasks + other tasks. I also inherited core-image.bbclass in
core-image-custom.bb. The file looks something like this,
*IMAGE_INSTALL = "\*
* task-base \*
* task-core-basic \*
* task-core-boot \*
* .......*
* task-custom \*
* "*
*inherit core-image*
I did dry-run on core-image-custom and I see mostly all packages from
yocto included in my image, the packages that I do not need. So, how can I
remove a particular package or a package collection, say graphics or some X
packages for my image. Is it possible? or can core-image.bbclass is
overwritable? Does my approach ok?
Any help in achieving this is much appreciated.
Thanks,
JC
[-- Attachment #2: Type: text/html, Size: 1349 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: How to remove a particular package or packages collection for an image
2012-04-10 7:20 How to remove a particular package or packages collection for an image Jegan Chandru
@ 2012-04-10 7:29 ` Tomas Frydrych
0 siblings, 0 replies; 2+ messages in thread
From: Tomas Frydrych @ 2012-04-10 7:29 UTC (permalink / raw)
To: yocto
On 10/04/12 08:20, Jegan Chandru wrote:
> I did dry-run on core-image-custom and I see mostly all packages from
> yocto included in my image, the packages that I do not need. So, how can
> I remove a particular package or a package collection, say graphics or
> some X packages for my image. Is it possible? or can core-image.bbclass
> is overwritable? Does my approach ok?
>
> Any help in achieving this is much appreciated.
The basic package selection in the Poky/Yocto images is done on basis of
the DISTRO_FEATURES variable, so you need to set this somewhere suitable
to only include the components you need (iirc, the default package
selection is quite rich).
Other than that, bitbake -g <package> generates .dot files that show
package dependencies, so you can work out why particular package is
being included.
Tomas
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-04-10 7:29 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-10 7:20 How to remove a particular package or packages collection for an image Jegan Chandru
2012-04-10 7:29 ` Tomas Frydrych
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.