[yocto] Strange error

Gary Thomas gary at mlbassoc.com
Mon Mar 6 04:15:50 PST 2017


I wanted to change (disable) extra getty tasks in my target image.  I'm using
sysvinit, so I added this line to my <MACHINE>.conf:
   SYSVINIT_ENABLED_GETTYS = ""

I thought that would get the sysvinit-inittab package rebuilt as do_install
uses that variable, but alas it did not.

So I took out the big hammer and tried:

$ bitbake sysvinit-inittab -c cleanall
$ bitbake sysvinit-inittab

Now I get this error:

ERROR: When reparsing /local/poky-cutting-edge/meta/recipes-core/sysvinit/sysvinit-inittab_2.88dsf.bb.do_install, the 
basehash value changed from 2b888d6b72e00c404fc7e17436e465eb to 0fd6c915488c10c37cdfd6a674354e65. The metadata is not 
deterministic and this needs to be fixed.
ERROR: Taskhash mismatch 15202ef0ff19a8f7a485533510dab7e8 versus 81fae57019b1a17967258945560affc1 for 
/local/poky-cutting-edge/meta/recipes-core/sysvinit/sysvinit-inittab_2.88dsf.bb.do_install

So I took out an even bigger hammer:
$ find sstate-cache/ -name "*sysvinit-inittab*" | xargs -t rm -f
$ bitbake sysvinit-inittab -c cleanall
$ bitbake sysvinit-inittab

and I still get the same errors.  How can this be?  How do I get
to rebuild my sysvinit-inittab recipe and make the results stick?

Thanks for any pointers

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------



More information about the yocto mailing list