@bentoms and other AutoCasperNBI users... I am having trouble figuring out how to solve this. Issue is when when applying a 10.11.1 image (15B42 created with autoDMG..no addl pkgs) and utilizing v1.3.0 of AutoCasperNBI. The process seems to kick off fine, runs for a while and write a fair amount of data ... but then after a while, the process halts with "Error: Generating Kernel cache"
I have looked through the logs...(snippet below)
Mon Nov 9 19:00:05 PST 2015 Language Code is: en
Mon Nov 9 19:00:05 PST 2015 Trying to set NetBoot's OS Language
Mon Nov 9 19:00:05 PST 2015 NetBoot's OS Language set
Mon Nov 9 19:00:05 PST 2015 Trying to get input layout id for: U.S.
Mon Nov 9 19:00:05 PST 2015 Keyboard Layout ID set to 0
Mon Nov 9 19:00:05 PST 2015 Trying to set NetBoot's Input Language
Mon Nov 9 19:00:06 PST 2015 NetBoot's Input Language set
Mon Nov 9 19:00:06 PST 2015 Trying to disable Spotlight on /Volumes/2016-Q1_10111_981 1
Mon Nov 9 19:00:06 PST 2015 Disabled Spotlight on /Volumes/2016-Q1_10111_981 1
Mon Nov 9 19:00:06 PST 2015 Creating dyld shared cache files on: /Volumes/2016-Q1_10111_981 1
Mon Nov 9 19:01:37 PST 2015 Successfully created dyld caches
Mon Nov 9 19:01:38 PST 2015 Trying to create folder /Library/NetBoot/NetBootSP0/2016-Q1_10111_981.nbi/i386/x86_64
Mon Nov 9 19:01:39 PST 2015 Created folder /Library/NetBoot/NetBootSP0/2016-Q1_10111_981.nbi/i386/x86_64
Mon Nov 9 19:01:40 PST 2015 Touching /Volumes/2016-Q1_10111_981 1/System/Library/Extensions/
Mon Nov 9 19:01:40 PST 2015 Touched /Volumes/2016-Q1_10111_981 1/System/Library/Extensions/
Mon Nov 9 19:01:40 PST 2015 Updating kernel cache on: /Volumes/2016-Q1_10111_981 1
Mon Nov 9 19:02:30 PST 2015 Updated kernel cache on: /Volumes/2016-Q1_10111_981 1
Mon Nov 9 19:02:30 PST 2015 Generating kernel cache
Mon Nov 9 19:02:34 PST 2015 Generated kernel cache on: /Volumes/2016-Q1_10111_981 1
Mon Nov 9 19:02:35 PST 2015 Copying updated kernel cache to: /Volumes/2016-Q1_10111_981 1/System/Library/Caches/com.apple.kext.caches/Startup/kernelcache
Mon Nov 9 19:02:35 PST 2015 Error: Generating kernel cache
...I see the error, but I am not sure for what reason that the kernelcache kext couldn't be used/written. The NBI directory that is written is 10.26GB in size so there is certainly a payload. I am looking through the code:
https://github.com/macmule/AutoCasperNBI/blob/master/AutoCasperNBI/AutoCasperNBIAppDelegate.applescript
but I am not understanding where the problem is. This is the area of the code I was trying to look through, but I'm not exactly sure what I am looking for.
-- Generate the Kernel cache
on generateKernelCache_(sender)
try
---- MAKE x86_64 FOLDER ----
-- Update Build Process Window's Text Field
set my buildProcessTextField to "Creating x84_64 folder"
delay 0.1
-- Update build Process ProgressBar
set my buildProcessProgressBar to buildProcessProgressBar + 1
...
Anyone have any ideas or able to help me decipher what I'm looking at? I appreciate the help in advance!