Remove 2.0 runtime store dependency from 2.1 shared framework installers
This commit is contained in:
parent
56d31947a8
commit
b4f77aea08
|
|
@ -26,11 +26,7 @@
|
||||||
<DebConfigInFile>$(_PackagingDir)debian_config.json.in</DebConfigInFile>
|
<DebConfigInFile>$(_PackagingDir)debian_config.json.in</DebConfigInFile>
|
||||||
|
|
||||||
<PublicCoreFeedPrefix>https://dotnetcli.blob.core.windows.net/dotnet/</PublicCoreFeedPrefix>
|
<PublicCoreFeedPrefix>https://dotnetcli.blob.core.windows.net/dotnet/</PublicCoreFeedPrefix>
|
||||||
|
|
||||||
<!-- Previously released versions of the RS are included in 2.1.0-preview1 for compat. They should be removed by RTM once the "trampoline" feature is in. -->
|
|
||||||
<RuntimeStoreArchiveLinkPrefix>$(PublicCoreFeedPrefix)aspnetcore/store/2.0.3-125/</RuntimeStoreArchiveLinkPrefix>
|
|
||||||
<RuntimeStoreArchiveFilename>Build.RS</RuntimeStoreArchiveFilename>
|
|
||||||
|
|
||||||
<!-- In an orchestrated build, this may be overriden to other Azure feeds. -->
|
<!-- In an orchestrated build, this may be overriden to other Azure feeds. -->
|
||||||
<DotNetAssetRootUrl Condition="'$(DotNetAssetRootUrl)'==''">$(PublicCoreFeedPrefix)</DotNetAssetRootUrl>
|
<DotNetAssetRootUrl Condition="'$(DotNetAssetRootUrl)'==''">$(PublicCoreFeedPrefix)</DotNetAssetRootUrl>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -31,25 +31,12 @@
|
||||||
Uri="$(RuntimeArchiveLinkPrefix)-%(NonWindowsSharedFxRIDs.Identity).tar.gz$(DotNetAssetRootAccessTokenSuffix)"
|
Uri="$(RuntimeArchiveLinkPrefix)-%(NonWindowsSharedFxRIDs.Identity).tar.gz$(DotNetAssetRootAccessTokenSuffix)"
|
||||||
DestinationPath="$(_InstallerSourceDir)$(DotnetRuntimeInstallerPrefix)-%(NonWindowsSharedFxRIDs.Identity).tar.gz"
|
DestinationPath="$(_InstallerSourceDir)$(DotnetRuntimeInstallerPrefix)-%(NonWindowsSharedFxRIDs.Identity).tar.gz"
|
||||||
Condition="!Exists('$(_InstallerSourceDir)$(DotnetRuntimeInstallerPrefix)-%(NonWindowsSharedFxRIDs.Identity).tar.gz')" />
|
Condition="!Exists('$(_InstallerSourceDir)$(DotnetRuntimeInstallerPrefix)-%(NonWindowsSharedFxRIDs.Identity).tar.gz')" />
|
||||||
|
|
||||||
<!-- TODO: REMOVE - This dependency is a stop gap requirement until trampoline from 2.0 => 2.1 is implemented -->
|
|
||||||
<ItemGroup>
|
|
||||||
<RuntimeStoreArchiveLinkSuffix Include=".linux.tar.gz;.osx.tar.gz;.winx64.zip;.winx86.zip" />
|
|
||||||
</ItemGroup>
|
|
||||||
<KoreBuild.Tasks.DownloadFile
|
|
||||||
Uri="$(RuntimeStoreArchiveLinkPrefix)$(RuntimeStoreArchiveFilename)%(RuntimeStoreArchiveLinkSuffix.Identity)$(DotNetAssetRootAccessTokenSuffix)"
|
|
||||||
DestinationPath="$(_InstallerSourceDir)$(RuntimeStoreArchiveFilename)%(RuntimeStoreArchiveLinkSuffix.Identity)"
|
|
||||||
Condition="!Exists('$(_InstallerSourceDir)$(RuntimeStoreArchiveFilename)%(RuntimeStoreArchiveLinkSuffix.Identity)')" />
|
|
||||||
</Target>
|
</Target>
|
||||||
|
|
||||||
<Target Name="_GenerateCumulativeArchive">
|
<Target Name="_GenerateCumulativeArchive">
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<ArchiveExtension>.tar.gz</ArchiveExtension>
|
<ArchiveExtension>.tar.gz</ArchiveExtension>
|
||||||
<ArchiveExtension Condition="$(SharedFxPlatform.StartsWith('win'))">.zip</ArchiveExtension>
|
<ArchiveExtension Condition="$(SharedFxPlatform.StartsWith('win'))">.zip</ArchiveExtension>
|
||||||
<RuntimeStoreArchiveLinkSuffix Condition="'$(SharedFxPlatform)' == 'win-x64'">.winx64.zip</RuntimeStoreArchiveLinkSuffix>
|
|
||||||
<RuntimeStoreArchiveLinkSuffix Condition="'$(SharedFxPlatform)' == 'win-x86'">.winx86.zip</RuntimeStoreArchiveLinkSuffix>
|
|
||||||
<RuntimeStoreArchiveLinkSuffix Condition="'$(SharedFxPlatform)' == 'osx-x64'">.osx.tar.gz</RuntimeStoreArchiveLinkSuffix>
|
|
||||||
<RuntimeStoreArchiveLinkSuffix Condition="'$(SharedFxPlatform)' == 'linux-x64'">.linux.tar.gz</RuntimeStoreArchiveLinkSuffix>
|
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<!-- Clear working directory -->
|
<!-- Clear working directory -->
|
||||||
|
|
@ -60,10 +47,6 @@
|
||||||
<Exec
|
<Exec
|
||||||
Command="tar -xzf $(SharedFxIntermediateArchiveFilePrefix)-$(SharedFxPlatform)$(ArchiveExtension) -C $(_WorkRoot)"
|
Command="tar -xzf $(SharedFxIntermediateArchiveFilePrefix)-$(SharedFxPlatform)$(ArchiveExtension) -C $(_WorkRoot)"
|
||||||
Condition="'$(ArchiveExtension)' == '.tar.gz'"/>
|
Condition="'$(ArchiveExtension)' == '.tar.gz'"/>
|
||||||
<!-- TODO: REMOVE - This dependency is a stop gap requirement until trampoline from 2.0 => 2.1 is implemented -->
|
|
||||||
<Exec
|
|
||||||
Command="tar -xzf $(_InstallerSourceDir)$(RuntimeStoreArchiveFilename)$(RuntimeStoreArchiveLinkSuffix) -C $(_WorkRoot)"
|
|
||||||
Condition="'$(ArchiveExtension)' == '.tar.gz'"/>
|
|
||||||
<Exec
|
<Exec
|
||||||
Command="tar -xzf $(_InstallerSourceDir)$(DotnetRuntimeInstallerPrefix)-$(SharedFxPlatform)$(ArchiveExtension) -C $(_WorkRoot)"
|
Command="tar -xzf $(_InstallerSourceDir)$(DotnetRuntimeInstallerPrefix)-$(SharedFxPlatform)$(ArchiveExtension) -C $(_WorkRoot)"
|
||||||
Condition="'$(ArchiveExtension)' == '.tar.gz'"/>
|
Condition="'$(ArchiveExtension)' == '.tar.gz'"/>
|
||||||
|
|
@ -71,11 +54,6 @@
|
||||||
File="$(SharedFxIntermediateArchiveFilePrefix)-$(SharedFxPlatform)$(ArchiveExtension)"
|
File="$(SharedFxIntermediateArchiveFilePrefix)-$(SharedFxPlatform)$(ArchiveExtension)"
|
||||||
Destination="$(_WorkRoot)"
|
Destination="$(_WorkRoot)"
|
||||||
Condition="'$(ArchiveExtension)' == '.zip'" />
|
Condition="'$(ArchiveExtension)' == '.zip'" />
|
||||||
<!-- TODO: REMOVE - This dependency is a stop gap requirement until trampoline from 2.0 => 2.1 is implemented -->
|
|
||||||
<UnzipArchive
|
|
||||||
File="$(_InstallerSourceDir)$(RuntimeStoreArchiveFilename)$(RuntimeStoreArchiveLinkSuffix)"
|
|
||||||
Destination="$(_WorkRoot)"
|
|
||||||
Condition="'$(ArchiveExtension)' == '.zip'" />
|
|
||||||
<UnzipArchive
|
<UnzipArchive
|
||||||
File="$(_InstallerSourceDir)$(DotnetRuntimeInstallerPrefix)-$(SharedFxPlatform)$(ArchiveExtension)"
|
File="$(_InstallerSourceDir)$(DotnetRuntimeInstallerPrefix)-$(SharedFxPlatform)$(ArchiveExtension)"
|
||||||
Destination="$(_WorkRoot)"
|
Destination="$(_WorkRoot)"
|
||||||
|
|
@ -165,8 +143,6 @@
|
||||||
<MSBuild Projects="$(MSBuildProjectFullPath)" Targets="_BuildDockerImage" Properties="Image=$(Image)" />
|
<MSBuild Projects="$(MSBuildProjectFullPath)" Targets="_BuildDockerImage" Properties="Image=$(Image)" />
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<!-- TODO: REMOVE - This dependency is a stop gap requirement until trampoline from 2.0 => 2.1 is implemented -->
|
|
||||||
<RpmSharedFxDependencies Include="aspnetcore-store-2.0.3" Version="2.0.3" />
|
|
||||||
<RpmSharedFxDependencies Include="$(DotnetRuntimeInstallerPrefix)" Version="$(MicrosoftNETCoreApp21PackageVersion)" />
|
<RpmSharedFxDependencies Include="$(DotnetRuntimeInstallerPrefix)" Version="$(MicrosoftNETCoreApp21PackageVersion)" />
|
||||||
<RpmRHSharedFxDirectories Include="$(RHInstallRoot)/shared" />
|
<RpmRHSharedFxDirectories Include="$(RHInstallRoot)/shared" />
|
||||||
<RpmGenericSharedFxDirectories Include="$(InstallRoot)/shared" />
|
<RpmGenericSharedFxDirectories Include="$(InstallRoot)/shared" />
|
||||||
|
|
@ -267,8 +243,6 @@
|
||||||
<MSBuild Projects="$(MSBuildProjectFullPath)" Targets="_BuildDockerImage" Properties="Image=$(Image)" />
|
<MSBuild Projects="$(MSBuildProjectFullPath)" Targets="_BuildDockerImage" Properties="Image=$(Image)" />
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<!-- TODO: REMOVE - This dependency is a stop gap requirement until trampoline from 2.0 => 2.1 is implemented -->
|
|
||||||
<_DebSharedFxDependencies Include="aspnetcore-store-2.0.3"/>
|
|
||||||
<_DebSharedFxDependencies Include="$(DotnetRuntimeInstallerPrefix)"/>
|
<_DebSharedFxDependencies Include="$(DotnetRuntimeInstallerPrefix)"/>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue