[pca] trying unsuccesfully to run pca on a jumpstart finish script

Pierre-Yves.Thillier at infineon.com Pierre-Yves.Thillier at infineon.com
Thu Dec 18 11:09:32 CET 2008


Hi,

While installing solaris10 u6, in the jumpstart finish script I'm trying to run pca to install from my local proxy all the patchs taken from the latest patchdiag.xref
Here is the output of the finish script :
Executing finish script "v240-init_finish_u6"...
Downloading xref file to /a/tmp/patchdiag.xref Trying http://server.domain/cgi-bin/pca-proxy.cgi?
Failed
Trying http://sunsolve.sun.com/patchdiag.xref (1/1) Failed Failed (patchdiag.xref not found)
ERROR: Can't open xref file /a/tmp/patchdiag.xref (No such file or directory)
Finish script v240-init_finish_u6 execution completed.

Here is what I put in my finish script (previously pca had been copied to /usr/sbin and BASE had been set to /a) :
${BASE}/usr/sbin/pca --install --wget=${BASE}/usr/sfw/bin/wget \
        --root=${BASE} --patchdir=${BASE}/tmp --xrefdir=${BASE}/tmp \
        --xrefurl="http://server.domain/cgi-bin/pca-proxy.cgi" \
        --patchurl="http://server.domain/cgi-bin/pca-proxy.cgi"


Any idea why it's not running ??
Fyi, if I run exactly the same command (only one change : BASE is set to /) once the machine is up, it's been installing all the patchs as wanted (but I really would like to do it while the jumpstart process...)

Thanks in advance for your help/advices !
Best regards,
Pierre-Yves




More information about the pca mailing list