summaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
authorHyungju Lee <leee.lee@samsung.com>2018-08-10 05:28:30 (GMT)
committerGleb Balykov <g.balykov@samsung.com>2018-09-18 12:49:14 (GMT)
commit39130a7580a8f7ce16f425f164c5afd954789615 (patch)
treeb7f075e7f8bd04ad9cefa6a68a65ac04b700308a /build.sh
parent71aa32dd3589b8082871b7c9ac7ad7866e8bfc58 (diff)
downloadcoreclr-39130a7580a8f7ce16f425f164c5afd954789615.zip
coreclr-39130a7580a8f7ce16f425f164c5afd954789615.tar.gz
coreclr-39130a7580a8f7ce16f425f164c5afd954789615.tar.bz2
[Tizen] Remove `tizen-release` package dependency for GBS build
`tizen-release` package holds variables that need to be defined at the unified build. Therefore, it is about to move to unified while coreclr stays at the base. So, the local os-release file is introduced.
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/build.sh b/build.sh
index 072c591..d5791b0 100755
--- a/build.sh
+++ b/build.sh
@@ -83,6 +83,13 @@ initHostDistroRid()
if [[ $redhatRelease == "CentOS release 6."* || $redhatRelease == "Red Hat Enterprise Linux Server release 6."* ]]; then
__HostDistroRid="rhel.6-$__HostArch"
fi
+ elif [ -e os-release ]; then
+ echo "Build using local os-release file !!!"
+ source os-release
+ if [[ $ID == "tizen" ]]; then
+ __HostArch=armel
+ export __HostDistroRid="$ID.$VERSION_ID-$__HostArch"
+ fi
fi
fi
if [ "$__HostOS" == "FreeBSD" ]; then