poky/scripts/lib
Florian Bezdeka a334cbb12d wic: Warn if an ext filesystem affected by the Y2038 problem is used
We are getting closer and closer to the year 2038 where the 32 bit
time_t overflow will happen. While products (= embedded systems) with an
expected life time of 15 years are still save the situation may change
if your system has to survive the next 20 years.

ext2 and ext3 filesystems are always affected by the time overflow, so
let's warn the user if these filesystems are still being used.

If ext4 is affected depends on the inode size chosen during filesystem
creation. At least 256 bytes are necessary to be safe. As ext4 is
used very often (and partitions may be created small first and extended
later) this might be an issue for many users.

Some filesystems created during CI runs were already affected by the Y2038
problem. By using `--mkfs-extraopts "-T default"` we tell mke2fs not to
auto-detect the usage type based on the filesystem size. mke2fs will use
the default values for tuning parameters instead. The inode size is one
of these parameters.

(From OE-Core rev: eecbe625558406680121d2a7e84917fea45ea9dc)

Signed-off-by: Florian Bezdeka <florian.bezdeka@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-26 15:21:21 +00:00
..
build_perf meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
checklayer checklayer: check layer in BBLAYERS before test 2020-07-27 10:37:58 +01:00
devtool devtool: Fix file:// fetcher symlink directory structure 2021-01-23 17:08:54 +00:00
recipetool recipetool: create: only add npmsw url if required 2021-01-16 22:39:36 +00:00
resulttool resulttool/log: Add ability to dump ltp logs as well as ptest 2020-05-27 10:22:31 +01:00
wic wic: Warn if an ext filesystem affected by the Y2038 problem is used 2021-02-26 15:21:21 +00:00
argparse_oe.py meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
buildstats.py scripts/buildstats-diff: Add option to filter tasks 2019-07-17 09:36:35 +01:00
scriptpath.py meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
scriptutils.py scriptutils: remove the useless import line 2019-12-06 14:41:28 +00:00