Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,18 @@ public string GetRidsFromPackage(Package package)
{
if (item.AssetType == AssetType.RuntimeAsset)
{
if (!rids.Contains(item.Rid + "-x64"))
rids.Add(item.Rid + "-x64");
string testRid = item.Rid;
if (testRid == "unix")
{
testRid = "ubuntu";
Comment thread
Anipik marked this conversation as resolved.
Outdated
}
else if (testRid == "freebsd")
{
testRid = "debian";

@ericstj ericstj Mar 10, 2021

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

What made you choose debian here? https://github.com/dotnet/runtime/blob/3eddf4a06b0755747f8e8d659264694eef1f31ee/src/libraries/Microsoft.NETCore.Platforms/pkg/runtimeGroups.props#L59-L60

I'm a bit surprised we have any packages shipping freebsd assets, I thought freebsd was just a community driven source-build project.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

cc: @wfurt regarding packages shipping freebsd assets.

}
string testArch = "-x64";
if (!rids.Contains(testRid + testArch))
rids.Add(testRid + testArch);
}
}
return string.Join(";", rids);
Expand Down