Skip to content
Commit da2c64b3 authored by Sergei Zhmylev's avatar Sergei Zhmylev Committed by Steve Sakoman
Browse files

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.

Signed-off-by: default avatarSergei Zhmylev <s.zhmylev@yadro.com>
Signed-off-by: default avatarAlexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 75d2dd0e)
Signed-off-by: default avatarSteve Sakoman <steve@sakoman.com>
parent 1511cb3b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment