x-wic.inc: Avoid Y2038 problem
At filesystem creation, mke2fs uses the filesystem size to calculate the
inodes size. Some of our partitions are empty and they will end up small
inode size. The tool will even throw a clear warning:
The ext4 filesystem labeled 'x-dev-data' has no Y2038 support. Inodes
(of size 128) are too small.
As the warning reads, this value is affacted by the Y2038 problem. By
using `--mkfs-extraopts "-T default"` we make sure that mke2fs doesn't
autodetect inode size but instead it uses default values for tuning
parameters - inode size is included.
Signed-off-by:
Andrei Gherzan <andrei.gherzan@huawei.com>
Please register or sign in to comment