summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/e2fsprogs
diff options
context:
space:
mode:
authorHongxu Jia <hongxu.jia@windriver.com>2016-06-21 23:22:42 -0400
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-07-01 16:22:40 +0100
commitf91a01be70c554a85c8811279da30bda0b4bfe0a (patch)
tree64b8d05c02184619026cfd0b25f1054501d08137 /meta/recipes-devtools/e2fsprogs
parent13eb4a832b533f84001fca8be960ad1e58fc823f (diff)
downloadpoky-f91a01be70c554a85c8811279da30bda0b4bfe0a.tar.gz
e2fsprogs: tweak mke2fs ext4 features
While e2fsprogs upgraded to 1.43, it dropped the patch Revert-mke2fs-enable-the-metadata_csum-and-64bit-fea.patch, we get it back and rebase for 1.43 to fix invoking grub-probe failed. Without the fix: ... root@localhost:~# mkfs.ext4 /dev/sda3 [skip] root@localhost:~# grub-probe --target=fs -d /dev/sda3 grub-probe: error: unknown filesystem. ... After apply the fix: ... root@localhost:~# mkfs.ext4 /dev/sda3 [skip] root@localhost:~# grub-probe --target=fs -d /dev/sda3 ext2 ... (From OE-Core rev: a96ad733cf80716e26882889a130c87a78e5f576) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/e2fsprogs')
-rw-r--r--meta/recipes-devtools/e2fsprogs/e2fsprogs/Revert-mke2fs-enable-the-metadata_csum-and-64bit-fea.patch39
-rw-r--r--meta/recipes-devtools/e2fsprogs/e2fsprogs_1.43.bb1
2 files changed, 40 insertions, 0 deletions
diff --git a/meta/recipes-devtools/e2fsprogs/e2fsprogs/Revert-mke2fs-enable-the-metadata_csum-and-64bit-fea.patch b/meta/recipes-devtools/e2fsprogs/e2fsprogs/Revert-mke2fs-enable-the-metadata_csum-and-64bit-fea.patch
new file mode 100644
index 0000000000..e66cd4d1a7
--- /dev/null
+++ b/meta/recipes-devtools/e2fsprogs/e2fsprogs/Revert-mke2fs-enable-the-metadata_csum-and-64bit-fea.patch
@@ -0,0 +1,39 @@
1From 0a392baf1874964651115d9f77b0daa6851d1daa Mon Sep 17 00:00:00 2001
2From: Jonathan Liu <net147@gmail.com>
3Date: Tue, 1 Mar 2016 14:28:01 +1100
4Subject: [PATCH] Revert "mke2fs: enable the metadata_csum and 64bit features
5 by default"
6
7This reverts commit cd27af3ecb83e8fd1e3eaa14994284a1818c7c15 as we
8don't want to enable features by default that are not supported by
9the latest stable e2fsprogs release.
10
11Upstream-Status: Inappropriate [configuration]
12Signed-off-by: Jonathan Liu <net147@gmail.com>
13
14Rebase to 1.43:
15The upstream has disabled metadata_csum by default
16this rebase just revert 64bit feature.
17Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
18---
19 misc/mke2fs.conf.in | 3 ++-
20 1 file changed, 2 insertions(+), 1 deletion(-)
21
22diff --git a/misc/mke2fs.conf.in b/misc/mke2fs.conf.in
23index 78fe50a..6f1940e 100644
24--- a/misc/mke2fs.conf.in
25+++ b/misc/mke2fs.conf.in
26@@ -11,8 +11,9 @@
27 features = has_journal
28 }
29 ext4 = {
30- features = has_journal,extent,huge_file,flex_bg,64bit,dir_nlink,extra_isize
31+ features = has_journal,extent,huge_file,flex_bg,uninit_bg,dir_nlink,extra_isize
32 inode_size = 256
33+ auto_64-bit_support = 1
34 }
35 ext4dev = {
36 features = has_journal,extent,huge_file,flex_bg,inline_data,64bit,dir_nlink,extra_isize
37--
382.8.1
39
diff --git a/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.43.bb b/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.43.bb
index aa1cbce93b..e82124bf58 100644
--- a/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.43.bb
+++ b/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.43.bb
@@ -8,6 +8,7 @@ SRC_URI += "file://acinclude.m4 \
8 file://run-ptest \ 8 file://run-ptest \
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" 12"
12 13
13SRCREV = "d6adf070b0e85f209c0d7f310188b134b5cb7180" 14SRCREV = "d6adf070b0e85f209c0d7f310188b134b5cb7180"