summaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
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 072c5919b2..d5791b026a 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