When comparing two build histories of the same image, but built using hosts with different filesystems, I noticed that although the images/packages were binary identical, the build histories differed. This was caused by the fact that the generated files (i.e. files-in-package.txt) listed different sizes for the same folder. This depends on the host build filesystem. For example, on EXT4 we see: drwxr-xr-x root root 4096 ./etc and on tmpfs (I use ramdisk when I can), I see: drwxr-xr-x root root 100 ./etc
This makes comparison of the build histories difficult, as virtually all generated files can show up as different. Also, AFAIK, the "folder size" is meaningless anyway, as it has no impact on the package/image size. The attached patch addresses the problem by not printing the folder sizes. The above example would become: drwxr-xr-x root root ./etc This is achieved by piping the lines through awk code. The awk code simply replaces the size by spaces, while keeping the formatting intact. I admit the code is not pretty, but it gets the job done. The ugliness is mostly due to the effort to preserve the original white spaces. Juro Bystricky (1): buildhistory.bbclass: buildhistory_list_files: remove folder size meta/classes/buildhistory.bbclass | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) -- 2.7.4 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core