package_rpm.bbclass: Fix attemptonly install failures
authorMark Hatle <mark.hatle@windriver.com>
Fri, 17 Aug 2012 16:25:40 +0000 (11:25 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 17 Aug 2012 17:04:18 +0000 (18:04 +0100)
commitcec3908d97695b057cf26276a2043e20c825c5c5
tree3e1945cb87a09f99ae13bf337926db2f05937b3a
parent5546be472530f67f69d5d6c4149b45ff937b016d
package_rpm.bbclass: Fix attemptonly install failures

During an attemptonly install, if you try to install two packages that
conflict with each other, a message is generated:

 error: Failed dependencies:
     dropbear conflicts with openssh-6.0p1-r4.ppc603e
     dropbear conflicts with openssh-sshd-6.0p1-r4.ppc603e

This is placed onto stderr (vs stdout), which was not being redirected.
This allowed the log-check code to find the magic key of "Failed" causing
the package installation process to fail.  Instead the proper behavior is to
simply ignore the error and proceed with the install.

(From OE-Core rev: 16d8d7fdda4ae7d108f5d50cde3f6104e231bd23)

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