From bca0221aed361b9ee6efda584b0bcadfbf908a99 Mon Sep 17 00:00:00 2001 From: Andy Gocke Date: Wed, 20 Jul 2022 22:26:12 -0700 Subject: [PATCH 1/2] Move host changes from liveBuilds to externals The changes in liveBuilds affected the package construction, causing the host files (hostfxr and hostpolicy) to be included in the runtime shared framework package, which they should not be. This later caused issues because Red Hat doesn't allow multiple packages to ship identical binaries with debugging information. --- eng/liveBuilds.targets | 10 ---------- src/libraries/externals.csproj | 12 ++++++++++++ 2 files changed, 12 insertions(+), 10 deletions(-) diff --git a/eng/liveBuilds.targets b/eng/liveBuilds.targets index be20c6f295177e..fcda36b713b240 100644 --- a/eng/liveBuilds.targets +++ b/eng/liveBuilds.targets @@ -118,16 +118,6 @@ - - - - true - - - true - - - diff --git a/src/libraries/externals.csproj b/src/libraries/externals.csproj index 7774650719390c..220766b2d3e543 100644 --- a/src/libraries/externals.csproj +++ b/src/libraries/externals.csproj @@ -75,12 +75,24 @@ DependsOnTargets="ResolveRuntimeFilesFromLocalBuild" AfterTargets="AfterResolveReferences" Condition="'$(RuntimeFlavor)' != 'Mono' and '$(TestNativeAot)' != 'true'"> + + + + + true + + + true + + + + From 01fb8c424693eb0e705ac91d43447a0f07df2e7b Mon Sep 17 00:00:00 2001 From: Andy Gocke Date: Thu, 21 Jul 2022 10:18:32 -0700 Subject: [PATCH 2/2] Add libs.pretest to installer build --- eng/pipelines/installer/jobs/base-job.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eng/pipelines/installer/jobs/base-job.yml b/eng/pipelines/installer/jobs/base-job.yml index a93fc90323ff0a..65093545cb1d81 100644 --- a/eng/pipelines/installer/jobs/base-job.yml +++ b/eng/pipelines/installer/jobs/base-job.yml @@ -220,7 +220,7 @@ jobs: - name: BuildArguments value: >- - -subset host+packs -ci + -subset host+libs.pretest+packs -ci $(BuildAction) /p:CrossBuild=${{ parameters.crossBuild }} /p:PortableBuild=$(_PortableBuild)