Skip to content
Snippets Groups Projects
  • Nat Goodspeed's avatar
    c2b1bf6a
    Unmount Mac .sparseimage in case of errors while mounted. · c2b1bf6a
    Nat Goodspeed authored
    DarwinManifest.package_finish() creates and mounts a .sparseimage file,
    populating it with the desired package contents before creating a .dmg from
    it. However, errors while it's mounted would formerly bypass the 'hdiutil
    detach' command that unmounts it, leaving the host in a confused state that
    seemed to prevent subsequent retry attempts from succeeding.
    Also add code to try to diagnose/bypass mysterious SetFile -a V filename
    errors, so far without much luck.
    c2b1bf6a
    History
    Unmount Mac .sparseimage in case of errors while mounted.
    Nat Goodspeed authored
    DarwinManifest.package_finish() creates and mounts a .sparseimage file,
    populating it with the desired package contents before creating a .dmg from
    it. However, errors while it's mounted would formerly bypass the 'hdiutil
    detach' command that unmounts it, leaving the host in a confused state that
    seemed to prevent subsequent retry attempts from succeeding.
    Also add code to try to diagnose/bypass mysterious SetFile -a V filename
    errors, so far without much luck.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.