Build history is disabled by default.
To enable it, add the following statements to the end of your
conf/local.conf file found in the
Build Directory:
INHERIT += "buildhistory"
BUILDHISTORY_COMMIT = "1"
Enabling build history as previously described causes the build process to collect build output information and commit it to a local Git repository.
You can disable build history by removing the previous statements
from your conf/local.conf file.
However, you should realize that enabling and disabling
build history in this manner can change the
do_package task checksums, which if you
are using the OEBasicHash signature generator (the default
for many current distro configurations including
DISTRO = "poky" and
DISTRO = "") will result in the packaging
tasks being re-run during the subsequent build.
To disable the build history functionality without causing the
packaging tasks to be re-run, add just this statement to your
conf/local.conf file:
BUILDHISTORY_FEATURES = ""