I need to add a SLA to a disk image. Utilities like DropDMG can do this fine but I want to automate it on our build servers with `hdiutil`.
So far it's been nothing but pain. I can embed the XML resource just fine, but then the image is corrupted and shows no valid filesystems.
Has anyone run into this before and found a solution?
I think it isn't adding it fine if it corrupts the image. There are numerous examples on the intenet on how to do this. It looks pretty tricky.
DropDMG does have a command-line mode.