[Tizen] create .dotnet directory to skel
authorWoongsuk Cho <ws77.cho@samsung.com>
Thu, 4 Apr 2019 01:23:44 +0000 (10:23 +0900)
committer조웅석/Common Platform Lab(SR)/Principal Engineer/삼성전자 <ws77.cho@samsung.com>
Mon, 8 Apr 2019 00:37:20 +0000 (09:37 +0900)
packaging/coreclr.spec

index ad54d76..8e28c74 100755 (executable)
@@ -37,6 +37,7 @@ Requires: libgcc
 Requires: libstdc++
 Requires: libunwind
 Requires: libuuid
+Requires(post): /usr/bin/chsmack
 
 # Accelerate python, clang
 %ifarch %{arm}
@@ -296,6 +297,10 @@ cp %{_reldir}/SOS.NETCore.dll  %{buildroot}%{_datadir}/%{netcoreappdir}
 %dir %{_datadir}/%{netshareddir}/Microsoft.NETCore.App/2.1.1
 %dir %{_datadir}/%{netshareddir}/Microsoft.NETCore.App/2.1.4
 
+%post
+mkdir -p /opt/etc/skel/.dotnet
+chsmack -t -a User::App::Shared /opt/etc/skel/.dotnet
+
 %files test
 %manifest %{name}.manifest
 %dir %{_datadir}/%{dotnettestdir}