[poky] external kernel module - hash mismatch

Panagiotis Tamtamis tamtamis at gmail.com
Wed May 10 02:05:55 PDT 2017


Hi,

Did you use SRCPV in recipe in order the recipe version to be updated?
I guess this might resolve the problem.

See:
http://www.yoctoproject.org/docs/1.8/mega-manual/mega-manual.html#var-AUTOREV
http://www.yoctoproject.org/docs/1.8/mega-manual/mega-manual.html#var-SRCPV


Best regards,
Tamis


2017-05-08 15:07 GMT+03:00 Lars Larsen <lars at visionweeding.com>:

> 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 <+45%2029%2080%2027%2084>www.visionweeding.com
>
>
> --
> _______________________________________________
> poky mailing list
> poky at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/poky
>
>


-- 
Think simple!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/poky/attachments/20170510/944d4941/attachment.html>


More information about the poky mailing list