]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
wic: honor the SOURCE_DATE_EPOCH in case of updated fstab
authorSergei Zhmylev <s.zhmylev@yadro.com>
Fri, 21 Oct 2022 14:56:22 +0000 (17:56 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 26 Oct 2022 11:26:17 +0000 (12:26 +0100)
commit99719a3712a88dce8450994d995803e126e49115
tree4516a08c3b6593d2bd8e153225591ec8840a3cd7
parent718bb8d56f6a24c86e67830a7d13af54df2ebb4e
wic: honor the SOURCE_DATE_EPOCH in case of updated fstab

In case user requested to build a binary repeatable package,
it's required to honor the SOURCE_DATE_EPOCH environment
variable. So forcefully set mtime inside all the routines
which modify fstab in case it is updated.

Signed-off-by: Sergei Zhmylev <s.zhmylev@yadro.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
scripts/lib/wic/partition.py
scripts/lib/wic/plugins/imager/direct.py
scripts/lib/wic/plugins/source/rootfs.py