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
This commit is contained in:
Alexandre Bard 2020-11-21 15:12:09 +01:00
parent 522ca79d39
commit 20978c6870
1 changed files with 4 additions and 0 deletions

View File

@ -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 = ""