Skip to contentSkip to conversation

poky: Exclude DATE from DISTRO/SDK_VERSION checksums

PATCH New Richard Purdie 1 participant 1 message Apr 2, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 poky: Exclude DATE from DISTRO/SDK_VERSION checksums

DATE is in HASHCONFIG_WHITELIST which means the server does not reparse when DATE changes. If DISTRO_VERSION was used somewhere and contained DATE, the value *would* change however, meaning the server and worker checksums could end up differing.

We therefore exclude DATE from the checksums, making everything consistent.

meta-poky/conf/distro/poky.conf +3 -0
index 7627abe..f166ac4 100644
@@ -11,6 +11,9 @@ TARGET_VENDOR = "-poky"
 
 LOCALCONF_VERSION = "1"
 
+DISTRO_VERSION[vardepsexclude] = "DATE"
+SDK_VERSION[vardepsexclude] = "DATE"
+
 # Override these in poky based distros
 POKY_DEFAULT_DISTRO_FEATURES = "largefile opengl ptest multiarch wayland"
 POKY_DEFAULT_EXTRA_RDEPENDS = "packagegroup-core-boot"