[oe] versioning madness
Cliff Brake
cliff.brake at gmail.com
Tue Apr 10 13:54:33 UTC 2007
On 4/9/07, Tom Walsh <tom at openhardware.net> wrote:
> When the two recipe trees are specified within
> $projdir/build/conf/local.conf as BBFILES :=
> "$projdir/zipitbbfiles/*/*.bb
> $projdir/org.openembedded.dev/packages/*/*.bb", still no problem.
>
> The problem comes up later when someone edits the recipe for
> $projroot/org.openembedded.dev/packages/sysvinit/sysvinit_2.86.bb and
> changes the PR = "rX" to a value larger than the one contained inside
> $projdir/zipitbbfiles/sysvinit_2.86.bb. Guess what happens now? The
> undesired recipe now takes precedence over the private recipe copy as PR
> gets asserted in the numerical version vote!
Actually if you use bbcollections, and set the priority higher in the
zipitbbfiles, it will take precedence no matter what the PR is. Try
something like the following in your local.conf -- replace
openembedded.custom w/ zipitbbfiles ....
BBFILES := "${TOPDIR}/openembedded/packages/*/*.bb
${TOPDIR}/openembedded.custom/packages/*/*.bb"
BBFILE_COLLECTIONS = "upstream custom"
BBFILE_PATTERN_upstream = "^${TOPDIR}/openembedded/packages/"
BBFILE_PATTERN_custom = "^${TOPDIR}/openembedded.custom/packages"
BBFILE_PRIORITY_upstream = "5"
BBFILE_PRIORITY_custom = "10"
Cliff
--
=======================
Cliff Brake
http://bec-systems.com
More information about the Openembedded-devel
mailing list