[OE-core] [PATCH dylan & master] rpm: ensure __mkdir_p matches __mkdir

Saul Wold sgw at linux.intel.com
Tue May 7 15:26:04 UTC 2013


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 at linux.intel.com>

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

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 )
 
-- 
1.8.1.4





More information about the Openembedded-core mailing list