diff options
| author | Sergei Zhmylev <s.zhmylev@yadro.com> | 2022-11-07 17:24:53 +0300 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-11-24 15:30:06 +0000 |
| commit | 658a991de2e9bbec711d3761706bcda88b27751c (patch) | |
| tree | a58964c87271213b77dc44e8b8fa32ca1caf4837 /scripts/lib/buildstats.py | |
| parent | 32342553c8f534af6889e1d971eac55af19ea92d (diff) | |
| download | poky-658a991de2e9bbec711d3761706bcda88b27751c.tar.gz | |
wic: make ext2/3/4 images reproducible
Ext2/3/4 FS contains not only mtime, but also ctime, atime and crtime.
Currently, all the files are being added into the rootfs image using
mkfs -d functionality which affects all the timestamps excluding mtime.
This patch ensures these timestamps inside the FS image equal to
the SOURCE_DATE_EPOCH if it is set.
(From OE-Core rev: e0dc0f4a153f75d14d50d5bc91edb93fac93cd25)
Signed-off-by: Sergei Zhmylev <s.zhmylev@yadro.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 75d2dd0ea7790db2e8ee921784ca373abff2df65)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/buildstats.py')
0 files changed, 0 insertions, 0 deletions
