From 12f331f6b2079bf1299a3650fb80ccde58c8bec1 Mon Sep 17 00:00:00 2001 From: Daniel Hiltgen Date: Fri, 24 Aug 2018 17:05:42 -0700 Subject: [PATCH] Expose the platform string for community builds This encodes the platform as "Docker Engine - Community" for community engines Signed-off-by: Daniel Hiltgen Upstream-commit: 4d9fd7d17f3aab3463baf6030072f5789a003a74 Component: packaging --- components/packaging/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/components/packaging/Makefile b/components/packaging/Makefile index 4a9d006698..4f973d35ab 100644 --- a/components/packaging/Makefile +++ b/components/packaging/Makefile @@ -7,7 +7,9 @@ ARCH=$(shell uname -m) STATIC_VERSION=$(shell static/gen-static-ver $(ENGINE_DIR) $(VERSION)) GO_VERSION:=1.10.3 DEFAULT_PRODUCT_LICENSE:=Community Engine +PLATFORM=Docker Engine - Community export DEFAULT_PRODUCT_LICENSE +export PLATFORM # Taken from: https://www.cmcrossroads.com/article/printing-value-makefile-variable print-% : ; @echo $($*)