Demo of abi checker hook with hashequiv
Michael Ho <Michael.Ho@...>
Hi all,
I wanted to share with the mailing list a small proof of concept / demo I created that shows how the hashequiv checksum hook can be overridden with a custom hook to avoid rebuilds where the file checksums are not exactly reproducible or change in a compatible manner. In the case of this demo it shows how an abi checker like libabigail can be used to avoid recompiling downstream applications when a recipe deploying a shared library introduces changes that still maintain the ABI (while still catching cases where the ABI breaks). Would be good to get any comments people have about this and also the general feasibility of using abi checkers in a Yocto build.
See: https://github.com/bmwcarit/meta-abicompat and https://github.com/bmwcarit/meta-abicompat-poky
I found though to make this demo that I had to modify poky to split the do_package task into two parts in order to be able to re-package without inducing a recompilation. Would be also interesting to get some comments about what people think about this.
Kind regards, Michael Ho
-- BMW Car IT GmbH Mobil: +49-152-54980-471
|
|