[oe-commits] Saul Wold : rpm: ensure __mkdir_p matches __mkdir

git at git.openembedded.org git at git.openembedded.org
Wed May 22 16:08:55 UTC 2013


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

Author: Saul Wold <sgw at linux.intel.com>
Date:   Tue May  7 08:26:04 2013 -0700

rpm: ensure __mkdir_p matches __mkdir

They differ at times because one is set from the db_cv_path_mkdir and the other is
found during config time for the host (/usr/bin/mkdir), in the macros we should just
use __mkdir for the __mkdir_p variant.

[YOCTO #4452]

(From OE-Core master rev: 2ab642056829aef675f75c05b9ac5bbc43c87cd1)

Signed-off-by: Saul Wold <sgw at linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

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

diff --git a/meta/recipes-devtools/rpm/rpm_5.4.9.bb b/meta/recipes-devtools/rpm/rpm_5.4.9.bb
index 112d11d..2dbdca6 100644
--- a/meta/recipes-devtools/rpm/rpm_5.4.9.bb
+++ b/meta/recipes-devtools/rpm/rpm_5.4.9.bb
@@ -360,6 +360,7 @@ FILES_${PN}-staticdev = " \
 do_configure() {
 	# Disable tests!
 	echo "all:" > ${S}/tests/Makefile.am
+	sed -e 's/@__MKDIR_P@/%{__mkdir} -p/' -i ${S}/macros/macros.in
 
 	( cd ${S}; ${S}/autogen.sh )
 



More information about the Openembedded-commits mailing list