diff options
author | Joe Slater <jslater@windriver.com> | 2017-03-07 15:00:55 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-03-14 15:20:42 +0000 |
commit | 1038cb98e65b142f36a13cf83ddb787f29b4d6e0 (patch) | |
tree | d8b2a959759bd49e3cc366d6b4d94ccae9037efe | |
parent | 8ab3fa375891eba3dc102b6ee7fee3582070654b (diff) | |
download | poky-1038cb98e65b142f36a13cf83ddb787f29b4d6e0.tar.gz |
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>
-rw-r--r-- | meta/recipes-devtools/e2fsprogs/e2fsprogs/mkdir_p.patch | 20 | ||||
-rw-r--r-- | meta/recipes-devtools/e2fsprogs/e2fsprogs_1.43.bb | 1 |
2 files changed, 21 insertions, 0 deletions
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 @@ | |||
1 | e2fsprogs: expand @mkdir_p@ | ||
2 | |||
3 | Add AC_SUBST to configure.ac. @mkdir_p@ is currently | ||
4 | not expanded so no locale data is written into usr/share/locale. | ||
5 | |||
6 | Upstream-Status: Pending | ||
7 | |||
8 | Signed-off-by: Joe Slater <jslater@windriver.com> | ||
9 | |||
10 | --- a/configure.ac | ||
11 | +++ b/configure.ac | ||
12 | @@ -811,6 +811,8 @@ AC_SUBST(PACKAGE) | ||
13 | AC_SUBST(VERSION) | ||
14 | |||
15 | AM_GNU_GETTEXT | ||
16 | +dnl @MKDIR_P@ is expanded in AM_GNU_GETTEXT | ||
17 | +AC_SUBST([mkdir_p],['$(MKDIR_P)']) | ||
18 | dnl | ||
19 | dnl End of configuration options | ||
20 | dnl | ||
diff --git a/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.43.bb b/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.43.bb index f4855bc430..5e30ec90b0 100644 --- a/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.43.bb +++ b/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.43.bb | |||
@@ -9,6 +9,7 @@ SRC_URI += "file://acinclude.m4 \ | |||
9 | file://ptest.patch \ | 9 | file://ptest.patch \ |
10 | file://mkdir.patch \ | 10 | file://mkdir.patch \ |
11 | file://Revert-mke2fs-enable-the-metadata_csum-and-64bit-fea.patch \ | 11 | file://Revert-mke2fs-enable-the-metadata_csum-and-64bit-fea.patch \ |
12 | file://mkdir_p.patch \ | ||
12 | " | 13 | " |
13 | 14 | ||
14 | SRC_URI_append_class-native = " file://e2fsprogs-fix-missing-check-for-permission-denied.patch" | 15 | SRC_URI_append_class-native = " file://e2fsprogs-fix-missing-check-for-permission-denied.patch" |