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-07 21:57:21 +0000 |
commit | be91408e10805070f42f94e7f197aac9093b51b3 (patch) | |
tree | cc3bafe119b32f45d1df675dc58bfc5010a4057d /scripts/lib/scriptutils.py | |
parent | 2cdaa164e8b4618a82ccd3fcb87cf58e36b6d6d3 (diff) | |
download | poky-be91408e10805070f42f94e7f197aac9093b51b3.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: 75d2dd0ea7790db2e8ee921784ca373abff2df65)
Signed-off-by: Sergei Zhmylev <s.zhmylev@yadro.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/scriptutils.py')
0 files changed, 0 insertions, 0 deletions