]> code.ossystems Code Review - openembedded-core.git/commit
rootfs_rpm.bbclass: save rpmlib rather than remove it
authorRobert Yang <liezhi.yang@windriver.com>
Thu, 7 Jun 2012 23:37:10 +0000 (16:37 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 8 Jun 2012 10:39:34 +0000 (11:39 +0100)
commitc30e79510c06701f10f659eedaa0fe785538ac17
tree20c500a53588782864c8d5a145a684e61f882c36
parentfae7fc49052720f037bac128084851c09d420381
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 #2440]

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