[oe] Problem handling PR in .bbappend files

Otavio Salvador otavio at ossystems.com.br
Tue Jan 4 04:19:28 UTC 2011


Hello,

I am using .bbappend file to change the linux kernel recipe, as follows:

--8<--
otavio at neumann:~/hacking/ossystems/oe$ less
ossystems/recipes/linux/linux_2.6.36.bbappend
# change revision in a dynamic way
PR := "${PR}.oss.1"

# look for files in the layer first
FILESPATHBASE_LAYER := ${@os.path.dirname(bb.data.getVar('FILE', d, True))}
FILESPATHBASE =. "${FILESPATHBASE_LAYER}:"
--8<--

It works however when I build the image the kernel is *always* rebuild.

Any guess?

-- 
Otavio Salvador                             O.S. Systems
E-mail: otavio at ossystems.com.br  http://www.ossystems.com.br
Mobile: +55 53 9981-7854              http://projetos.ossystems.com.br




More information about the Openembedded-devel mailing list