* [PATCH 0/1] Fix broken attempt only installs with RPM
@ 2012-08-17 16:25 Mark Hatle
2012-08-17 16:25 ` [PATCH 1/1] package_rpm.bbclass: Fix attemptonly install failures Mark Hatle
2012-08-17 22:37 ` [PATCH 0/1] Fix broken attempt only installs with RPM Saul Wold
0 siblings, 2 replies; 3+ messages in thread
From: Mark Hatle @ 2012-08-17 16:25 UTC (permalink / raw)
To: openembedded-core
The following changes since commit 99815eddd4e1eb5d939831704231537dd5a995ad:
classes/chrpath: improve chrpath failure handling (2012-08-17 15:25:01 +0100)
are available in the git repository at:
git://git.yoctoproject.org/poky-contrib mhatle/rpm
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=mhatle/rpm
Mark Hatle (1):
package_rpm.bbclass: Fix attemptonly install failures
meta/classes/package_rpm.bbclass | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
--
1.7.3.4
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH 1/1] package_rpm.bbclass: Fix attemptonly install failures
2012-08-17 16:25 [PATCH 0/1] Fix broken attempt only installs with RPM Mark Hatle
@ 2012-08-17 16:25 ` Mark Hatle
2012-08-17 22:37 ` [PATCH 0/1] Fix broken attempt only installs with RPM Saul Wold
1 sibling, 0 replies; 3+ messages in thread
From: Mark Hatle @ 2012-08-17 16:25 UTC (permalink / raw)
To: openembedded-core
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.
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
---
meta/classes/package_rpm.bbclass | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/meta/classes/package_rpm.bbclass b/meta/classes/package_rpm.bbclass
index b58ae85..4b18cc6 100644
--- a/meta/classes/package_rpm.bbclass
+++ b/meta/classes/package_rpm.bbclass
@@ -340,7 +340,7 @@ package_install_internal_rpm () {
-D "_dbpath ${target_rootfs}/install" -D "`cat ${confbase}.macro`" \
-D "__dbi_txn create nofsync private" \
-U --justdb --replacepkgs --noscripts --notriggers --noparentdirs --nolinktos --ignoresize \
- $pkg_name >> "`dirname ${BB_LOGFILE}`/log.do_${task}_attemptonly.${PID}" || true
+ $pkg_name >> "`dirname ${BB_LOGFILE}`/log.do_${task}_attemptonly.${PID}" 2>&1 || true
done
fi
--
1.7.3.4
^ permalink raw reply related [flat|nested] 3+ messages in thread* Re: [PATCH 0/1] Fix broken attempt only installs with RPM
2012-08-17 16:25 [PATCH 0/1] Fix broken attempt only installs with RPM Mark Hatle
2012-08-17 16:25 ` [PATCH 1/1] package_rpm.bbclass: Fix attemptonly install failures Mark Hatle
@ 2012-08-17 22:37 ` Saul Wold
1 sibling, 0 replies; 3+ messages in thread
From: Saul Wold @ 2012-08-17 22:37 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer
On 08/17/2012 09:25 AM, Mark Hatle wrote:
> The following changes since commit 99815eddd4e1eb5d939831704231537dd5a995ad:
>
> classes/chrpath: improve chrpath failure handling (2012-08-17 15:25:01 +0100)
>
> are available in the git repository at:
> git://git.yoctoproject.org/poky-contrib mhatle/rpm
> http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=mhatle/rpm
>
> Mark Hatle (1):
> package_rpm.bbclass: Fix attemptonly install failures
>
> meta/classes/package_rpm.bbclass | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
Merged into OE-Core
Thanks
Sau!
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-08-17 22:49 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-17 16:25 [PATCH 0/1] Fix broken attempt only installs with RPM Mark Hatle
2012-08-17 16:25 ` [PATCH 1/1] package_rpm.bbclass: Fix attemptonly install failures Mark Hatle
2012-08-17 22:37 ` [PATCH 0/1] Fix broken attempt only installs with RPM Saul Wold
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox