]> code.ossystems Code Review - openembedded-core.git/commit
rootfs_rpm.bbclass: save rpmlib rather than remove it
authorRobert Yang <liezhi.yang@windriver.com>
Tue, 13 Nov 2012 12:56:37 +0000 (20:56 +0800)
committerScott Garman <scott.a.garman@intel.com>
Fri, 30 Nov 2012 02:35:33 +0000 (18:35 -0800)
commit15e13ea1fc8a0c29b4ca68c31c83ca013c89c36e
tree564d1848b7bc75978bcf441a507c30dea0f17534
parent1f5113ae91ed639cf06fcbb9431b460d7a06bbbc
rootfs_rpm.bbclass: save rpmlib rather than remove it

The rpmlib was removed when images that add
"remove_packaging_data_files" to ROOTFS_POSTPROCESS_COMMAND, which would
make the increment rpm image generation doesn't work in the second
build, since list_installed_packages would get incorrect value in the
second build, move the rpmlib to ${T} rather than remove it, and move it
back when INC_RPM_IMAGE_GEN =1.

[YOCTO #2690]

(From OE-Core rev: c30e79510c06701f10f659eedaa0fe785538ac17)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/image.bbclass
meta/classes/rootfs_rpm.bbclass