Skip to content

Conversation

NikolaMilosavljevic
Copy link
Member

Code that creates copies RPM packages for cm.1 and cm.2 was moved to a new target that is conditioned on PackageTargetOS property. This property is only set for DEPS packages, which we do not need to copy.

The fix is to revert the condition to build the target when property is empty/missing.

<Target Name="_BuildMarinerRpm"
AfterTargets="GenerateRpm"
Condition="'$(PackageTargetOS)' != ''">
Condition="'$(PackageTargetOS)' == ''">
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there any ordering that needs to happen between this and the next target for the new key? Both will run for one package.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There shouldn't be any ordering requirements here.

@mmitche mmitche merged commit b56341e into dotnet:release/8.0 Sep 25, 2025
7 of 11 checks passed
@NikolaMilosavljevic
Copy link
Member Author

I've pushed the same fix to pending PRs for main and release/10.0:
#16049
#16140

cc @jkoritzinsky @mmitche

@NikolaMilosavljevic NikolaMilosavljevic changed the title Fix copying of cbl-mariner packages [release/8.0] Fix copying of cbl-mariner packages Sep 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants