Skip to contentSkip to conversation

oddities in meta-openstack layer related to FILESEXTRAPATHS

DISCUSSION Robert P. J. Day 2 participants 2 messages Oct 20, 2020

lore
Share & tools
lore
#0 lore raw

this just doesn't look right:

recipes-devtools/python/python-salttesting_2015.2.16.bb:FILESEXTRAPATHS_append := "${THISDIR}/${PN}" recipes-devtools/python/python-nova_git.bb:FILESEXTRAPATHS_append := "${THISDIR}/${PN}" recipes-support/iproute2/iproute2_openstack.inc:FILESEXTRAPATHS_append := "${THISDIR}/${PN}"

it's not just the lack of a colon; i'm always a bit leery when one
*appends* to FILESEXTRAPATHS. i will let those higher up the food chain deal with this.

rday

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

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

this just doesn't look right:

recipes-devtools/python/python-salttesting_2015.2.16.bb:FILESEXTRAPATHS_append := "${THISDIR}/${PN}" recipes-devtools/python/python-nova_git.bb:FILESEXTRAPATHS_append := "${THISDIR}/${PN}" recipes-support/iproute2/iproute2_openstack.inc:FILESEXTRAPATHS_append := "${THISDIR}/${PN}"

it's not just the lack of a colon; i'm always a bit leery when one
*appends* to FILESEXTRAPATHS. i will let those higher up the food chain deal with this.

It's just adding to the search path, and since whatever is in them are unique, it's on the end versus the more standard prepend.

The lack of a colon, could definitely cause issues if another recipe were to try a subsequent _append, but that isn't very likely either.

That being said, there's no reason why it couldn't use the standard/common _prepend.

Bruce

Quoted 14 lines

rday

--

========================================================================
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca

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

Signature · 3 lines
- Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end
- "Use the force Harry" - Gandalf, Star Trek II