Skip to content
Snippets Groups Projects
Commit be6acba4 authored by Felix Fietkau's avatar Felix Fietkau
Browse files

build system: have tar use $SOURCE_DATE_EPOCH for --mtime


The --mtime argument to 'tar' sets the modification time for all files within
the archive, which determines the timestamp files will get when they are
extracted. In this case, rootfs and other tarballs will get mtimes which
correspond to the last commit timestamp of the build system, as reported by
git/subversion.

This is a step towards reproducible image builds.

Signed-off-by: default avatarbryan newbold <bnewbold@robocracy.org>
Signed-off-by: default avatarAlexander Couzens <lynxis@fe80.eu>
Signed-off-by: default avatarFelix Fietkau <nbd@openwrt.org>

SVN-Revision: 48586
parent ad816954
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment