kc9wwh / macOSUpgrade

Workflow for doing in-place upgrades.
Other
420 stars 103 forks source link

prepare script failing for Big Sur #160

Closed staze closed 3 years ago

staze commented 3 years ago

Just grabbed latest prepare-jamf-policy.sh and pointing it at Big Sur, it goes to make the DMG, and then after a few minutes I see:

Ok, building DMG file of Install macOS Big Sur.app. Wait few minutes. cp: /Volumes/macOSInstaller/Applications/Install macOS Big Sur.app/Contents/Frameworks/OSInstallerSetup.framework/Versions/A/Frameworks/IAESD.framework/Versions/A/Frameworks/IABridgeOSInstall.framework/Versions/A/_CodeSignature/CodeResources: No space left on device cp: /Volumes/macOSInstaller/Applications/Install macOS Big Sur.app/Contents/Frameworks/OSInstallerSetup.framework/Versions/A/Frameworks/IAESD.framework/Versions/A/Frameworks/IABridgeOSInstall.framework/Versions/A/Resources/framework.sb: No space left on device cp: /Volumes/macOSInstaller/Applications/Install macOS Big Sur.app/Contents/Frameworks/OSInstallerSetup.framework/Versions/A/Frameworks/IAESD.framework/Versions/A/Frameworks/IABridgeOSInstall.framework/Versions/A/Resources/Info.plist: No space left on device cp: /Volumes/macOSInstaller/Applications/Install macOS Big Sur.app/Contents/Frameworks/OSInstallerSetup.framework/Versions/A/Frameworks/IAESD.framework/Versions/A/Frameworks/IABridgeOSInstall.framework/Versions/A/Resources/version.plist: No space left on device cp: /Volumes/macOSInstaller/Applications/Install macOS Big Sur.app/Contents/Frameworks/OSInstallerSetup.framework/Versions/A/Frameworks/IAESD.framework/Versions/A/Frameworks/IABridgeOSInstall.framework/Versions/A/Resources/BOSError.strings: No space left on device cp: /Volumes/macOSInstaller/Applications/Install macOS Big Sur.app/Contents/Frameworks/OSInstallerSetup.framework/Versions/A/Frameworks/IAESD.framework/Versions/A/Frameworks/IAMiniSoftwareUpdate.framework/Versions/A/_CodeSignature/CodeResources: No space left on device cp: /Volumes/macOSInstaller/Applications/Install macOS Big Sur.app/Contents/Frameworks/OSInstallerSetup.framework/Versions/A/Frameworks/IAESD.framework/Versions/A/Frameworks/IAMiniSoftwareUpdate.framework/Versions/A/Resources/Info.plist: No space left on device cp: /Volumes/macOSInstaller/Applications/Install macOS Big Sur.app/Contents/Frameworks/OSInstallerSetup.framework/Versions/A/Frameworks/IAESD.framework/Versions/A/Frameworks/IAMiniSoftwareUpdate.framework/Versions/A/Resources/version.plist: No space left on device cp: /Volumes/macOSInstaller/Applications/Install macOS Big Sur.app/Contents/Frameworks/OSInstallerSetup.framework/Versions/A/Frameworks/IAESD.framework/Versions/A/Frameworks/IAPackageKit.framework/Versions/A/_CodeSignature/CodeResources: No space left on device cp: /Volumes/macOSInstaller/Applications/Install macOS Big Sur.app/Contents/Frameworks/OSInstallerSetup.framework/Versions/A/Frameworks/IAESD.framework/Versions/A/Frameworks/IAPackageKit.framework/Versions/A/Resources/Info.plist: No space left on device cp: /Volumes/macOSInstaller/Applications/Install macOS Big Sur.app/Contents/Frameworks/OSInstallerSetup.framework/Versions/A/Frameworks/IAESD.framework/Versions/A/Frameworks/IAPackageKit.framework/Versions/A/Resources/version.plist: No space left on device cp: /Volumes/macOSInstaller/Applications/Install macOS Big Sur.app/Contents/Frameworks/OSInstallerSetup.framework/Versions/A/Frameworks/IAESD.framework/Versions/A/Frameworks/IAInstallerUtilities.framework/Versions/A/_CodeSignature/CodeResources: No space left on device cp: /Volumes/macOSInstaller/Applications/Install macOS Big Sur.app/Contents/Frameworks/OSInstallerSetup.framework/Versions/A/Frameworks/IAESD.framework/Versions/A/Frameworks/IAInstallerUtilities.framework/Versions/A/Resources/Info.plist: No space left on device cp: /Volumes/macOSInstaller/Applications/Install macOS Big Sur.app/Contents/Frameworks/OSInstallerSetup.framework/Versions/A/Frameworks/IAESD.framework/Versions/A/Frameworks/IAInstallerUtilities.framework/Versions/A/Resources/version.plist: No space left on device cp: /Volumes/macOSInstaller/Applications/Install macOS Big Sur.app/Contents/Info.plist: No space left on device cp: /Volumes/macOSInstaller/Applications/Install macOS Big Sur.app/Contents/PkgInfo: No space left on device cp: /Volumes/macOSInstaller/Applications/Install macOS Big Sur.app/Contents/version.plist: No space left on device nx_kernel_mount:1473: : checkpoint search: largest xid 1652, best xid 1652 @ 27 nx_kernel_mount:1473: : checkpoint search: largest xid 1652, best xid 1652 @ 27 nx_kernel_mount:1473: : checkpoint search: largest xid 1652, best xid 1652 @ 27 nx_kernel_mount:1473: : checkpoint search: largest xid 1652, best xid 1652 @ 27 nx_kernel_mount:1473: : checkpoint search: largest xid 1652, best xid 1652 @ 27 nx_kernel_mount:1473: : checkpoint search: largest xid 1652, best xid 1652 @ 27 nx_kernel_mount:1473: : checkpoint search: largest xid 1652, best xid 1652 @ 27 nx_kernel_mount:1473: : checkpoint search: largest xid 1652, best xid 1652 @ 27 nx_kernel_mount:1473: : checkpoint search: largest xid 1652, best xid 1652 @ 27

Drive isn't full on the machine, has 257GB available. It's like it's making the DMG too small.

staze commented 3 years ago

Looks like this might be an issue with running the script on a 10.14 machine... but not 100%. Will give a shot at running on 10.15 shortly.

staze commented 3 years ago

Nope. Fails in 10.15 as well. Looks like it's just making the DMG a little too small...

taniguti commented 3 years ago

Soory for inconvenience. Let me check this issue.

staze commented 3 years ago

Thanks! and no inconvenience at all! Glad I could point out the issue, and looks like you've addressed. Going to give new version a go.