[bitbake-devel] Bitbake do_unpack checksum?

Burton, Ross ross.burton at intel.com
Mon Sep 22 19:20:04 UTC 2014


On 22 September 2014 18:04, Olivier Dugas <dugaso at sonatest.com> wrote:
> I personnally would be satisfied by the point made by Richard Purdie in bug
> 5571 (comment 2), that is putting the checksum into the .done file. I
> believe this would indeed avoid errors like the one we got here. Was it
> implemented? If somebody did this, do you know the commit id, so I can try
> to cherry pick it.

Comment 2 is designed to solve a different problem and won't catch the
tarball on disk getting corrupted because it will simply be comparing
a cached checksum in the .done file with the stated checksum in the
recipe.

I'm not sure what points in the Builld Performance page mean you
couldn't trust the resulting image.  There are some tweaks that mean
data loss in the event of power failure (ie no journal, high write
delay) but in this situation the corrupted disk can be reformatted as
it only contains built objects and can be entirely regenerated.

Ross



More information about the bitbake-devel mailing list