Skip to content
This repository has been archived by the owner on Nov 10, 2019. It is now read-only.

10.11: Deleting dockfixup error #58

Closed
macmule opened this issue Sep 13, 2015 · 9 comments
Closed

10.11: Deleting dockfixup error #58

macmule opened this issue Sep 13, 2015 · 9 comments
Assignees
Labels
Milestone

Comments

@macmule
Copy link
Owner

macmule commented Sep 13, 2015

No description provided.

@macmule macmule added the bug label Sep 13, 2015
@macmule macmule added this to the 1.2.2 milestone Sep 13, 2015
@macmule macmule self-assigned this Sep 13, 2015
@macmule
Copy link
Owner Author

macmule commented Sep 13, 2015

Issue with logic looking for 10.10 & doing actions.. should look for OS which is greater than 10.9

@macmule macmule modified the milestones: 1.3, 1.2.2 Sep 13, 2015
@macmule
Copy link
Owner Author

macmule commented Sep 13, 2015

Fixed in 1.3

@quedayone
Copy link

Awesome!

@zvordauk
Copy link

zvordauk commented Oct 6, 2015

Recreated this today. Log files below

Mon Oct 5 13:08:18 IST 2015 Successfully created NetBoot.sparseimage in '/Volumes/JetDrive/nbi v2/10.11 AutoCasperNBI.nbi'
Mon Oct 5 13:08:19 IST 2015 Trying to mount: '/Volumes/JetDrive/nbi v2/10.11 AutoCasperNBI.nbi'
Mon Oct 5 13:08:20 IST 2015 Mounted to: /Volumes/10.11 AutoCasperNBI 1
Mon Oct 5 13:08:20 IST 2015 Copying contents of '/Volumes/Macintosh HD 1' to '/Volumes/JetDrive/nbi v2/10.11 AutoCasperNBI.nbi'/NetBoot.sparseimage
Mon Oct 5 13:30:29 IST 2015 Successfully copied '/Volumes/JetDrive/ElCap-AutoDMG.dmg' to '/Volumes/JetDrive/nbi v2/10.11 AutoCasperNBI.nbi'/NetBoot.sparseimage
Mon Oct 5 13:30:29 IST 2015 NetBoot reduction not enabled. Skipping...
Mon Oct 5 13:30:29 IST 2015 Deleting /Volumes/10.11 AutoCasperNBI 1/private/var/vm/swapfile*
Mon Oct 5 13:30:30 IST 2015 Deleted swapfiles in /Volumes/10.11 AutoCasperNBI 1/private/var/vm/
Mon Oct 5 13:30:31 IST 2015 Deleting /Volumes/10.11 AutoCasperNBI 1/private/var/vm/sleepimage
Mon Oct 5 13:30:31 IST 2015 Deleted sleepimage in /Volumes/10.11 AutoCasperNBI 1/private/var/vm/
Mon Oct 5 13:30:31 IST 2015 Emptying /Volumes/10.11 AutoCasperNBI 1/private/tmp/*
Mon Oct 5 13:30:31 IST 2015 Emptied /Volumes/10.11 AutoCasperNBI 1/private/tmp/
Mon Oct 5 13:30:31 IST 2015 Emptying /Volumes/10.11 AutoCasperNBI 1/private/var/tmp/*
Mon Oct 5 13:30:31 IST 2015 Emptied /Volumes/10.11 AutoCasperNBI 1/private/var/tmp/
Mon Oct 5 13:30:31 IST 2015 Emptying /Volumes/10.11 AutoCasperNBI 1/Volumes/
Mon Oct 5 13:30:32 IST 2015 Emptied /Volumes/10.11 AutoCasperNBI 1/Volumes/
Mon Oct 5 13:30:32 IST 2015 Emptying /Volumes/10.11 AutoCasperNBI 1/dev/
Mon Oct 5 13:30:32 IST 2015 Emptied /Volumes/10.11 AutoCasperNBI 1/dev/
Mon Oct 5 13:30:32 IST 2015 Emptying /Volumes/10.11 AutoCasperNBI 1/var/run/
Mon Oct 5 13:30:32 IST 2015 Emptied /Volumes/10.11 AutoCasperNBI 1/var/run/
Mon Oct 5 13:30:32 IST 2015 Deleting /Volumes/10.11 AutoCasperNBI 1/System/Library/CoreServices/Software Update.app
Mon Oct 5 13:30:33 IST 2015 Deleted /Volumes/10.11 AutoCasperNBI 1/System/Library/CoreServices/Software Update.app
Mon Oct 5 13:30:33 IST 2015 Deleting /Volumes/10.11 AutoCasperNBI 1/System/Library/LaunchDaemons/com.apple.softwareupdate*
Mon Oct 5 13:30:33 IST 2015 Deleted /Volumes/10.11 AutoCasperNBI 1/System/Library/LaunchDaemons/com.apple.softwareupdate*
Mon Oct 5 13:30:33 IST 2015 Deleting /Volumes/10.11 AutoCasperNBI 1/Library/Preferences/SystemConfiguration/preferences.plist
Mon Oct 5 13:30:33 IST 2015 Deleted /Volumes/10.11 AutoCasperNBI 1/Library/Preferences/SystemConfiguration/preferences.plist
Mon Oct 5 13:30:33 IST 2015 Deleting /Volumes/10.11 AutoCasperNBI 1/Library/Preferences/SystemConfiguration/NetworkInterfaces.plist
Mon Oct 5 13:30:33 IST 2015 Deleted /Volumes/10.11 AutoCasperNBI 1/Library/Preferences/SystemConfiguration/NetworkInterfaces.plist
Mon Oct 5 13:30:34 IST 2015 .AppleSetupDone written to /Volumes/10.11 AutoCasperNBI 1/var/db/.AppleSetupDone
Mon Oct 5 13:30:34 IST 2015 .SetupRegComplete written to /Volumes/10.11 AutoCasperNBI 1/Library/Receipts/.SetupRegComplete
Mon Oct 5 13:30:34 IST 2015 Deleting '/Volumes/10.11 AutoCasperNBI 1'/System/Library/CoreServices/Setup Assistant.app
Mon Oct 5 13:30:38 IST 2015 Deleted '/Volumes/10.11 AutoCasperNBI 1'/System/Library/CoreServices/Setup Assistant.app
Mon Oct 5 13:30:38 IST 2015 Disk Utility's Debug Menu enabled
Mon Oct 5 13:30:40 IST 2015 com.apple.TimeMachine.plist amended at /Volumes/10.11 AutoCasperNBI 1/Library/Preferences/com.apple.TimeMachine.plist
Mon Oct 5 13:30:40 IST 2015 Deleting /Volumes/10.11 AutoCasperNBI 1/Library/Preferences/com.apple.dockfixup.plist
Mon Oct 5 13:30:41 IST 2015 Error: Deleting /Library/Preferences/com.apple.dockfixup.plist

^^^ Dies here.

@ThomasHolbrook
Copy link

Hi,

"/System/Library/CoreServices/Dock.app/Contents/Resources/com.apple.dockfixup.plist" doesn't seem to exist in our case.

We have wrapped it in a try for now to work around the issue at line 2869.

            try

            do shell script "/bin/rm " & quoted form of netBootDmgMountPath & "/System/Library/CoreServices/Dock.app/Contents/Resources/com.apple.dockfixup.plist" user name adminUserName password adminUsersPassword with administrator privileges
            --Log Action

            end try

Thanks,

Tom

@macmule
Copy link
Owner Author

macmule commented Oct 8, 2015

Hi Thomas,

Was this with the latest commit?

Regards,

Ben.

On 8 Oct 2015, at 12:16, Thomas Holbrook notifications@github.com wrote:

Hi,

"/System/Library/CoreServices/Dock.app/Contents/Resources/com.apple.dockfixup.plist" doesn't seem to exist in our case.

We have wrapped it in a try for now to work around the issue:

        try

        do shell script "/bin/rm " & quoted form of netBootDmgMountPath & "/System/Library/CoreServices/Dock.app/Contents/Resources/com.apple.dockfixup.plist" user name adminUserName password adminUsersPassword with administrator privileges
        --Log Action

        end try

Thanks,

Tom


Reply to this email directly or view it on GitHub.

@ThomasHolbrook
Copy link

I pulled it down maybe 30 minutes before so it should be? Have i missed something stupid?

@macmule
Copy link
Owner Author

macmule commented Oct 8, 2015

Might be me then.

I may be able to work in something tonight, I have an idea about the other issues.

Regards,

Ben.

On 8 Oct 2015, at 12:32, Thomas Holbrook notifications@github.com wrote:

I pulled it down maybe 30 minutes before so it should be? Have i missed something stupid?


Reply to this email directly or view it on GitHub.

@ThomasHolbrook
Copy link

Cool, look forward to them!

I just checked and the info says:

<key>CFBundleShortVersionString</key>
<string>1.3.0</string>

Cheers,

Tom

# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
Projects
None yet
Development

No branches or pull requests

4 participants