From 19b770d56d8a6db48723e0754e224aaf6de683a3 Mon Sep 17 00:00:00 2001 From: Joe Slater Date: Tue, 7 Mar 2017 14:53:19 -0800 Subject: e2fsprogs: expand @mkdir_p@ during configuration If we do not do this, locale data will not be put into /usr/share/locale. Signed-off-by: Joe Slater Signed-off-by: Ross Burton --- .../e2fsprogs/e2fsprogs/mkdir_p.patch | 20 ++++++++++++++++++++ meta/recipes-devtools/e2fsprogs/e2fsprogs_1.43.4.bb | 1 + 2 files changed, 21 insertions(+) create mode 100644 meta/recipes-devtools/e2fsprogs/e2fsprogs/mkdir_p.patch diff --git a/meta/recipes-devtools/e2fsprogs/e2fsprogs/mkdir_p.patch b/meta/recipes-devtools/e2fsprogs/e2fsprogs/mkdir_p.patch new file mode 100644 index 0000000000..b0fa4b8cc5 --- /dev/null +++ b/meta/recipes-devtools/e2fsprogs/e2fsprogs/mkdir_p.patch @@ -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 + +--- 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 diff --git a/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.43.4.bb b/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.43.4.bb index 95ebc3a556..153b3a15ce 100644 --- a/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.43.4.bb +++ b/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.43.4.bb @@ -8,6 +8,7 @@ SRC_URI += "file://acinclude.m4 \ file://mkdir.patch \ file://Revert-mke2fs-enable-the-metadata_csum-and-64bit-fea.patch \ file://e2fsprogs-1.43-sysmacros.patch \ + file://mkdir_p.patch \ " SRC_URI_append_class-native = " file://e2fsprogs-fix-missing-check-for-permission-denied.patch" -- cgit v1.2.3