diff options
| -rw-r--r-- | meta/recipes-devtools/e2fsprogs/e2fsprogs/big-inodes-for-small-fs.patch | 22 | ||||
| -rw-r--r-- | meta/recipes-devtools/e2fsprogs/e2fsprogs_1.45.4.bb | 1 |
2 files changed, 23 insertions, 0 deletions
diff --git a/meta/recipes-devtools/e2fsprogs/e2fsprogs/big-inodes-for-small-fs.patch b/meta/recipes-devtools/e2fsprogs/e2fsprogs/big-inodes-for-small-fs.patch new file mode 100644 index 0000000000..caeb560d32 --- /dev/null +++ b/meta/recipes-devtools/e2fsprogs/e2fsprogs/big-inodes-for-small-fs.patch | |||
| @@ -0,0 +1,22 @@ | |||
| 1 | Ensure "small" file systems also have the default inode size (256 bytes) so that | ||
| 2 | can store 64-bit timestamps and work past 2038. | ||
| 3 | |||
| 4 | The "small" type is any size >3MB and <512MB, which covers a lot of relatively | ||
| 5 | small filesystems built by OE, especially when they're sized to fit the contents | ||
| 6 | and expand to the storage on boot. | ||
| 7 | |||
| 8 | Upstream-Status: Inappropriate | ||
| 9 | Signed-off-by: Ross Burton <ross.burton@arm.com> | ||
| 10 | |||
| 11 | diff --git a/misc/mke2fs.conf.in b/misc/mke2fs.conf.in | ||
| 12 | index 01e35cf8..29f41dc0 100644 | ||
| 13 | --- a/misc/mke2fs.conf.in | ||
| 14 | +++ b/misc/mke2fs.conf.in | ||
| 15 | @@ -16,7 +16,6 @@ | ||
| 16 | } | ||
| 17 | small = { | ||
| 18 | blocksize = 1024 | ||
| 19 | - inode_size = 128 | ||
| 20 | inode_ratio = 4096 | ||
| 21 | } | ||
| 22 | floppy = { | ||
diff --git a/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.45.4.bb b/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.45.4.bb index 439928e433..2eae9cd892 100644 --- a/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.45.4.bb +++ b/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.45.4.bb | |||
| @@ -14,6 +14,7 @@ SRC_URI += "file://remove.ldconfig.call.patch \ | |||
| 14 | 14 | ||
| 15 | 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 \ |
| 16 | file://quiet-debugfs.patch \ | 16 | file://quiet-debugfs.patch \ |
| 17 | file://big-inodes-for-small-fs.patch \ | ||
| 17 | " | 18 | " |
| 18 | 19 | ||
| 19 | SRCREV = "984ff8d6a0a1d5dc300505f67b38ed5047d51dac" | 20 | SRCREV = "984ff8d6a0a1d5dc300505f67b38ed5047d51dac" |
