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:
@@ -78,7 +78,7 @@ function create_overlay_image() {
|
||||
|
||||
rm -f "${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}"
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user