Merge pull request #5782 from mglae/le11_e2fsprogs_timestamps

e2fsprogs: always support timestamps >2038
This commit is contained in:
Christian Hewitt 2021-10-25 10:28:27 +04:00 committed by GitHub
commit 4de990741c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -37,6 +37,12 @@ PKG_CONFIGURE_OPTS_HOST="--prefix=${TOOLCHAIN}/ \
--disable-fuse2fs \
--with-gnu-ld"
post_unpack() {
# Increase minimal inode size to avoid:
# "ext4 filesystem being mounted at xxx supports timestamps until 2038 (0x7fffffff)"
sed -i 's/inode_size = 128/inode_size = 256/g' ${PKG_BUILD}/misc/mke2fs.conf.in
}
pre_configure() {
PKG_CONFIGURE_OPTS_INIT="BUILD_CC=${HOST_CC} \
--with-udev-rules-dir=no \