]> code.ossystems Code Review - openembedded-core.git/commit
package_rpm: Avoid duplicate package generation failures
authorMark Hatle <mark.hatle@windriver.com>
Fri, 6 Jul 2012 19:14:01 +0000 (14:14 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 9 Jul 2012 10:37:29 +0000 (11:37 +0100)
commit68ea7d827710ae7c5cf402887d4c12319038e064
tree45eb5145ab70b215cec059875b66e26f514c43d6
parent0f60722ef460fa826e4f02e7457004e64ca41d76
package_rpm: Avoid duplicate package generation failures

When constructing a multilib based image, it's possible to end up with
the same package listed in multiple steps of the install.  During resolution
we use the --replacepkgs option to avoid errors, as the resulting install
solution will be as expected.  (We do not enable the replacepkgs option
for the final install step, only the generation of the install solution.)

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