From becbef77551c5a61cb77e9becef88d017465850d Mon Sep 17 00:00:00 2001 From: Chanho Park Date: Tue, 18 Apr 2017 19:34:16 +0900 Subject: [PATCH] print OFFICIAL_VERSION into /etc/artik_release This patch supports to print the OFFICIAL_VERSION to the /etc/artik_release file. Change-Id: I63077c06cf4e260bd5d3150b2b23ec2d461562fd Signed-off-by: Chanho Park --- release.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/release.sh b/release.sh index 03e0363..350da1b 100755 --- a/release.sh +++ b/release.sh @@ -131,6 +131,7 @@ gen_artik_release() upper_model=$(echo -n ${TARGET_BOARD} | awk '{print toupper($0)}') if [ "$ARTIK_RELEASE_LEGACY" != "1" ]; then cat > $TARGET_DIR/artik_release << __EOF__ +OFFICIAL_VERSION=${OFFICIAL_VERSION} BUILD_VERSION=${BUILD_VERSION} BUILD_DATE=${BUILD_DATE} BUILD_UBOOT= @@ -143,6 +144,7 @@ SE_FW=${SE_FW} __EOF__ else cat > $TARGET_DIR/artik_release << __EOF__ +OFFICIAL_VERSION=${OFFICIAL_VERSION} RELEASE_VERSION=${BUILD_VERSION} RELEASE_DATE=${BUILD_DATE} RELEASE_UBOOT=