mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-23 14:41:31 +02:00
build_sysext: Set SOURCE_DATE_EPOCH for reproducibility
Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
This commit is contained in:
parent
fa418896eb
commit
54c8545eec
@ -221,6 +221,9 @@ for package; do
|
|||||||
"${package}"
|
"${package}"
|
||||||
done
|
done
|
||||||
|
|
||||||
|
# Make squashfs generation more reproducible.
|
||||||
|
export SOURCE_DATE_EPOCH=$(stat -c '%Y' "${BUILD_DIR}/fs-root/usr/lib/os-release")
|
||||||
|
|
||||||
# Unmount in order to get rid of the overlay
|
# Unmount in order to get rid of the overlay
|
||||||
umount "${BUILD_DIR}/install-root"
|
umount "${BUILD_DIR}/install-root"
|
||||||
umount "${BUILD_DIR}/fs-root"
|
umount "${BUILD_DIR}/fs-root"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user