]> code.ossystems Code Review - openembedded-core.git/commit
rootfs.py: tweak _multilib_sanity_test for ipk incremental image generation
authorHongxu Jia <hongxu.jia@windriver.com>
Fri, 21 Feb 2014 06:23:08 +0000 (14:23 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 21 Feb 2014 16:13:55 +0000 (16:13 +0000)
commit8d813f614cdfda31c85bbaf133f2822f90a4a78a
tree53b2dd2c76015077312f45fef3bac77078f4d013
parent0566de3fa424af3bdfadcd0a08ce4c214abda083
rootfs.py: tweak _multilib_sanity_test for ipk incremental image generation

The _multilib_sanity_test installs multilib packages in a temporary
root fs, and compare with the current image to figure out duplicated
files that come from different packages.

While incremental image generation enabled and the previous image
was existed, there was an Multilib check error:
...
ERROR: Multilib check error: duplicate files tmp/work/qemux86_64-poky-
linux/core-image-minimal/1.0-r0/multilib/lib32/lib/libc.so.6 tmp/work/
qemux86_64-poky-linux/core-image-minimal/1.0-r0/rootfs/lib/libc.so.6
is not the same
...

The reason is the file in the existing image has been prelinked by
previous image generation and the file in a temporary root fs is not
prelinked, even though both of them came from the same package, the
Multilib check failed.

[YOCTO #1894]
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
meta/lib/oe/rootfs.py