From: Tanner Gooding Date: Thu, 9 Aug 2018 15:02:43 +0000 (-0700) Subject: Updating init-tools to be inline with the CoreFX copy X-Git-Tag: submit/tizen/20210909.063632~11030^2~4179 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c862764b4f79f6165aaed52bb734d28c00b3bd60;p=platform%2Fupstream%2Fdotnet%2Fruntime.git Updating init-tools to be inline with the CoreFX copy Commit migrated from https://github.com/dotnet/coreclr/commit/ce175cbb849378c2ef1985ff3994cd0d82f3d8fe --- diff --git a/src/coreclr/init-tools.sh b/src/coreclr/init-tools.sh index 2adec1a..f9c0054 100755 --- a/src/coreclr/init-tools.sh +++ b/src/coreclr/init-tools.sh @@ -102,6 +102,12 @@ if [ ! -e "$__DOTNET_PATH" ]; then __PKG_RID=rhel.6 fi fi + OSArch=$(uname -m) + if [ $OSArch == 'armv7l' ];then + __PKG_ARCH=arm + elif [ $OSArch == 'aarch64' ]; then + __PKG_ARCH=arm64 + fi ;;