Skip to content

Commit 1eb2258

Browse files
authored
[automated] Merge branch 'release/8.0.3xx' => 'release/8.0.4xx' (#20511)
2 parents 81782d5 + e144961 commit 1eb2258

4 files changed

Lines changed: 9 additions & 6 deletions

File tree

.vsts-ci.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,12 +122,13 @@ extends:
122122
- template: eng/build.yml@self
123123
parameters:
124124
agentOs: Linux
125-
jobName: Build_CentOS_8_Stream_Debug_x64
126-
container: centosStream8
125+
jobName: Build_CentOS_Stream_9_Debug_x64
126+
container: centosStream9
127127
buildConfiguration: Debug
128128
buildArchitecture: x64
129129
linuxPortable: false
130130
runTests: true
131+
additionalBuildParameters: '/p:OSName=centos.8'
131132
- template: eng/build.yml@self
132133
parameters:
133134
agentOs: Linux

.vsts-pr.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,8 @@ stages:
8989
- template: eng/build-pr.yml
9090
parameters:
9191
agentOs: Linux
92-
jobName: Build_CentOS_8_Stream_Debug_x64
93-
container: 'mcr.microsoft.com/dotnet-buildtools/prereqs:centos-stream8'
92+
jobName: Build_CentOS_Stream_9_Debug_x64
93+
container: 'mcr.microsoft.com/dotnet-buildtools/prereqs:centos-stream9'
9494
buildConfiguration: Debug
9595
buildArchitecture: x64
9696
linuxPortable: false

src/SourceBuild/content/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,11 +123,11 @@ You can also build the repository using a Docker image which has the required pr
123123
The example below creates a Docker volume named `vmr` and clones and builds the VMR there.
124124
125125
```sh
126-
docker run --rm -it -v vmr:/vmr -w /vmr mcr.microsoft.com/dotnet-buildtools/prereqs:centos-stream8
126+
docker run --rm -it -v vmr:/vmr -w /vmr mcr.microsoft.com/dotnet-buildtools/prereqs:centos-stream9
127127
git clone https://github.com/dotnet/dotnet .
128128
./prep.sh && ./build.sh --online
129129
mkdir -p $HOME/.dotnet
130-
tar -zxf artifacts/x64/Release/dotnet-sdk-8.0.100-centos.8-x64.tar.gz -C $HOME/.dotnet
130+
tar -zxf artifacts/x64/Release/dotnet-sdk-8.0.100-centos.9-x64.tar.gz -C $HOME/.dotnet
131131
ln -s $HOME/.dotnet/dotnet /usr/bin/dotnet
132132
```
133133

src/redist/targets/GenerateLayout.targets

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,9 @@
5050
<SharedFrameworkInstallerFileRid Condition=" '$(IsDebianBaseDistro)' == 'true' OR '$(IsRPMBasedDistro)' == 'true' ">$(InstallerTargetArchitecture)</SharedFrameworkInstallerFileRid>
5151

5252
<!-- Use the "x64" Rid when downloading Linux runtime dependencies Debian package. -->
53+
<!-- Use centos 8 rid as runtime doesn't float based on the version -->
5354
<RuntimeDepsInstallerFileRid>$(CoreSetupRid)</RuntimeDepsInstallerFileRid>
55+
<RuntimeDepsInstallerFileRid Condition=" '$(CoreSetupRid)' == 'centos.9-x64' ">centos.8-x64</RuntimeDepsInstallerFileRid>
5456
<RuntimeDepsInstallerFileRid Condition=" '$(IsDebianBaseDistro)' == 'true' ">$(Architecture)</RuntimeDepsInstallerFileRid>
5557
<RuntimeDepsInstallerFileRid Condition=" '$(IsRPMBasedDistro)' == 'true' And '$(UsePortableLinuxSharedFramework)' != 'true' ">$(OSName)-$(InstallerTargetArchitecture)</RuntimeDepsInstallerFileRid>
5658
<RuntimeDepsInstallerFileRid Condition=" '$(CoreSetupRid)' == 'rhel.7-x64' And '$(Architecture)' == 'Arm64' And '$(UsePortableLinuxSharedFramework)' == 'true' ">rhel.7-aarch64</RuntimeDepsInstallerFileRid>

0 commit comments

Comments
 (0)