I’m creating a .dmg
file on a microsoft-hosted mac agent. I’ve had this same command for years on Azure Pipelines self-hosted mac agents and am now trying out the microsoft-hosted ones.
My application is in the folder ./dmgcontent
, which is about 20 MB in size and contains MyApp.app
and a link to /Applications
.
I’m creating the .dmg
with the following command:
hdiutil create "MyApp.dmg" -volname "MyApp" -fs HFS+ -srcfolder "dmgcontent"
.
The resulting .dmg file has a size of 10 GB!
I’ve never run into this problem before and have used that command on countless macs. I’ve tried removing the -fs
option, but it only went from 10GB to around 9GB (?).
Can anybody give me a hint why this could be?
Is the file system somehow different on microsoft-hosted mac agents?
Agent Version: 3.241.0
macOS
13.6.7
22G807