]> gitweb.unchartedbackwaters.co.uk Git - francis/winuae.git/commit
package: detach stale WinUAE DMG mounts
authorStefan Reinauer <stefan.reinauer@coreboot.org>
Sun, 21 Jun 2026 18:35:56 +0000 (11:35 -0700)
committerStefan Reinauer <stefan.reinauer@coreboot.org>
Tue, 7 Jul 2026 21:00:11 +0000 (14:00 -0700)
commit49889a1ed6abed6c8f2097e45e554f66efc57896
treea981ffd3ffce0b96b4f6fe307d3acceb3cb2956b
parent0db0b39c42ef9d4b30851b4096efdd771103ebcf
package: detach stale WinUAE DMG mounts

A previous failed or interrupted packaging run can leave /Volumes/WinUAE

mounted and make the next hdiutil attach pick a different mount point.

Detect that case, detach the old image mount, and fail if the path

belongs to something other than a disk image.
tools/macos-dmg.sh