…….
Extracted 2462.00 MB ( 99% of 2466.70 MB archive)
Extracted 2463.00 MB ( 99% of 2466.70 MB archive)
Extracted 2464.00 MB ( 99% of 2466.70 MB archive)
Extracted 2465.00 MB ( 99% of 2466.70 MB archive)
Extracted 2466.00 MB ( 99% of 2466.70 MB archive)
Extracted 2466.70 MB (100% of 2466.70 MB archive)
Extraction complete
Postdeployment processing
No local customization defined
sh: ./cc-client_cleanup: not found
ERROR: Error while processing custom script - cd /tmp/flash_tmp/postdeployment;./cc-client_cleanup
rm: Cannot remove any directory in the path of the current working directory
/tmp/flash_tmp/postcreation
ERROR: Postdeployment processing failure
ERROR: Flash installation failed
Solaris installation program exited.
Bahh ….
Initially I did some googling and round a possibly related bug 6460977 that is supposed to be resolved by patch 124171. My flash archive was at revision -03, and I patched up to the current -06 but it still did not resolve my issues.
I next attempted to replace the symlink in /etc/flash/postdeployment/cc-client_cleanup with the actual script located at /usr/lib/cc-cfw/framework/lib/client_cleanup. Then creating a new flash archive. This worked according to a few forum users http://forum.java.sun.com/thread.jspa?threadID=5131857
This however still had dependencies to other scripts in /usr/lib/cc-cfw.
Ok, so at the risk of screwing with the actuall jumpstart boot filesystem, I rsync /usr/lib/cc-cfw over to the appropriate place on the Boot file system on the jumpstart server. NO..no.. That would be too easy now we have dependencies in /usr/lib/cc-ccr.
Ok, so finally I run the cc-client_cleanup while chrooted in the /a file system. YEAH it runs, but ..hmm what other scripts are not being executed after the flash extraction? Trying to boot the system off the disk just complains
{3} ok boot disk
Boot device: /pci@8,600000/SUNW,qlc@2/fp@0,0/disk@0,0 File and args:
The file just loaded does not appear to be executable.