From 20978c6870a0c401eb3d98d243b9c82bc9465d15 Mon Sep 17 00:00:00 2001 From: Alexandre Bard Date: Sat, 21 Nov 2020 15:12:09 +0100 Subject: [PATCH] distro-minimal: Make build reproducible In order to be consistent with the OSTree images and to reuse all built components, we must also make the minimal images (ie the ramdisk images) reproducible. If we don't do it, most of the components are rebuilt with a different environment (mainly date related) and can therefor not be shared. BugzID: 69091 --- conf/distro/netmodule-linux-minimal.conf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/conf/distro/netmodule-linux-minimal.conf b/conf/distro/netmodule-linux-minimal.conf index 4339f99..674d303 100644 --- a/conf/distro/netmodule-linux-minimal.conf +++ b/conf/distro/netmodule-linux-minimal.conf @@ -4,3 +4,7 @@ DISTRO_VARIANT = " for minimal fitImage" INITRAMFS_IMAGE = "netmodule-linux-image-minimal" INCLUDE_PYCS_pn-python3 = "0" + +INHERIT += "reproducible_build_simple" +export SOURCE_DATE_EPOCH ?= "0" +REPRODUCIBLE_TIMESTAMP_ROOTFS = ""