openvswitch recipe: .bb SRC_URI simply overwrites SRC_URI from .inc file
apart from the aforementioned oddity of appending to
FILESEXTRAPATHS, i just noticed that openvswitch.bb, as its first line:
require openvswitch.inc
which, among other things, does this:
SRC_URI = "\
file://openvswitch-switch \
file://openvswitch-switch-setup \
file://openvswitch-testcontroller \
file://openvswitch-testcontroller-setup \
"after which the recipe file itself simply stomps on that SRC_URI setting thusly:
SRC_URI = "file://openvswitch-switch \
file://openvswitch-switch-setup \
file://openvswitch-testcontroller \
file://openvswitch-testcontroller-setup \
... etc etc ... i will defer to the meta-virt folks to decide what they want to do
here (if anything).
rday
Quoted 28 lines · Robert P. J. Day
apart from the aforementioned oddity of appending to
FILESEXTRAPATHS, i just noticed that openvswitch.bb, as its first line:require openvswitch.inc
which, among other things, does this:
SRC_URI = "\ file://openvswitch-switch \ file://openvswitch-switch-setup \ file://openvswitch-testcontroller \ file://openvswitch-testcontroller-setup \ "after which the recipe file itself simply stomps on that
SRC_URIsetting thusly:SRC_URI = "file://openvswitch-switch \ file://openvswitch-switch-setup \ file://openvswitch-testcontroller \ file://openvswitch-testcontroller-setup \ ... etc etc ...
Quoted 2 lines
i will defer to the meta-virt folks to decide what they want to do
here (if anything).
We used to have multiple supported versions of openvswitch, and those were common files, hence in the .include.
Over time, folks have forgotten that it was common and have clobbered the values.
I'll fix it up this morning :D
Bruce
Quoted 5 lines
rday
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