VirtualBox

Changeset 105374 in vbox


Ignore:
Timestamp:
Jul 17, 2024 1:27:01 PM (9 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
164027
Message:

Installer/darwin: Make sure to delete any old shadow storage for the disk image to prevent mounting the newly build disk image due to a mismatch. Logging nit. bugref:10724

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Installer/darwin/Makefile.kmk

    r105345 r105374  
    180180        sudo chown "$(shell whoami)" "$@"
    181181        sudo chown -R "$(shell whoami)" $(VBOX_PATH_PACK_TMP)/DiskImage
     182        @# Make sure to delete any old shadow storage for the disk image to prevent mounting the newly build disk image
     183        @# due to a mismatch.
     184        sudo kmk_rm -f $(VBOX_DMG_SHADOW_STORAGE)
    182185ifdef VBOX_SIGNING_MODE
    183186 ifndef VBOX_WITHOUT_SIGNED_DMG
     
    10981101        @kmk_builtin_echo "Successfully mounted within Finder."
    10991102        @kmk_builtin_echo "You may now alter the .dmg image as needed.
    1100         @kmk_builtin_echo "To save your changes, unmount via 'kmk unmount'."
     1103        @kmk_builtin_echo "To save your changes, unmount via 'kmk unmount_dmg'."
    11011104        @kmk_builtin_echo "To discard your changes, unmount directly via Finder (eject icon)."
    11021105
     
    11091112        @kmk_cp $(VBOX_PATH_DMG_MOUNTPOINT)/.DS_Store $(PATH_SUB_CURRENT)/DiskImage/DS_Store
    11101113        @sudo hdiutil detach -quiet $(VBOX_PATH_DMG_MOUNTPOINT)
     1114        @kmk_builtin_echo ""
    11111115        @kmk_builtin_echo "Files have been updated within SVN tree. Check what the changes are."
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette