Fix y2038 file system warnings (#1589)

* Bump buildroot

* buildroot 3c5f87185d...5ffdf6ccc5 (1):
  > package/e2fsprogs: Create y2038 capable file systems by default

* Use inode size of 256 bytes for overlayfs

By default older versions of mkfs.ext4 create file systems with inode
size of 128 bytes. This does not allow for 64-bit timestamps, which
leads to y2038 compatibility warnings. Use 256 bytes inodes.
This commit is contained in:
Stefan Agner 2021-10-13 16:07:13 +02:00 committed by GitHub
parent 53dcfd3134
commit b211c653c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

@ -1 +1 @@
Subproject commit 3c5f87185d5507c21a975580b5c1d4303a3bed54 Subproject commit 5ffdf6ccc5a2f5cf6dcbb2ea1c81a8d1b25c7165

View File

@ -78,7 +78,7 @@ function create_overlay_image() {
rm -f "${overlay_img}" rm -f "${overlay_img}"
truncate --size="${OVERLAY_SIZE}" "${overlay_img}" truncate --size="${OVERLAY_SIZE}" "${overlay_img}"
mkfs.ext4 -L "hassos-overlay" -E lazy_itable_init=0,lazy_journal_init=0 "${overlay_img}" mkfs.ext4 -L "hassos-overlay" -I 256 -E lazy_itable_init=0,lazy_journal_init=0 "${overlay_img}"
} }