Patchwork [dylan,&,master] rpm: ensure __mkdir_p matches __mkdir

login
register
mail settings
Submitter Saul Wold
Date May 7, 2013, 3:26 p.m.
Message ID <1367940364-4345-1-git-send-email-sgw@linux.intel.com>
Download mbox | patch
Permalink /patch/49477/
State Accepted
Commit b34cf7ea4e59707283f786e9195b617bb4d5908a
Headers show

Comments

Saul Wold - May 7, 2013, 3:26 p.m.
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]

Signed-off-by: Saul Wold <sgw@linux.intel.com>

---
 meta/recipes-devtools/rpm/rpm_5.4.9.bb | 1 +
 1 file changed, 1 insertion(+)

Patch

diff --git a/meta/recipes-devtools/rpm/rpm_5.4.9.bb b/meta/recipes-devtools/rpm/rpm_5.4.9.bb
index 7d2cba4..24f0d3c 100644
--- a/meta/recipes-devtools/rpm/rpm_5.4.9.bb
+++ b/meta/recipes-devtools/rpm/rpm_5.4.9.bb
@@ -359,6 +359,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 )