From a29f36e933e0fa4f02437e4c4881233a95d3cc76 Mon Sep 17 00:00:00 2001 From: Kirill Frolov Date: Tue, 1 Sep 2020 14:47:14 +0300 Subject: [PATCH] [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). --- packaging/coreclr-diagnostics.spec | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.34.1