[poky] external kernel module - hash mismatch

Lars Larsen lars at visionweeding.com
Mon May 8 05:07:02 PDT 2017


Hi

I have a recipe where I build an external kernel module (a driver).

I followed the model in the hello_mod.bb example, except that the 
SRC_URI is a git repository and  SRCREV= "${AUTOREV}"

I added
PACKAGE_INSTALL_append() = "kernel-module-camdriverV20"

and it works fine. just as expected.

*But*  If I push changes to the git  repository, bitbake fails hard with 
error messages like this:

/ERROR: When reparsing 
/home/lars/poky/meta-fpe/recipes-core/drivers/camdriver/camdriverV20.bb.do_compile, 
the basehash value changed from cc51ed245a373392856ed0fcd4309081 to 
77f012fc7c9ef8b6a34a0c751e3aaa5f. The metadata is not deterministic and 
this needs to be fixed.//
//ERROR: When reparsing 
/home/lars/poky/meta-fpe/recipes-core/drivers/camdriver/camdriverV20.bb.do_install, 
the basehash value changed from c3a246124e6a97131cdb34bc26db47a7 to 
2713df6e7f9e94aee601d6f654758959. The metadata is not deterministic and 
this needs to be fixed.//
/
the only way i can get it to build is to /rm -rf /tmp

/what am I doing wrong/?

-Lars/

-- 

Best Regards
Lars Larsen

F.Poulsen Engineering Aps
Tjørnager 16
4330 Hvalsø
Denmark
+45 29802784
www.visionweeding.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/poky/attachments/20170508/550ab94f/attachment.html>


More information about the poky mailing list