Changeset 57337 in vbox for trunk/src/VBox/Installer/darwin
- Timestamp:
- Aug 13, 2015 11:04:14 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Installer/darwin/Makefile.kmk
r57248 r57337 151 151 @# Change the owners. 152 152 sudo chown -R root:admin $(VBOX_PATH_PACK_TMP)/DiskImage 153 @# Create the image. 154 sudo hdiutil create -format UDBZ -volname "VirtualBox" -srcfolder "$(VBOX_PATH_PACK_TMP)/DiskImage" "$@" 153 @# Create the image. We calculate the size our selves, adding 8MB for fudging (it's about 100-120MB atm). 154 sudo hdiutil create -format UDBZ -volname "VirtualBox" -srcfolder "$(VBOX_PATH_PACK_TMP)/DiskImage" \ 155 -size $(DOLLAR)((`/usr/bin/du -d 0 -k "$(VBOX_PATH_PACK_TMP)/DiskImage/" | /usr/bin/cut -f1` + 8192))k \ 156 "$@" 155 157 @# Change (back) the owner so it can be deleted by the user. 156 158 sudo chown "$(shell whoami)" "$@"
Note:
See TracChangeset
for help on using the changeset viewer.