Go to file
Richard Purdie 941c5ddd19 bitbake: codeparser: Switch to sha256 from md5
We've reports of hash collision with codeparser. Looking at the way collision
problems occur with md5 and the way our function templating works, I can believe
we may run into issues.

This patch therefore switches to sha256.

Performance wise, parse time could appear to rise by 4s in 374s

Before:

384329 in 2.966s (md5)

After:

349743 in 2.340s (sha256)
34723 in 1.245s (md5)

since we still have md5 used elsewhere in the code, something we should look at
next (using sha256 everywhere is around 5.3s in total)

Unfortunately this does nearly double the size of the codeparser cache file
due to the hash size change.

(Bitbake rev: 4bed7a97198176503fe8c72d8dd7c36b28fc9dd1)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-08 11:16:03 +00:00
bitbake bitbake: codeparser: Switch to sha256 from md5 2019-01-08 11:16:03 +00:00
documentation mega-manual: Updates to support BitBake User Manual 2018-12-27 22:53:11 +00:00
meta python-native: fix one do_populate_sysroot warning 2019-01-07 14:38:39 +00:00
meta-poky poky-lsb: bump preferred kernel to 4.19 2018-12-18 16:20:10 +00:00
meta-selftest recipeutils-test: Add missing LIC_FILES_CHKSUM 2018-12-08 17:17:01 +00:00
meta-skeleton meta-skeleton/meta-selftest: Update to thud 2018-09-25 23:15:49 +01:00
meta-yocto-bsp linux-yocto: introduce 4.19 bbappend for genericx86 BSPs 2019-01-03 12:36:30 +00:00
scripts runqemu-gen-tapdevs: Allow run --help without sudo 2019-01-03 12:35:53 +00:00
.gitignore gitignore: Ignore repo tool directory 2018-10-29 17:26:47 +00:00
.templateconf meta-yocto: Rename to meta-poky to better match its purpose 2016-02-28 11:31:17 +00:00
LICENSE
oe-init-build-env oe-init-build-env-memres: Drop it 2017-07-21 08:44:25 +01:00
README.hardware meta-yocto: Restructure and tidy up READMEs 2017-09-14 13:36:22 +01:00
README.LSB pax: remove the recipe 2018-02-24 10:31:45 +00:00
README.poky meta-yocto: Restructure and tidy up READMEs 2017-09-14 13:36:22 +01:00
README.qemu README.qemu: qemuppc64 is not supported 2017-10-16 23:54:31 +01:00

QEMU Emulation Targets
======================

To simplify development, the build system supports building images to
work with the QEMU emulator in system emulation mode. Several architectures
are currently supported in 32 and 64 bit variants:

  * ARM (qemuarm + qemuarm64)
  * x86 (qemux86 + qemux86-64)
  * PowerPC (qemuppc only)
  * MIPS (qemumips + qemumips64)

Use of the QEMU images is covered in the Yocto Project Reference Manual.
The appropriate MACHINE variable value corresponding to the target is given
in brackets.