Skip to contentSkip to conversation

rpm: ensure __mkdir_p matches __mkdir

PATCH New Saul Wold 1 participant 1 message May 7, 2013

lore
Share & tools
lore

Saul Wold

author
#0 lore raw

PATCH 1/1 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]

---
 meta/recipes-devtools/rpm/rpm_5.4.9.bb | 1 +
 1 file changed, 1 insertion(+)
meta/recipes-devtools/rpm/rpm_5.4.9.bb +1 -0
index 7d2cba4..24f0d3c 100644
@@ -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 )
 
Signature · 1 line
1.8.1.4