Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Commit 889337d

Browse files
author
Ian Hays
authored
[1.1] Add packaging for Fedora27, OpenSuse423, Ubuntu1804 (#16973)
* [1.1] Add packaging for Fedora27, OpenSuse423, Ubuntu1804 * [1.1] Fix some packaging errors for new distros * [1.1] Fix some packaging errors for new distros
1 parent 6a8aa71 commit 889337d

25 files changed

+621
-0
lines changed

src/.nuget/Microsoft.NETCore.ILAsm/Microsoft.NETCore.ILAsm.builds

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,10 @@
3939
<OSGroup>Linux</OSGroup>
4040
<Platform>amd64</Platform>
4141
</Project>
42+
<Project Condition="'$(TargetsLinux)' == 'true' and '$(DistroRid)' == 'fedora.27-x64'" Include="fedora/27/Microsoft.NETCore.ILAsm.pkgproj">
43+
<OSGroup>Linux</OSGroup>
44+
<Platform>amd64</Platform>
45+
</Project>
4246
<Project Condition="'$(TargetsLinux)' == 'true' and '$(DistroRid)' == 'opensuse.13.2-x64'" Include="opensuse/13.2/Microsoft.NETCore.ILAsm.pkgproj">
4347
<OSGroup>Linux</OSGroup>
4448
<Platform>amd64</Platform>
@@ -47,6 +51,10 @@
4751
<OSGroup>Linux</OSGroup>
4852
<Platform>amd64</Platform>
4953
</Project>
54+
<Project Condition="'$(TargetsLinux)' == 'true' and '$(DistroRid)' == 'opensuse.42.3-x64'" Include="opensuse/42.3/Microsoft.NETCore.ILAsm.pkgproj">
55+
<OSGroup>Linux</OSGroup>
56+
<Platform>amd64</Platform>
57+
</Project>
5058
<Project Condition="'$(TargetsLinux)' == 'true' and $(DistroRid.StartsWith('rhel.7'))" Include="rhel/Microsoft.NETCore.ILAsm.pkgproj">
5159
<OSGroup>Linux</OSGroup>
5260
<Platform>amd64</Platform>
@@ -63,6 +71,10 @@
6371
<OSGroup>Linux</OSGroup>
6472
<Platform>amd64</Platform>
6573
</Project>
74+
<Project Condition="'$(TargetsLinux)' == 'true' and '$(DistroRid)' == 'ubuntu.18.04-x64'" Include="ubuntu/18.04/Microsoft.NETCore.ILAsm.pkgproj">
75+
<OSGroup>Linux</OSGroup>
76+
<Platform>amd64</Platform>
77+
</Project>
6678
<Project Condition="'$(TargetsOSX)' == 'true'" Include="osx/Microsoft.NETCore.ILAsm.pkgproj">
6779
<OSGroup>OSX</OSGroup>
6880
<Platform>amd64</Platform>

src/.nuget/Microsoft.NETCore.ILAsm/Microsoft.NETCore.ILAsm.pkgproj

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,18 @@
3131
<ProjectReference Include="fedora\24\Microsoft.NETCore.ILAsm.pkgproj">
3232
<Platform>amd64</Platform>
3333
</ProjectReference>
34+
<ProjectReference Include="fedora\27\Microsoft.NETCore.ILAsm.pkgproj">
35+
<Platform>amd64</Platform>
36+
</ProjectReference>
3437
<ProjectReference Include="opensuse\13.2\Microsoft.NETCore.ILAsm.pkgproj">
3538
<Platform>amd64</Platform>
3639
</ProjectReference>
3740
<ProjectReference Include="opensuse\42.1\Microsoft.NETCore.ILAsm.pkgproj">
3841
<Platform>amd64</Platform>
3942
</ProjectReference>
43+
<ProjectReference Include="opensuse\42.3\Microsoft.NETCore.ILAsm.pkgproj">
44+
<Platform>amd64</Platform>
45+
</ProjectReference>
4046
<ProjectReference Include="rhel\Microsoft.NETCore.ILAsm.pkgproj">
4147
<Platform>amd64</Platform>
4248
</ProjectReference>
@@ -49,6 +55,9 @@
4955
<ProjectReference Include="ubuntu\16.10\Microsoft.NETCore.ILAsm.pkgproj">
5056
<Platform>amd64</Platform>
5157
</ProjectReference>
58+
<ProjectReference Include="ubuntu\18.04\Microsoft.NETCore.ILAsm.pkgproj">
59+
<Platform>amd64</Platform>
60+
</ProjectReference>
5261
<ProjectReference Include="osx\Microsoft.NETCore.ILAsm.pkgproj">
5362
<Platform>amd64</Platform>
5463
</ProjectReference>
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
4+
<PropertyGroup>
5+
<SkipPackageFileCheck>true</SkipPackageFileCheck>
6+
<PackageTargetRuntime>fedora.27-$(PackagePlatform)</PackageTargetRuntime>
7+
<!-- only build for x64 -->
8+
<PackagePlatforms>x64;</PackagePlatforms>
9+
</PropertyGroup>
10+
<ItemGroup>
11+
<NativeSplittableBinary Include="$(BinDir)ilasm" />
12+
<ArchitectureSpecificNativeFile Include="@(NativeSplittableBinary)" />
13+
<File Include="@(ArchitectureSpecificNativeFile)">
14+
<TargetPath>runtimes/$(PackageTargetRuntime)/native</TargetPath>
15+
</File>
16+
</ItemGroup>
17+
<ItemGroup Condition="'$(__BuildType)' == 'Release'">
18+
<ArchitectureSpecificNativeSymbol Include="@(NativeSplittableBinary -> '%(Identity).dbg')" />
19+
<AdditionalLibPackageExcludes Include="%2A%2A\%2A.dbg" />
20+
<AdditionalSymbolPackageExcludes Include="%2A%2A\%2A.so" />
21+
<AdditionalSymbolPackageExcludes Include="%2A%2A\%2A.dll" />
22+
<ArchitectureSpecificNativeSymbol Include="..\..\..\_.pdb" />
23+
<File Include="@(ArchitectureSpecificNativeSymbol)">
24+
<TargetPath>runtimes/$(PackageTargetRuntime)/native</TargetPath>
25+
<IsSymbolFile>true</IsSymbolFile>
26+
</File>
27+
</ItemGroup>
28+
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
29+
</Project>
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
4+
<PropertyGroup>
5+
<SkipPackageFileCheck>true</SkipPackageFileCheck>
6+
<PackageTargetRuntime>opensuse.42.3-$(PackagePlatform)</PackageTargetRuntime>
7+
<!-- only build for x64 -->
8+
<PackagePlatforms>x64;</PackagePlatforms>
9+
</PropertyGroup>
10+
<ItemGroup>
11+
<NativeSplittableBinary Include="$(BinDir)ilasm" />
12+
<ArchitectureSpecificNativeFile Include="@(NativeSplittableBinary)" />
13+
<File Include="@(ArchitectureSpecificNativeFile)">
14+
<TargetPath>runtimes/$(PackageTargetRuntime)/native</TargetPath>
15+
</File>
16+
</ItemGroup>
17+
<ItemGroup Condition="'$(__BuildType)' == 'Release'">
18+
<ArchitectureSpecificNativeSymbol Include="@(NativeSplittableBinary -> '%(Identity).dbg')" />
19+
<AdditionalLibPackageExcludes Include="%2A%2A\%2A.dbg" />
20+
<AdditionalSymbolPackageExcludes Include="%2A%2A\%2A.so" />
21+
<AdditionalSymbolPackageExcludes Include="%2A%2A\%2A.dll" />
22+
<ArchitectureSpecificNativeSymbol Include="..\..\..\_.pdb" />
23+
<File Include="@(ArchitectureSpecificNativeSymbol)">
24+
<TargetPath>runtimes/$(PackageTargetRuntime)/native</TargetPath>
25+
<IsSymbolFile>true</IsSymbolFile>
26+
</File>
27+
</ItemGroup>
28+
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
29+
</Project>
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
4+
<PropertyGroup>
5+
<SkipPackageFileCheck>true</SkipPackageFileCheck>
6+
<PackageTargetRuntime>ubuntu.18.04-$(PackagePlatform)</PackageTargetRuntime>
7+
<!-- only build for x64 -->
8+
<PackagePlatforms>x64;</PackagePlatforms>
9+
</PropertyGroup>
10+
<ItemGroup>
11+
<NativeSplittableBinary Include="$(BinDir)ilasm" />
12+
<ArchitectureSpecificNativeFile Include="@(NativeSplittableBinary)" />
13+
<File Include="@(ArchitectureSpecificNativeFile)">
14+
<TargetPath>runtimes/$(PackageTargetRuntime)/native</TargetPath>
15+
</File>
16+
</ItemGroup>
17+
<ItemGroup Condition="'$(__BuildType)' == 'Release'">
18+
<ArchitectureSpecificNativeSymbol Include="@(NativeSplittableBinary -> '%(Identity).dbg')" />
19+
<AdditionalLibPackageExcludes Include="%2A%2A\%2A.dbg" />
20+
<AdditionalSymbolPackageExcludes Include="%2A%2A\%2A.so" />
21+
<AdditionalSymbolPackageExcludes Include="%2A%2A\%2A.dll" />
22+
<ArchitectureSpecificNativeSymbol Include="..\..\..\_.pdb" />
23+
<File Include="@(ArchitectureSpecificNativeSymbol)">
24+
<TargetPath>runtimes/$(PackageTargetRuntime)/native</TargetPath>
25+
<IsSymbolFile>true</IsSymbolFile>
26+
</File>
27+
</ItemGroup>
28+
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
29+
</Project>

src/.nuget/Microsoft.NETCore.ILDAsm/Microsoft.NETCore.ILDAsm.builds

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,10 @@
3939
<OSGroup>Linux</OSGroup>
4040
<Platform>amd64</Platform>
4141
</Project>
42+
<Project Condition="'$(TargetsLinux)' == 'true' and '$(DistroRid)' == 'fedora.27-x64'" Include="fedora/27/Microsoft.NETCore.ILDAsm.pkgproj">
43+
<OSGroup>Linux</OSGroup>
44+
<Platform>amd64</Platform>
45+
</Project>
4246
<Project Condition="'$(TargetsLinux)' == 'true' and '$(DistroRid)' == 'opensuse.13.2-x64'" Include="opensuse/13.2/Microsoft.NETCore.ILDAsm.pkgproj">
4347
<OSGroup>Linux</OSGroup>
4448
<Platform>amd64</Platform>
@@ -47,6 +51,10 @@
4751
<OSGroup>Linux</OSGroup>
4852
<Platform>amd64</Platform>
4953
</Project>
54+
<Project Condition="'$(TargetsLinux)' == 'true' and '$(DistroRid)' == 'opensuse.42.3-x64'" Include="opensuse/42.3/Microsoft.NETCore.ILDAsm.pkgproj">
55+
<OSGroup>Linux</OSGroup>
56+
<Platform>amd64</Platform>
57+
</Project>
5058
<Project Condition="'$(TargetsLinux)' == 'true' and $(DistroRid.StartsWith('rhel.7'))" Include="rhel/Microsoft.NETCore.ILDAsm.pkgproj">
5159
<OSGroup>Linux</OSGroup>
5260
<Platform>amd64</Platform>
@@ -63,6 +71,10 @@
6371
<OSGroup>Linux</OSGroup>
6472
<Platform>amd64</Platform>
6573
</Project>
74+
<Project Condition="'$(TargetsLinux)' == 'true' and '$(DistroRid)' == 'ubuntu.18.04-x64'" Include="ubuntu/18.04/Microsoft.NETCore.ILDAsm.pkgproj">
75+
<OSGroup>Linux</OSGroup>
76+
<Platform>amd64</Platform>
77+
</Project>
6678
<Project Condition="'$(TargetsOSX)' == 'true'" Include="osx/Microsoft.NETCore.ILDAsm.pkgproj">
6779
<OSGroup>OSX</OSGroup>
6880
<Platform>amd64</Platform>

src/.nuget/Microsoft.NETCore.ILDAsm/Microsoft.NETCore.ILDAsm.pkgproj

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,18 @@
3131
<ProjectReference Include="fedora\24\Microsoft.NETCore.ILDAsm.pkgproj">
3232
<Platform>amd64</Platform>
3333
</ProjectReference>
34+
<ProjectReference Include="fedora\27\Microsoft.NETCore.ILDAsm.pkgproj">
35+
<Platform>amd64</Platform>
36+
</ProjectReference>
3437
<ProjectReference Include="opensuse\13.2\Microsoft.NETCore.ILDAsm.pkgproj">
3538
<Platform>amd64</Platform>
3639
</ProjectReference>
3740
<ProjectReference Include="opensuse\42.1\Microsoft.NETCore.ILDAsm.pkgproj">
3841
<Platform>amd64</Platform>
3942
</ProjectReference>
43+
<ProjectReference Include="opensuse\42.3\Microsoft.NETCore.ILDAsm.pkgproj">
44+
<Platform>amd64</Platform>
45+
</ProjectReference>
4046
<ProjectReference Include="rhel\Microsoft.NETCore.ILDAsm.pkgproj">
4147
<Platform>amd64</Platform>
4248
</ProjectReference>
@@ -49,6 +55,9 @@
4955
<ProjectReference Include="ubuntu\16.10\Microsoft.NETCore.ILDAsm.pkgproj">
5056
<Platform>amd64</Platform>
5157
</ProjectReference>
58+
<ProjectReference Include="ubuntu\18.04\Microsoft.NETCore.ILDAsm.pkgproj">
59+
<Platform>amd64</Platform>
60+
</ProjectReference>
5261
<ProjectReference Include="osx\Microsoft.NETCore.ILDAsm.pkgproj">
5362
<Platform>amd64</Platform>
5463
</ProjectReference>
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
4+
<PropertyGroup>
5+
<SkipPackageFileCheck>true</SkipPackageFileCheck>
6+
<PackageTargetRuntime>fedora.27-$(PackagePlatform)</PackageTargetRuntime>
7+
<!-- only build for x64 -->
8+
<PackagePlatforms>x64;</PackagePlatforms>
9+
</PropertyGroup>
10+
<ItemGroup>
11+
<NativeSplittableBinary Include="$(BinDir)ildasm" />
12+
<ArchitectureSpecificNativeFile Include="@(NativeSplittableBinary)" />
13+
<File Include="@(ArchitectureSpecificNativeFile)">
14+
<TargetPath>runtimes/$(PackageTargetRuntime)/native</TargetPath>
15+
</File>
16+
</ItemGroup>
17+
<ItemGroup Condition="'$(__BuildType)' == 'Release'">
18+
<ArchitectureSpecificNativeSymbol Include="@(NativeSplittableBinary -> '%(Identity).dbg')" />
19+
<AdditionalLibPackageExcludes Include="%2A%2A\%2A.dbg" />
20+
<AdditionalSymbolPackageExcludes Include="%2A%2A\%2A.so" />
21+
<AdditionalSymbolPackageExcludes Include="%2A%2A\%2A.dll" />
22+
<ArchitectureSpecificNativeSymbol Include="..\..\..\_.pdb" />
23+
<File Include="@(ArchitectureSpecificNativeSymbol)">
24+
<TargetPath>runtimes/$(PackageTargetRuntime)/native</TargetPath>
25+
<IsSymbolFile>true</IsSymbolFile>
26+
</File>
27+
</ItemGroup>
28+
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
29+
</Project>
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
4+
<PropertyGroup>
5+
<SkipPackageFileCheck>true</SkipPackageFileCheck>
6+
<PackageTargetRuntime>opensuse.42.3-$(PackagePlatform)</PackageTargetRuntime>
7+
<!-- only build for x64 -->
8+
<PackagePlatforms>x64;</PackagePlatforms>
9+
</PropertyGroup>
10+
<ItemGroup>
11+
<NativeSplittableBinary Include="$(BinDir)ildasm" />
12+
<ArchitectureSpecificNativeFile Include="@(NativeSplittableBinary)" />
13+
<File Include="@(ArchitectureSpecificNativeFile)">
14+
<TargetPath>runtimes/$(PackageTargetRuntime)/native</TargetPath>
15+
</File>
16+
</ItemGroup>
17+
<ItemGroup Condition="'$(__BuildType)' == 'Release'">
18+
<ArchitectureSpecificNativeSymbol Include="@(NativeSplittableBinary -> '%(Identity).dbg')" />
19+
<AdditionalLibPackageExcludes Include="%2A%2A\%2A.dbg" />
20+
<AdditionalSymbolPackageExcludes Include="%2A%2A\%2A.so" />
21+
<AdditionalSymbolPackageExcludes Include="%2A%2A\%2A.dll" />
22+
<ArchitectureSpecificNativeSymbol Include="..\..\..\_.pdb" />
23+
<File Include="@(ArchitectureSpecificNativeSymbol)">
24+
<TargetPath>runtimes/$(PackageTargetRuntime)/native</TargetPath>
25+
<IsSymbolFile>true</IsSymbolFile>
26+
</File>
27+
</ItemGroup>
28+
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
29+
</Project>
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
4+
<PropertyGroup>
5+
<SkipPackageFileCheck>true</SkipPackageFileCheck>
6+
<PackageTargetRuntime>ubuntu.18.04-$(PackagePlatform)</PackageTargetRuntime>
7+
<!-- only build for x64 -->
8+
<PackagePlatforms>x64;</PackagePlatforms>
9+
</PropertyGroup>
10+
<ItemGroup>
11+
<NativeSplittableBinary Include="$(BinDir)ildasm" />
12+
<ArchitectureSpecificNativeFile Include="@(NativeSplittableBinary)" />
13+
<File Include="@(ArchitectureSpecificNativeFile)">
14+
<TargetPath>runtimes/$(PackageTargetRuntime)/native</TargetPath>
15+
</File>
16+
</ItemGroup>
17+
<ItemGroup Condition="'$(__BuildType)' == 'Release'">
18+
<ArchitectureSpecificNativeSymbol Include="@(NativeSplittableBinary -> '%(Identity).dbg')" />
19+
<AdditionalLibPackageExcludes Include="%2A%2A\%2A.dbg" />
20+
<AdditionalSymbolPackageExcludes Include="%2A%2A\%2A.so" />
21+
<AdditionalSymbolPackageExcludes Include="%2A%2A\%2A.dll" />
22+
<ArchitectureSpecificNativeSymbol Include="..\..\..\_.pdb" />
23+
<File Include="@(ArchitectureSpecificNativeSymbol)">
24+
<TargetPath>runtimes/$(PackageTargetRuntime)/native</TargetPath>
25+
<IsSymbolFile>true</IsSymbolFile>
26+
</File>
27+
</ItemGroup>
28+
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
29+
</Project>

0 commit comments

Comments
 (0)