Skip to contentSkip to conversation

why do some openstack layer.conf files add classes to BBFILES?

DISCUSSION Robert P. J. Day 2 participants 3 messages Nov 1, 2016

lore
Share & tools
lore
#0 lore raw

just noticed the following property for a bunch of the openstack
layers at:

http://git.yoctoproject.org/cgit/cgit.cgi/meta-cloud-services/tree/

some of the layer.conf files contain the line:

BBFILES += "${LAYERDIR}/recipes*/*/*.bb ${LAYERDIR}/recipes*/*/*.bbappend ${LAYERDIR}/classes/*.bbclass"

why is the classes/ directory being appended to BBFILES? i thought the purpose of BBPATH was to contain locations of .conf and .bbclass files. i'm puzzled by the above.

rday

Signature · 7 lines
========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================
#1 lore raw
Quoted 5 lines · Robert P. J. Day

just noticed the following property for a bunch of the openstack
layers at:

http://git.yoctoproject.org/cgit/cgit.cgi/meta-cloud-services/tree/

Quoted 9 lines

some of the layer.conf files contain the line:

BBFILES += "${LAYERDIR}/recipes*/*/*.bb ${LAYERDIR}/recipes*/*/*.bbappend ${LAYERDIR}/classes/*.bbclass"

why is the classes/ directory being appended to BBFILES? i thought the purpose of BBPATH was to contain locations of .conf and .bbclass files. i'm puzzled by the above.

You’re right to be puzzled, as that addition is pointless and will do nothing useful.

Signature · 5 lines
Christopher Larson
clarson at kergoth dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Senior Software Engineer, Mentor Graphics
#2 lore raw
Quoted 12 lines · Christopher Larson

On Tue, Nov 1, 2016 at 1:57 AM, Robert P. J. Day <[email protected]> wrote:
  just noticed the following property for a bunch of the openstack layers at:

http://git.yoctoproject.org/cgit/cgit.cgi/meta-cloud-services/tree/

some of the layer.conf files contain the line:

BBFILES += "${LAYERDIR}/recipes*/*/*.bb ${LAYERDIR}/recipes*/*/*.bbappend ${LAYERDIR}/classes/*.bbclass"

Quoted 6 lines

why is the classes/ directory being appended to BBFILES? i thought the purpose of BBPATH was to contain locations of .conf and .bbclass files. i'm puzzled by the above.

You’re right to be puzzled, as that addition is pointless and will do nothing useful.

i already sent a patch to the meta-virt list to get rid of the
cruft.

rday

Signature · 7 lines
========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================