Build Configuration: BB_VERSION = "1.21.1" BUILD_SYS = "x86_64-linux" NATIVELSBSTRING = "Arch-rolling" TARGET_SYS = "i586-poky-linux" MACHINE = "qemux86" DISTRO = "poky" DISTRO_VERSION = "1.5+snapshot-20140301" TUNE_FEATURES = "m32 i586" TARGET_FPU = "" meta meta-yocto meta-yocto-bsp = "master:8f36e1ef1afd10594391596391564e8904a840f2" On a clean checkout of poky master: 1. . oe-init-build-env 2. bitbake core-image-minimal 3. Add the following to local.conf: INHERIT += "buildhistory" BUILDHISTORY_COMMIT = "1" 4. bitbake core-image-minimal At step 4, the toolchain is compiled again.
The manual says enabling build history will result in packaging tasks being re-run but it does not say that packages will be recompiled.
It seems my recent "fix" didn't actually fix the problem for recipes that themselves add to SSTATEPOSTINSTFUNCS (e.g. eglibc-initial) - the value is still changing.
The fix here required adding a new "vardepvalueexclude" varflag to BitBake (which does need documenting) and two patches to OE-Core; I have sent all of these out.
Fix merged to master: http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=003d3170edaa9472ee46111caa901ac7ddf9321c http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=0f96a831bca57ee2fd1b3aa3face0989716a5848 http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=229bcde8e445344bd6906cc8fab0088123ba6add
This still happens. I tried the following: 1. MACHINE=qemux86-64 bitbake -c populate_sdk core-image-minimal 2. added the following in local.conf: INHERIT += "buildhistory" BUILDHISTORY_COMMIT = "1" 3. MACHINE=qemux86-64 bitbake -c populate_sdk core-image-minimal At this point, almost everything is getting rebuilt...
Hopefully the last fix: http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=a3f0852b1460188a7f95fb9079e665797fc63f7c I'll be adding a bug to add a QA test for this as well.
Hi, The documentation fix for this was to add some varflags to the list in http://www.yoctoproject.org/docs/1.6/user-manual/user-manual.html#variable-flags. In particular, the new flag "vardepvalueexclude". Along with that varflag are some other flags that help with the signature stuff. Paul reviewed these changes and approved them. Scott
(In reply to comment #6) > Hopefully the last fix: > > http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/ > ?id=a3f0852b1460188a7f95fb9079e665797fc63f7c > > I'll be adding a bug to add a QA test for this as well. Hi Paul, Can you tell me the bug no?
The bug to add the test for this is bug 5953.
(In reply to comment #9) > The bug to add the test for this is bug 5953. Ok thanks. I see that Corneliu is assigned to it so I am adding him as a QA contact. I also marked 5953 as a "TC needed" into the whiteboard
Mihai, you could add also a TC for images, not only TC itself
Verified on master commit: 8ac8eca2e3bd8c78e2b31ea974930ed0243258a3