[oe-commits] Richard Purdie : rpm: Fix case where ${B} != ${S}

git at git.openembedded.org git at git.openembedded.org
Fri Mar 22 17:05:34 UTC 2013


Module: openembedded-core.git
Branch: master
Commit: f352f9f25695635bbaad09774f02e66684971fc0
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=f352f9f25695635bbaad09774f02e66684971fc0

Author: Richard Purdie <richard.purdie at linuxfoundation.org>
Date:   Thu Mar 21 14:22:55 2013 +0000

rpm: Fix case where ${B} != ${S}

We need to run autogen.sh in the correct directory (${S}).

Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/recipes-devtools/rpm/rpm_5.4.9.bb |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/meta/recipes-devtools/rpm/rpm_5.4.9.bb b/meta/recipes-devtools/rpm/rpm_5.4.9.bb
index 6286771..ba24111 100644
--- a/meta/recipes-devtools/rpm/rpm_5.4.9.bb
+++ b/meta/recipes-devtools/rpm/rpm_5.4.9.bb
@@ -360,7 +360,7 @@ do_configure() {
 	# Disable tests!
 	echo "all:" > ${S}/tests/Makefile.am
 
-	${S}/autogen.sh
+	( cd ${S}; ${S}/autogen.sh )
 
 	# NASTY hack to make sure configure files the right pkg-config file...
 	sed -e 's/pkg-config --exists uuid/pkg-config --exists ossp-uuid/g' \





More information about the Openembedded-commits mailing list