On hcwe8l, run as USER (not-root) :

TARGET=Upgrade-Client-Host-Name-Here

OSREL=`uname -r | sed 's/^5\./2./'`

cd /data/jumpstart/media/${OSREL}/cd/Solaris_${OSREL}/Product

find `cat /data/jumpstart/config/Profiles/PKGmaps/prog-user.diff` -print | cpio -oc | ssh $TARGET "mkdir /tmp/Upgrade ; cd /tmp/Upgrade && cpio -icd"

su to root on the target machine, and run there:

cd /tmp/Upgrade

while true ; do sleep 1 ; echo y ; done | pkgadd -d `pwd` SUNW*