[OE-core] [PATCH 08/16] rpm: Fix case where ${B} != ${S}
Richard Purdie
richard.purdie at linuxfoundation.org
Thu Mar 21 15:55:07 UTC 2013
We need to run sutogen.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 file changed, 1 insertion(+), 1 deletion(-)
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' \
--
1.7.10.4
More information about the Openembedded-core
mailing list