From 86d6e51ba26386c39fb1863b2bccbb0915238454 Mon Sep 17 00:00:00 2001 From: = Date: Thu, 19 Oct 2017 12:17:18 -0700 Subject: [PATCH] Fix rpm packages and hosting tar.gz --- build/RuntimeStoreInstaller.targets | 47 ++++++++++++++++++++--------- 1 file changed, 32 insertions(+), 15 deletions(-) diff --git a/build/RuntimeStoreInstaller.targets b/build/RuntimeStoreInstaller.targets index 8cb848ca85..a4c1690d66 100644 --- a/build/RuntimeStoreInstaller.targets +++ b/build/RuntimeStoreInstaller.targets @@ -6,7 +6,7 @@ <_DebToolDir>$(MSBuildThisFileDirectory)tools\dotnet-deb-tool-consumer\ <_TimestampRSSource>$(RepositoryRoot).deps\Signed\Store\ <_TimestampFreeRSSource>$(RepositoryRoot).deps\Signed\Store-TimestampFree\ - <_CoreInstallerSource>$(RepositoryRoot).deps\CoreInstallers\ + <_InstallerSource>$(RepositoryRoot).deps\Installers\ <_WorkRoot>$(RepositoryRoot).w\ <_WorkLayoutDir>$(_WorkRoot).l\ <_WorkOutputDir>$(_WorkRoot).o\ @@ -18,9 +18,11 @@ $(_PackagingDir)store_debian_config.json $(_PackagingDir)hosting_debian_config.json + https://dotnetcli.blob.core.windows.net/dotnet $(KOREBUILD_DOTNET_FEED_UNCACHED) - https://dotnetcli.blob.core.windows.net/dotnet + $(PublicCoreFeedPrefix) + $(PublicCoreFeedPrefix)/aspnetcore/store/2.0.0-26452/Build.RS.linux.tar.gz $(CoreFeedPrefix)/Runtime/$(MicrosoftNETCoreApp20PackageVersion)/dotnet-runtime-$(MicrosoftNETCoreApp20PackageVersion)-linux-x64.tar.gz $(_TimestampRSSource)aspnetcore-store-$(PackageVersion)-linux-x64.tar.gz $(_TimestampFreeRSSource)aspnetcore-store-$(PackageVersionNoTimestamp)-linux-x64.tar.gz @@ -46,15 +48,16 @@ Condition="!Exists('$(TimestampFreeRSArchive)')" /> - + - + - + + @@ -64,15 +67,25 @@ - + + + + + + - + + + <_DependentArchives Include="$(_InstallerSource)dotnet-runtime-$(MicrosoftNETCoreApp20PackageVersion)-linux-x64.tar.gz" /> + <_DependentArchives Include="$(_InstallerSource)Build.RS.linux.tar.gz" /> + + - $(_CoreInstallerSource)dotnet-runtime-$(MicrosoftNETCoreApp20PackageVersion)-linux-x64.tar.gz + @(_DependentArchives) $(HostingInstallerName)-$(Version)-linux-x64.tar.gz $(HostingInstallerName)-$(PackageVersionNoTimestamp)-linux-x64.tar.gz @@ -81,12 +94,12 @@ + Properties="DependentArchives=$(DependentArchives);RSArchive=$(TimestampRSArchive);HostingArchiveName=$(HostingArchiveName)" /> + Properties="DependentArchives=$(DependentArchives);RSArchive=$(TimestampFreeRSArchive);HostingArchiveName=$(TimestampFreeHostingArchiveName)" /> @@ -218,6 +231,9 @@ + + 2.0.0 + $(PackageVersion) @@ -235,12 +251,13 @@ @(HostingDependencies->' -d "%(Identity) >= %(Version)"', ' ') @(TimestampFreeHostingDependencies->' -d "%(Identity) >= %(Version)"', ' ') - @(RHStoreDirectories->' --directories "%(FullPath)"', ' ') - @(GenericStoreDirectories->' --directories "%(FullPath)"', ' ') + @(RSDependencies->' -d "%(Identity) >= %(Version)"', ' ') + $(RSDependencyArguments) @(RHStoreDirectories->' --directories "%(FullPath)"', ' ') + $(RSDependencyArguments) @(GenericStoreDirectories->' --directories "%(FullPath)"', ' ') Image=$(Image);RPMVendor=$(RPMVendor) RPMFileSuffix=rhel.7-x64.rpm;RPMInstallRoot=$(GenericInstallerInstallRoot) - RPMFileSuffix=rhel.rh.7-x64.rpm;RPMInstallRoot=$(RHInstallerInstallRoot) + RPMFileSuffix=rh.rhel.7-x64.rpm;RPMInstallRoot=$(RHInstallerInstallRoot) MaintainerName=@(_RSMaintainerName);MaintainerEmail=@(_RSMaintainerEmail) $(CommonRSArguments);RPMInstallerPrefix=$(RSInstallerName);RPMRevision=@(_RSPackageRevision) @@ -259,7 +276,7 @@ $(TimestampFreeRSArguments);RSArchive=$(TimestampFreeRSArchive);RPMVersion=$(PackageVersionNoTimestamp);RPMArguments=$(GenericRSArguments) $(CommonArguments);$(CommonGenericArguments);$(CommonHostingArguments) - $(TimestampHostingArguments);RPMVersion=$(PackageVersion);RPMArguments=$(HostingArguments) + $(TimestampHostingArguments);RPMVersion=$(PackageVersion);RPMArguments=$(HostingFPMArguments) $(CommonArguments);$(CommonGenericArguments);$(CommonHostingArguments) $(TimestampFreeHostingArguments);RPMVersion=$(PackageVersionNoTimestamp);RPMArguments=$(TimestampFreeHostingFPMArguments) @@ -271,7 +288,7 @@ $(RHTimestampFreeRSArguments);RSArchive=$(TimestampFreeRSArchive);RPMVersion=$(PackageVersionNoTimestamp);RPMArguments=$(RHRSArguments) $(CommonArguments);$(CommonRHArguments);$(CommonHostingArguments) - $(RHTimestampHostingArguments);RPMVersion=$(PackageVersion);RPMArguments=$(HostingArguments) + $(RHTimestampHostingArguments);RPMVersion=$(PackageVersion);RPMArguments=$(HostingFPMArguments) $(CommonArguments);$(CommonRHArguments);$(CommonHostingArguments) $(RHTimestampFreeHostingArguments);RPMVersion=$(PackageVersionNoTimestamp);RPMArguments=$(TimestampFreeHostingFPMArguments)