From f42599dec212148ebfbc7f77c9c8deefd2ce614e Mon Sep 17 00:00:00 2001 From: Parallels Date: Fri, 3 Mar 2017 11:13:41 -0800 Subject: [PATCH] Fixing ubuntu deb generation. --- build/package/Installer.DEB.targets | 157 +++++++++--------- build/package/dotnet-deb-tool-consumer.csproj | 1 + 2 files changed, 82 insertions(+), 76 deletions(-) diff --git a/build/package/Installer.DEB.targets b/build/package/Installer.DEB.targets index 0296b11ad..d7e5b9c19 100644 --- a/build/package/Installer.DEB.targets +++ b/build/package/Installer.DEB.targets @@ -1,93 +1,98 @@ - - dotnet-dev-$(SdkVersion) - - - - - dotnet-deb-tool - 1.0.0-* - dotnet-deb-tool-consumer - $(IntermediateDirectory)/$(DotnetDebToolConsumerProjectName) - - - - - - /usr/share/dotnet - - package_root - $ - samples - docs - debian - - - - - dotnet-sharedframework-$(SharedFrameworkName)-$(SharedFrameworkVersion) - $(SharedFxDebianPackageName.ToLower()) - dotnet-hostfxr-$(HostFxrVersion) - $(HostFxrDebianPackageName.ToLower()) - dotnet-host - - dotnet-sharedframework-$(SharedFrameworkName)-$(AdditionalSharedFrameworkVersion) - $(AdditionalSharedFxDebianPackageName.ToLower()) - dotnet-hostfxr-$(AdditionalHostFxrVersion) - $(AdditionalHostFxrDebianPackageName.ToLower()) - - - - - $(RepoRoot)/Documentation/manpages - $(RepoRoot)/test/EndToEnd/EndToEnd.csproj - $(OutputDirectory)/sdk - - - - - $(SdkDebianIntermediateDirectory)/deb-tool-output - $(SdkDebianIntermediateDirectory)/debian-testResults.xml - - - - - $(LayoutDirectory)/$(LayoutPackageRootDirName) - $(LayoutDirectory)/$(LayoutAbsolutePlacementDirName) - $(LayoutDirectory)/$(LayoutSamplesDirName) - $(LayoutDirectory)/$(LayoutDocsDirName) - $(LayoutDirectory)/$(LayoutDebianFilesDirName) - - - - - $(RepoRoot)/packaging/deb/dotnet-debian_config.json - $(LayoutDirectory)/debian_config.json - - - - - - - - - - + + dotnet-dev-$(SdkVersion) + + + + + dotnet-deb-tool-consumer.csproj + $(IntermediateDirectory)/$(DotnetDebToolConsumerProjectName) + + + + + /usr/share/dotnet + + package_root + $ + samples + docs + debian + + + + + $(SdkVersion) + dotnet-dev-$(SdkDebianPackageVersion) + $(SharedFrameworkVersion) + dotnet-sharedframework-$(SharedFrameworkName)-$(SharedFxDebianPackageVersion) + $(SharedFxDebianPackageName.ToLower()) + $(HostFxrVersion) + dotnet-hostfxr-$(HostFxrDebianPackageVersion) + $(HostFxrDebianPackageName.ToLower()) + dotnet-host + + $(AdditionalSharedFrameworkVersion) + dotnet-sharedframework-$(SharedFrameworkName)-$(AdditionalSharedFxDebianPackageVersion) + $(AdditionalSharedFxDebianPackageName.ToLower()) + $(AdditionalHostFxrVersion) + dotnet-hostfxr-$(AdditionalHostFxrDebianPackageVersion) + $(AdditionalHostFxrDebianPackageName.ToLower()) + + + + + $(RepoRoot)/Documentation/manpages + $(RepoRoot)/test/EndToEnd/EndToEnd.csproj + $(OutputDirectory)/sdk + + + + $(PackagesDirectory) + $(InstallerOutputDirectory)/$(ArtifactNameWithVersionSdk)$(InstallerExtension) + + $(IntermediateDirectory)/debian/sdk + $(SdkDebianIntermediateDirectory)/deb-tool-output + $(SdkDebianIntermediateDirectory)/debian-testResults.xml + + + + + $(SdkDebianIntermediateDirectory)/debianLayoutDirectory + $(LayoutDirectory)/$(LayoutPackageRootDirName) + $(LayoutDirectory)/$(LayoutAbsolutePlacementDirName) + $(LayoutDirectory)/$(LayoutSamplesDirName) + $(LayoutDirectory)/$(LayoutDocsDirName) + $(LayoutDirectory)/$(LayoutDebianFilesDirName) + + + + + $(RepoRoot)/packaging/deb/dotnet-debian_config.json + $(LayoutDirectory)/debian_config.json + + $(SharedFxDebianPackageName) - - $(AdditionalSharedFxDebianPackageName) + + , + "$(AdditionalSharedFxDebianPackageName)" : {} + + + $(SdkVersion) diff --git a/build/package/dotnet-deb-tool-consumer.csproj b/build/package/dotnet-deb-tool-consumer.csproj index 82b9f9356..ab41745f0 100644 --- a/build/package/dotnet-deb-tool-consumer.csproj +++ b/build/package/dotnet-deb-tool-consumer.csproj @@ -1,6 +1,7 @@ netcoreapp2.0 + 2.0.0-beta-001509-00