Skip to contentSkip to conversation

feasibility of "excluding" packages from a task?

DISCUSSION Robert P. J. Day 2 participants 2 messages Jul 29, 2010 – Jul 30, 2010

lore
Share & tools
lore
#0 lore raw

not wanting to jump into the main debate, but what is the
feasibility of somehow "excluding" a package or two from a task you're trying to build? as i'm sure you're tired of hearing, most of the time when i try to build a task, it's typically one or two packages that don't build that cause the whole thing to fail.

so would it be hard to add an "exclude" option to bitbake that would
allow one to, say:

  $ bitbake -x gnash beagleboard-demo-image

there would clearly have to be some dependency processing which might require yet other packages to be excluded, etc, etc.

and if one had already attempted the initial build, the exclude
specifier would require bitbake to go back and remove any trace of the broken package so it didn't try to still get dragged in when trying to build the final task image. or something like that.

has this ever been proposed? would it be hard? it would certainly
be a temporary solution to lots of failed builds.

rday

Signature · 9 lines
========================================================================
Robert P. J. Day                               Waterloo, Ontario, CANADA

        Top-notch, inexpensive online Linux/OSS/kernel courses
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================
#1 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 15 lines · Robert P. J. Day

not wanting to jump into the main debate, but what is the
feasibility of somehow "excluding" a package or two from a task you're trying to build? as i'm sure you're tired of hearing, most of the time when i try to build a task, it's typically one or two packages that don't build that cause the whole thing to fail.

so would it be hard to add an "exclude" option to bitbake that would
allow one to, say:

  $ bitbake -x gnash beagleboard-demo-image

there would clearly have to be some dependency processing which might require yet other packages to be excluded, etc, etc.

Quoted 7 lines

and if one had already attempted the initial build, the exclude
specifier would require bitbake to go back and remove any trace of the broken package so it didn't try to still get dragged in when trying to build the final task image. or something like that.

has this ever been proposed? would it be hard? it would certainly
be a temporary solution to lots of failed builds.

Yes, making builds non-deterministic is an excellent idea!

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFMUov0MkyGM64RGpERAvneAJ9SNhrX4r6mNFSiwEdqvWGs4RC+yQCfW1HC 02033OcVHj/OKGxn99n01IU=
=62Jo
-----END PGP SIGNATURE-----