From: j-h.choi Date: Thu, 16 Jan 2025 07:07:37 +0000 (+0900) Subject: Update crossgen2.tag.gz of .NET8 version X-Git-Tag: accepted/tizen/unified/20250218.161801~4^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=852b04a37c5ef167a4d64cda1b1e0625cdb318a9;p=platform%2Fcore%2Fdotnet%2Fbuild-tools.git Update crossgen2.tag.gz of .NET8 version Change-Id: Ic0209dc4584702eacbd781abcd0b159672e6fb15 --- diff --git a/packaging/crossgen2-mic.tar.gz b/packaging/crossgen2-mic.tar.gz new file mode 100644 index 00000000..22daf946 Binary files /dev/null and b/packaging/crossgen2-mic.tar.gz differ diff --git a/packaging/crossgen2.tar.gz b/packaging/crossgen2.tar.gz deleted file mode 100644 index cd15df28..00000000 Binary files a/packaging/crossgen2.tar.gz and /dev/null differ diff --git a/packaging/dotnet-build-tools.spec b/packaging/dotnet-build-tools.spec index 00e3c87a..48cbe6b5 100644 --- a/packaging/dotnet-build-tools.spec +++ b/packaging/dotnet-build-tools.spec @@ -12,7 +12,7 @@ Source0: %{name}-%{version}.tar.gz Source1: macros.dotnet-build-tools Source21: dotnet-sdk-%{version}-linux-x64.tar.gz Source22: deps.tar.gz -Source23: crossgen2.tar.gz +Source23: crossgen2-mic.tar.gz AutoReqProv: no @@ -60,6 +60,7 @@ do done # Prepare crossgen2 +tar xvfz dotnet/crossgen2/crossgen2.tar.gz -C dotnet/crossgen2 chmod 0755 ./dotnet/crossgen2/* -R patchelf --set-interpreter %{SDK_PATH}/crossgen2/ld-linux-x86-64.so.2 ./dotnet/crossgen2/crossgen2 patchelf --set-rpath %{SDK_PATH}/crossgen2/ ./dotnet/crossgen2/crossgen2 @@ -67,6 +68,11 @@ for file in $( find ./dotnet/crossgen2 -type f \( -name "*.so" -or -name "*.so.* do patchelf --set-rpath %{SDK_PATH}/crossgen2/ ${file} done + +pushd dotnet/crossgen2 +tar -zcvf crossgen2.tar.gz crossgen2 +rm crossgen2 +popd %endif # overrides @@ -109,3 +115,8 @@ install -p -m 644 ./targets/Tizen.Pre.Compiled.Reference.targets %{buildroot}%{S %post dotnet --version dotnet workload list + +pushd %{SDK_PATH}/crossgen2 +tar -zxvf crossgen2.tar.gz +rm -f crossgen2.tar.gz +popd diff --git a/targets/Tizen.Pre.Compiled.targets b/targets/Tizen.Pre.Compiled.targets index c36e0e88..124bbd0e 100644 --- a/targets/Tizen.Pre.Compiled.targets +++ b/targets/Tizen.Pre.Compiled.targets @@ -28,8 +28,17 @@ - - + + + + + + + + + + +