summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/rpm
diff options
context:
space:
mode:
authorSaul Wold <sgw@linux.intel.com>2013-05-07 08:26:04 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-05-10 11:43:12 +0100
commitb34cf7ea4e59707283f786e9195b617bb4d5908a (patch)
tree745e1e67dc610cb9a59ac217014d043b1bccd9da /meta/recipes-devtools/rpm
parent2f7c588c5a8148eec37405186c34bdd1425ea30b (diff)
downloadast2050-yocto-poky-b34cf7ea4e59707283f786e9195b617bb4d5908a.zip
ast2050-yocto-poky-b34cf7ea4e59707283f786e9195b617bb4d5908a.tar.gz
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 rev: 2ab642056829aef675f75c05b9ac5bbc43c87cd1) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/rpm')
-rw-r--r--meta/recipes-devtools/rpm/rpm_5.4.9.bb1
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 )
OpenPOWER on IntegriCloud