From: Kirill Frolov Date: Tue, 1 Sep 2020 11:47:14 +0000 (+0300) Subject: [Tizen] Fix broken "soshelp" command. X-Git-Tag: accepted/tizen/unified/20241231.014852~26 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=481f7c0ac1d14675c036d07203453a117ae4d4c4;p=platform%2Fcore%2Fdotnet%2Fdiagnostics.git [Tizen] Fix broken "soshelp" command. File sosdocsunix.txt should be added to directory where .NET is installed. This is needed to enable "sos help" command (for lldb plugin). --- diff --git a/packaging/coreclr-diagnostics.spec b/packaging/coreclr-diagnostics.spec index 5da66193b..2e8849ad8 100755 --- a/packaging/coreclr-diagnostics.spec +++ b/packaging/coreclr-diagnostics.spec @@ -185,6 +185,7 @@ cp %{_artifacts}/Linux.%{_barch}.%{_buildtype}/SOS.Extensions.dll %{buildroot}%{ cp %{_artifacts}/Linux.%{_barch}.%{_buildtype}/SOS.Hosting.dll %{buildroot}%{netcoreappdir} cp %{_artifacts}/Linux.%{_barch}.%{_buildtype}/SOS.InstallHelper.dll %{buildroot}%{netcoreappdir} cp %{_artifacts}/Linux.%{_barch}.%{_buildtype}/System.CommandLine.dll %{buildroot}%{netcoreappdir} +cp -f %{_artifacts}/dotnet-sos/%{_buildtype}/netcoreapp*/publish/*/sosdocsunix.txt %{buildroot}%{netcoreappdir} # Tools mkdir -p %{buildroot}%{toolsdir}/%{rid} @@ -192,6 +193,7 @@ cp %{_artifacts}/Linux.%{_barch}.%{_buildtype}/*.so %{buildroot}%{toolsdir}/%{ri for name in counters dump gcdump trace; do cp -f %{_artifacts}/dotnet-${name}/%{_buildtype}/netcoreapp*/publish/*.dll %{buildroot}%{toolsdir} done +cp -f %{_artifacts}/dotnet-dump/%{_buildtype}/netcoreapp*/publish/*/sosdocsunix.txt %{buildroot}%{toolsdir} %files %manifest %{name}.manifest