Enable classes for reproducible-builds in OE
[AGL/meta-agl.git] / meta-agl-distro / conf / distro / poky-agl.conf
index bad7297..ef0e7f7 100644 (file)
@@ -26,6 +26,15 @@ DISTRO_BRANCH_VERSION_TAG = "${DISTRO_CODENAME}/${@'${DISTRO_VERSION}'.replace('
 AGL_APP_REVISION_aglrelease := "refs/tags/${DISTRO_BRANCH_VERSION_TAG}"
 AGL_DEFAULT_REVISION_aglrelease := "refs/tags/${DISTRO_BRANCH_VERSION_TAG}"
 
+# reproducible builds:
+# enable the flag
+BUILD_REPRODUCIBLE_BINARIES = "1"
+# Set the desired timestamps
+export SOURCE_DATE_EPOCH = "1583798400"
+REPRODUCIBLE_TIMESTAMP_ROOTFS = "1583798400"
+# inherit the class
+INHERIT += "reproducible_build"
+
 
 # SDK
 SDK_VENDOR = "-aglsdk"