diff options
Diffstat (limited to 'packaging/0001-Tizen-Remove-tizen-release-package-dependency-for-GB.patch')
-rw-r--r-- | packaging/0001-Tizen-Remove-tizen-release-package-dependency-for-GB.patch | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/packaging/0001-Tizen-Remove-tizen-release-package-dependency-for-GB.patch b/packaging/0001-Tizen-Remove-tizen-release-package-dependency-for-GB.patch new file mode 100644 index 0000000000..c7e4c15c15 --- /dev/null +++ b/packaging/0001-Tizen-Remove-tizen-release-package-dependency-for-GB.patch @@ -0,0 +1,39 @@ +From 7a2caa7e3b2e065ac2cf4f6db25a0b0bc8797753 Mon Sep 17 00:00:00 2001 +From: Hyungju Lee <leee.lee@samsung.com> +Date: Mon, 27 Aug 2018 18:54:23 +0900 +Subject: [PATCH] [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 corecle stays at the base. +So, the local os-release file is introduced. + +This patch is partial which comes with coreclr.spec +See review.tizen.org to fully understand the intention +--- + build.sh | 9 +++++++-- + 1 file changed, 7 insertions(+), 2 deletions(-) + +diff --git a/build.sh b/build.sh +index 3467387..0ad1523 100755 +--- a/build.sh ++++ b/build.sh +@@ -59,8 +59,13 @@ initHostDistroRid() + { + if [ "$__HostOS" == "Linux" ]; then + if [ ! -e /etc/os-release ]; then +- echo "WARNING: Can not determine runtime id for current distro." +- __HostDistroRid="" ++ if [ ! -e os-release ]; then ++ echo "WARNING: Can not determine runtime id for current distro." ++ __HostDistroRid="" ++ else ++ source os-release ++ __HostDistroRid="$ID.$VERSION_ID-$__HostArch" ++ fi + else + source /etc/os-release + __HostDistroRid="$ID.$VERSION_ID-$__HostArch" +-- +2.7.4 + |