]> code.ossystems Code Review - openembedded-core.git/commit
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 13:44:52 +0000 (14:44 +0100)
commitaf9fd7566a5de4716a202922f5eabb13a412f2fb
tree6cbada72328231947ec5a3c3c6cf3409b532a7eb
parentf44c5f227a170290f567d0a0a24baaa870048788
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.

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