diff options
author | Robin Gareus <robin@gareus.org> | 2015-02-02 18:46:26 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2015-02-02 18:46:26 +0100 |
commit | 23622f4fba03be848ffeb80a98d340d555da7a74 (patch) | |
tree | 918bad8a9239a20305ffbc6db56f00f00ca3384e /tools | |
parent | 3e6eaa065604275497df4be67fcb0f04357514fa (diff) |
OSX packaging: fix disk-image "Resource busy"
see http://lists.apple.com/archives/darwin-dev/2008/Sep/msg00030.html
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/osx_packaging/osx_build | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/osx_packaging/osx_build b/tools/osx_packaging/osx_build index fffd70c10a..f3f235b120 100755 --- a/tools/osx_packaging/osx_build +++ b/tools/osx_packaging/osx_build @@ -646,7 +646,7 @@ trap "rm -rf $MNTPATH $TMPDMG ${TMPDMG}.dmg $ICNSTMP" EXIT hdiutil create -megabytes $DMGMEGABYTES "$TMPDMG" DiskDevice=$(hdid -nomount "$TMPDMG" | grep Apple_HFS | cut -f 1 -d ' ') newfs_hfs -v "${VOLNAME}" "${DiskDevice}" -mount -t hfs "${DiskDevice}" "${MNTPATH}" +mount -t hfs -o nobrowse "${DiskDevice}" "${MNTPATH}" cp -r ${PRODUCT_PKG_DIR}/* "${MNTPATH}" || exit mkdir "${MNTPATH}/.background" |