e2fsprogs: have configure expand @mkdir_p@

Without doing this, locale data is not written
into usr/src/locale.

We could also just use MKDIR_P instead of mkdir_p.

(From OE-Core rev: 6a767f6587a9d60e21fa1d9687c7c08efe3f89ab)

Signed-off-by: Joe Slater <jslater@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Joe Slater
2017-03-07 15:00:55 -08:00
committed by Richard Purdie
parent 8ab3fa3758
commit 1038cb98e6
2 changed files with 21 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
e2fsprogs: expand @mkdir_p@
Add AC_SUBST to configure.ac. @mkdir_p@ is currently
not expanded so no locale data is written into usr/share/locale.
Upstream-Status: Pending
Signed-off-by: Joe Slater <jslater@windriver.com>
--- a/configure.ac
+++ b/configure.ac
@@ -811,6 +811,8 @@ AC_SUBST(PACKAGE)
AC_SUBST(VERSION)
AM_GNU_GETTEXT
+dnl @MKDIR_P@ is expanded in AM_GNU_GETTEXT
+AC_SUBST([mkdir_p],['$(MKDIR_P)'])
dnl
dnl End of configuration options
dnl

View File

@@ -9,6 +9,7 @@ SRC_URI += "file://acinclude.m4 \
file://ptest.patch \
file://mkdir.patch \
file://Revert-mke2fs-enable-the-metadata_csum-and-64bit-fea.patch \
file://mkdir_p.patch \
"
SRC_URI_append_class-native = " file://e2fsprogs-fix-missing-check-for-permission-denied.patch"