diff options
author | Jo Shields <directhex@apebox.org> | 2021-06-21 22:30:03 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-21 22:30:03 +0300 |
commit | d08c08d2630acc5866225636587f78b35e60fcfe (patch) | |
tree | f9f71d58e361e68e5afa0d026525f9f32c4fc023 /src/installer/pkg | |
parent | 19b5bd1b588fe19efe835153fd049921bf612204 (diff) |
Add UnixFilePermissions.xml for Mono AOT compilers (#54501)
* Add UnixFilePermissions.xml for Mono AOT compilers
Ref: https://github.com/dotnet/runtime/issues/53545
Ref: https://github.com/dotnet/sdk/issues/16894
Ref: https://github.com/xamarin/xamarin-macios/pull/11869
Ref: https://github.com/xamarin/xamarin-android/pull/6010
* Only set permissions on !windows
Diffstat (limited to 'src/installer/pkg')
2 files changed, 6 insertions, 0 deletions
diff --git a/src/installer/pkg/sfx/Microsoft.NETCore.App/Microsoft.NETCore.App.MonoCrossAOT.UnixFilePermissions.xml b/src/installer/pkg/sfx/Microsoft.NETCore.App/Microsoft.NETCore.App.MonoCrossAOT.UnixFilePermissions.xml new file mode 100644 index 00000000000..9437f7953f3 --- /dev/null +++ b/src/installer/pkg/sfx/Microsoft.NETCore.App/Microsoft.NETCore.App.MonoCrossAOT.UnixFilePermissions.xml @@ -0,0 +1,5 @@ +<FileList> + <File Path="tools/mono-aot-cross" Permission="755" /> + <File Path="tools/opt" Permission="755" /> + <File Path="tools/llc" Permission="755" /> +</FileList> diff --git a/src/installer/pkg/sfx/Microsoft.NETCore.App/Microsoft.NETCore.App.MonoCrossAOT.sfxproj b/src/installer/pkg/sfx/Microsoft.NETCore.App/Microsoft.NETCore.App.MonoCrossAOT.sfxproj index 174cf76bb8c..3c0e7fac2d8 100644 --- a/src/installer/pkg/sfx/Microsoft.NETCore.App/Microsoft.NETCore.App.MonoCrossAOT.sfxproj +++ b/src/installer/pkg/sfx/Microsoft.NETCore.App/Microsoft.NETCore.App.MonoCrossAOT.sfxproj @@ -20,6 +20,7 @@ <ItemGroup> <NativeRuntimeAsset Include="$(MonoAotCrossDir)$(TargetCrossRid)\**" TargetPath="tools/" /> <NativeRuntimeAsset Include="$(MonoAotCrossDir)$(TargetCrossRid).Sdk.props" TargetPath="Sdk/Sdk.props" /> + <NativeRuntimeAsset Condition="!$([MSBuild]::IsOsPlatform('Windows'))" Include="Microsoft.NETCore.App.MonoCrossAOT.UnixFilePermissions.xml" TargetPath="data/UnixFilePermissions.xml" /> </ItemGroup> <Target Name="WriteAotSdkProps" BeforeTargets="ValidateProperties"> |