Try reverting Installer.DEB.targets to investigate the build break
This commit is contained in:
parent
2118c643d6
commit
b86afddbd3
1 changed files with 76 additions and 73 deletions
|
@ -1,80 +1,22 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<SdkDebianPackageVersion>$(SdkVersion)</SdkDebianPackageVersion>
|
<SdkDebianPackageVersion>$(SdkVersion)</SdkDebianPackageVersion>
|
||||||
<SdkDebianPackageName>dotnet-dev-$(SdkDebianPackageVersion)</SdkDebianPackageName>
|
<SdkDebianPackageName>dotnet-dev-$(SdkDebianPackageVersion)</SdkDebianPackageName>
|
||||||
<SdkDebianIntermediateDirectory>$(IntermediateDirectory)/debian/sdk</SdkDebianIntermediateDirectory>
|
<SdkDebianIntermediateDirectory>$(IntermediateDirectory)/debian/sdk</SdkDebianIntermediateDirectory>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<!-- dotnet deb-tool -->
|
<Target Name="SetupDebProps"
|
||||||
<PropertyGroup>
|
|
||||||
<DotnetDebToolPackageId>dotnet-deb-tool</DotnetDebToolPackageId>
|
|
||||||
<DotnetDebToolVersion Condition=" '$(DotnetDebToolVersion)' == '' ">1.0.0-*</DotnetDebToolVersion>
|
|
||||||
<DotnetDebToolConsumerProjectName>dotnet-deb-tool-consumer</DotnetDebToolConsumerProjectName>
|
|
||||||
<DotnetDebToolDir>$(IntermediateDirectory)/$(DotnetDebToolConsumerProjectName)</DotnetDebToolDir>
|
|
||||||
<DotnetDebToolPackageSource Condition=" '$(DotnetDebToolPackageSource)' == '' "></DotnetDebToolPackageSource>
|
|
||||||
</PropertyGroup>
|
|
||||||
|
|
||||||
<!-- constants -->
|
|
||||||
<PropertyGroup>
|
|
||||||
<DebianInstalledDirectory>/usr/share/dotnet</DebianInstalledDirectory>
|
|
||||||
|
|
||||||
<LayoutPackageRootDirName>package_root</LayoutPackageRootDirName>
|
|
||||||
<LayoutAbsolutePlacementDirName>$</LayoutAbsolutePlacementDirName>
|
|
||||||
<LayoutSamplesDirName>samples</LayoutSamplesDirName>
|
|
||||||
<LayoutDocsDirName>docs</LayoutDocsDirName>
|
|
||||||
<LayoutDebianFilesDirName>debian</LayoutDebianFilesDirName>
|
|
||||||
</PropertyGroup>
|
|
||||||
|
|
||||||
<!-- Package Identities -->
|
|
||||||
<PropertyGroup>
|
|
||||||
<SharedFxDebianPackageVersion>$(SharedFrameworkVersion)</SharedFxDebianPackageVersion>
|
|
||||||
<SharedFxDebianPackageName>dotnet-sharedframework-$(SharedFrameworkName)-$(SharedFxDebianPackageVersion)</SharedFxDebianPackageName>
|
|
||||||
<SharedFxDebianPackageName>$(SharedFxDebianPackageName.ToLower())</SharedFxDebianPackageName>
|
|
||||||
<HostFxrDebianPackageVersion>$(HostFxrVersion)</HostFxrDebianPackageVersion>
|
|
||||||
<HostFxrDebianPackageName>dotnet-hostfxr-$(HostFxrDebianPackageVersion)</HostFxrDebianPackageName>
|
|
||||||
<HostFxrDebianPackageName>$(HostFxrDebianPackageName.ToLower())</HostFxrDebianPackageName>
|
|
||||||
<HostDebianPackageName>dotnet-host</HostDebianPackageName>
|
|
||||||
|
|
||||||
<AdditionalSharedFxDebianPackageVersion>$(AdditionalSharedFrameworkVersion)</AdditionalSharedFxDebianPackageVersion>
|
|
||||||
<AdditionalSharedFxDebianPackageName>dotnet-sharedframework-$(SharedFrameworkName)-$(AdditionalSharedFxDebianPackageVersion)</AdditionalSharedFxDebianPackageName>
|
|
||||||
<AdditionalSharedFxDebianPackageName>$(AdditionalSharedFxDebianPackageName.ToLower())</AdditionalSharedFxDebianPackageName>
|
|
||||||
<AdditionalHostFxrDebianPackageVersion>$(AdditionalHostFxrVersion)</AdditionalHostFxrDebianPackageVersion>
|
|
||||||
<AdditionalHostFxrDebianPackageName>dotnet-hostfxr-$(AdditionalHostFxrDebianPackageVersion)</AdditionalHostFxrDebianPackageName>
|
|
||||||
<AdditionalHostFxrDebianPackageName>$(AdditionalHostFxrDebianPackageName.ToLower())</AdditionalHostFxrDebianPackageName>
|
|
||||||
</PropertyGroup>
|
|
||||||
|
|
||||||
<!-- Inputs -->
|
|
||||||
<PropertyGroup>
|
|
||||||
<ManpagesDirectory>$(RepoRoot)/Documentation/manpages</ManpagesDirectory>
|
|
||||||
<EndToEndTestProject>$(RepoRoot)/test/EndToEnd/EndToEnd.csproj</EndToEndTestProject>
|
|
||||||
<CLISdkRoot>$(Stage2Directory)/sdk</CLISdkRoot>
|
|
||||||
</PropertyGroup>
|
|
||||||
|
|
||||||
<!-- Output Directories -->
|
|
||||||
<PropertyGroup>
|
|
||||||
<DotNetDebToolOutputDirectory>$(SdkDebianIntermediateDirectory)/deb-tool-output</DotNetDebToolOutputDirectory>
|
|
||||||
<DebianTestResultsXmlFile>$(SdkDebianIntermediateDirectory)/debian-testResults.xml</DebianTestResultsXmlFile>
|
|
||||||
</PropertyGroup>
|
|
||||||
|
|
||||||
<!-- Layout Directories -->
|
|
||||||
<PropertyGroup>
|
|
||||||
<DebianLayoutDirectory>$(SdkDebianIntermediateDirectory)/debianLayoutDirectory</DebianLayoutDirectory>
|
|
||||||
<LayoutPackageRootDir>$(DebianLayoutDirectory)/$(LayoutPackageRootDirName)</LayoutPackageRootDir>
|
|
||||||
<LayoutAbsolutePlacementDir>$(DebianLayoutDirectory)/$(LayoutAbsolutePlacementDirName)</LayoutAbsolutePlacementDir>
|
|
||||||
<LayoutSamplesDir>$(DebianLayoutDirectory)/$(LayoutSamplesDirName)</LayoutSamplesDir>
|
|
||||||
<LayoutDocsDir>$(DebianLayoutDirectory)/$(LayoutDocsDirName)</LayoutDocsDir>
|
|
||||||
<LayoutDebianFilesDir>$(DebianLayoutDirectory)/$(LayoutDebianFilesDirName)</LayoutDebianFilesDir>
|
|
||||||
</PropertyGroup>
|
|
||||||
|
|
||||||
<!-- debian_config.json -->
|
|
||||||
<PropertyGroup>
|
|
||||||
<DebianConfigTemplateFile>$(RepoRoot)/packaging/deb/dotnet-debian_config.json</DebianConfigTemplateFile>
|
|
||||||
<DebianConfigJsonFile>$(DebianLayoutDirectory)/debian_config.json</DebianConfigJsonFile>
|
|
||||||
</PropertyGroup>
|
|
||||||
|
|
||||||
<Target Name="SetupDebProps"
|
|
||||||
DependsOnTargets="Init">
|
DependsOnTargets="Init">
|
||||||
|
<!-- dotnet deb-tool -->
|
||||||
|
<PropertyGroup>
|
||||||
|
<DotnetDebToolPackageId>dotnet-deb-tool</DotnetDebToolPackageId>
|
||||||
|
<DotnetDebToolVersion Condition=" '$(DotnetDebToolVersion)' == '' ">1.0.0-*</DotnetDebToolVersion>
|
||||||
|
<DotnetDebToolConsumerProjectName>dotnet-deb-tool-consumer</DotnetDebToolConsumerProjectName>
|
||||||
|
<DotnetDebToolDir>$(IntermediateDirectory)/$(DotnetDebToolConsumerProjectName)</DotnetDebToolDir>
|
||||||
|
<DotnetDebToolPackageSource Condition=" '$(DotnetDebToolPackageSource)' == '' "></DotnetDebToolPackageSource>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<DotnetDebToolProjectJsonLines Include="{" />
|
<DotnetDebToolProjectJsonLines Include="{" />
|
||||||
<DotnetDebToolProjectJsonLines Include="%20%20%20%20"version": "1.0.0-*"," />
|
<DotnetDebToolProjectJsonLines Include="%20%20%20%20"version": "1.0.0-*"," />
|
||||||
|
@ -84,11 +26,69 @@
|
||||||
<DotnetDebToolProjectJsonLines Include="}" />
|
<DotnetDebToolProjectJsonLines Include="}" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
|
<!-- constants -->
|
||||||
|
<PropertyGroup>
|
||||||
|
<DebianInstalledDirectory>/usr/share/dotnet</DebianInstalledDirectory>
|
||||||
|
|
||||||
|
<LayoutPackageRootDirName>package_root</LayoutPackageRootDirName>
|
||||||
|
<LayoutAbsolutePlacementDirName>$</LayoutAbsolutePlacementDirName>
|
||||||
|
<LayoutSamplesDirName>samples</LayoutSamplesDirName>
|
||||||
|
<LayoutDocsDirName>docs</LayoutDocsDirName>
|
||||||
|
<LayoutDebianFilesDirName>debian</LayoutDebianFilesDirName>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
|
<!-- Package Identities -->
|
||||||
|
<PropertyGroup>
|
||||||
|
<SharedFxDebianPackageVersion>$(SharedFrameworkVersion)</SharedFxDebianPackageVersion>
|
||||||
|
<SharedFxDebianPackageName>dotnet-sharedframework-$(SharedFrameworkName)-$(SharedFxDebianPackageVersion)</SharedFxDebianPackageName>
|
||||||
|
<SharedFxDebianPackageName>$(SharedFxDebianPackageName.ToLower())</SharedFxDebianPackageName>
|
||||||
|
<HostFxrDebianPackageVersion>$(HostFxrVersion)</HostFxrDebianPackageVersion>
|
||||||
|
<HostFxrDebianPackageName>dotnet-hostfxr-$(HostFxrDebianPackageVersion)</HostFxrDebianPackageName>
|
||||||
|
<HostFxrDebianPackageName>$(HostFxrDebianPackageName.ToLower())</HostFxrDebianPackageName>
|
||||||
|
<HostDebianPackageName>dotnet-host</HostDebianPackageName>
|
||||||
|
|
||||||
|
<AdditionalSharedFxDebianPackageVersion>$(AdditionalSharedFrameworkVersion)</AdditionalSharedFxDebianPackageVersion>
|
||||||
|
<AdditionalSharedFxDebianPackageName>dotnet-sharedframework-$(SharedFrameworkName)-$(AdditionalSharedFxDebianPackageVersion)</AdditionalSharedFxDebianPackageName>
|
||||||
|
<AdditionalSharedFxDebianPackageName>$(AdditionalSharedFxDebianPackageName.ToLower())</AdditionalSharedFxDebianPackageName>
|
||||||
|
<AdditionalHostFxrDebianPackageVersion>$(AdditionalHostFxrVersion)</AdditionalHostFxrDebianPackageVersion>
|
||||||
|
<AdditionalHostFxrDebianPackageName>dotnet-hostfxr-$(AdditionalHostFxrDebianPackageVersion)</AdditionalHostFxrDebianPackageName>
|
||||||
|
<AdditionalHostFxrDebianPackageName>$(AdditionalHostFxrDebianPackageName.ToLower())</AdditionalHostFxrDebianPackageName>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
|
<!-- Inputs -->
|
||||||
|
<PropertyGroup>
|
||||||
|
<ManpagesDirectory>$(RepoRoot)/Documentation/manpages</ManpagesDirectory>
|
||||||
|
<EndToEndTestProject>$(RepoRoot)/test/EndToEnd/EndToEnd.csproj</EndToEndTestProject>
|
||||||
|
<CLISdkRoot>$(Stage2Directory)/sdk</CLISdkRoot>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<CLISdkFiles Include="$(CLISdkRoot)/**/*" />
|
<CLISdkFiles Include="$(CLISdkRoot)/**/*" />
|
||||||
<SdkDebManPageFiles Include="$(ManpagesDirectory)/**/*" />
|
<SdkDebManPageFiles Include="$(ManpagesDirectory)/**/*" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
|
<!-- Output Directories -->
|
||||||
|
<PropertyGroup>
|
||||||
|
<DotNetDebToolOutputDirectory>$(SdkDebianIntermediateDirectory)/deb-tool-output</DotNetDebToolOutputDirectory>
|
||||||
|
<DebianTestResultsXmlFile>$(SdkDebianIntermediateDirectory)/debian-testResults.xml</DebianTestResultsXmlFile>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
|
<!-- Layout Directories -->
|
||||||
|
<PropertyGroup>
|
||||||
|
<LayoutDirectory>$(SdkDebianIntermediateDirectory)/debianLayoutDirectory</LayoutDirectory>
|
||||||
|
<LayoutPackageRootDir>$(LayoutDirectory)/$(LayoutPackageRootDirName)</LayoutPackageRootDir>
|
||||||
|
<LayoutAbsolutePlacementDir>$(LayoutDirectory)/$(LayoutAbsolutePlacementDirName)</LayoutAbsolutePlacementDir>
|
||||||
|
<LayoutSamplesDir>$(LayoutDirectory)/$(LayoutSamplesDirName)</LayoutSamplesDir>
|
||||||
|
<LayoutDocsDir>$(LayoutDirectory)/$(LayoutDocsDirName)</LayoutDocsDir>
|
||||||
|
<LayoutDebianFilesDir>$(LayoutDirectory)/$(LayoutDebianFilesDirName)</LayoutDebianFilesDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
|
<!-- debian_config.json -->
|
||||||
|
<PropertyGroup>
|
||||||
|
<DebianConfigTemplateFile>$(RepoRoot)/packaging/deb/dotnet-debian_config.json</DebianConfigTemplateFile>
|
||||||
|
<DebianConfigJsonFile>$(LayoutDirectory)/debian_config.json</DebianConfigJsonFile>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<DebianConfigTokenValues Include="%SHARED_FRAMEWORK_DEBIAN_PACKAGE_NAME%">
|
<DebianConfigTokenValues Include="%SHARED_FRAMEWORK_DEBIAN_PACKAGE_NAME%">
|
||||||
<ReplacementString>$(SharedFxDebianPackageName)</ReplacementString>
|
<ReplacementString>$(SharedFxDebianPackageName)</ReplacementString>
|
||||||
|
@ -106,6 +106,9 @@
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<TestSdkDebTaskEnvironmentVariables Include="PATH=$(DebianInstalledDirectory)$(PathListSeparator)$(PATH)" />
|
<TestSdkDebTaskEnvironmentVariables Include="PATH=$(DebianInstalledDirectory)$(PathListSeparator)$(PATH)" />
|
||||||
|
|
||||||
|
<!-- Consumed By Publish -->
|
||||||
|
<GeneratedInstallers Include="$(SdkInstallerFile)" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
</Target>
|
</Target>
|
||||||
</Project>
|
</Project>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue