-
Notifications
You must be signed in to change notification settings - Fork 447
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add x64 emulation support to pkg installers #11813
Add x64 emulation support to pkg installers #11813
Conversation
Test run to generate assets (see Artifacts/BlobArtifacts/*.pkg): https://dev.azure.com/dnceng/internal/_build/results?buildId=1335379&view=results Installers are being generated and installing to correct locations but when both arm64 and x64 are installed the hostFXR files only show up in the most recent installation (that is, if x64 is installed last then these files are not present in the main dotnet dir, but they are in the dotnet/x64 dir), I'm investigating if this is a result of something special in the hostfxr pkg generation or something else. Edit: The files that are being removed are coming from packages com.microsoft.dotnet.hostfxr.6.0.0-rc.2.21451.3.component.osx.x64.pkg and com.microsoft.dotnet.sharedhost.6.0.0-rc.2.21451.3.component.osx.x64.pkg. I haven't found anything in these 2 packages' PackageInfo files or payloads that differ from the other 4 that are installing correctly. |
Does ARM64 and X64 use the same package identifier for host? That would cause it. My understanding of the way that MacOS identifies "upgrades" is by comparing the package identifier. If there is already a receipt on the machine for that same identifer, then it will look at the files installed by the new package to see if they are the same as the old, for any files missing from the new one it will remove them. I can't find the docs I read about this at the moment, but sharing in case that gives a clue. You should also be able to see this happening in the installer log. When you install the bundle, open the installer log (Windows > Installer Log) and change the view to show all logged entries. |
I think you're right, it does have something to do with pkg ids. When I check what pkgs were installed, I get the following: After installing arm64:
After installing x64 (on the same machine):
Note that the pkg generated by dotnet/installer is the only one that has the correct I've confirmed that replacing the |
Nice find! |
src/redist/targets/packaging/osx/clisdk/Distribution-Template-x64
Outdated
Show resolved
Hide resolved
src/redist/targets/packaging/osx/clisdk/Distribution-Template-x64
Outdated
Show resolved
Hide resolved
0f02347
to
e8ec98a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should file an issue to remove duplication here and leverage the arcade task
Co-authored-by: Eric StJohn <[email protected]>
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
@sfoslund @marcpopMSFT -- what tracks getting this change into |
It isn't automatic, we do manual merges periodically. I was planning on merging rc2 into GA and main branches later this week once tell mode had passed, but if you need me to do it before then let me know |
Later this week should be fine. Right now everyone needs to be testing the RC2 builds so I think it's just about messaging to folks where to get the latest bits. |
No description provided.