package_rpm.bbclass: Avoid unnecessary installs in complementary pass
authorMark Hatle <mark.hatle@windriver.com>
Fri, 7 Sep 2012 22:05:44 +0000 (17:05 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 12 Sep 2012 14:13:35 +0000 (15:13 +0100)
commit0be13167c772dcda0cb97bae6a9dc93716ef1b83
tree1d7fbd52b2ba6b2ec538d1febeb0d2977630d3f4
parentea12c1b089c2b8c1cf30e38fb4374deff9fe7400
package_rpm.bbclass: Avoid unnecessary installs in complementary pass

When called with the complementary install option, the first step is to
backup the install manifest so that we can avoid installing items previously
installed.  However, this backup process skipped the initial_install portion
of the manifest, causing early install items like libc6, bash, and base-files
to be installed a second time.

Fix this by cating the files to original_solution.  This is done as an append to
allow multiple calls to package_install_internal_rpm to work.

(From OE-Core rev: af9fd7566a5de4716a202922f5eabb13a412f2fb)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/package_rpm.bbclass