Patching a Solaris 2.5.1 jumpstart.

From: Marcos Martinez Garcia (marcos.martinez@alternae.com)
Date: Fri Mar 24 2006 - 06:37:07 EST


Hi mates

Still having some problems with my client box. As related in the mail I've
sent a few days ago. I need to setup a Solaris 2.5.1 Jumpstart, and patch
that jumspart to the last recommended patches for that release.

The server who will contain the jumpstart server is a Solaris 9 box.

The setup_install_server works fine, I also have copy the
2.5.1_Recommended content to the same share point to ensure that both are
accesible from the client.

The root for Solaris 2.5.1 jumpstart server is:

/space/OS/Solaris_2.5.1

After that I'm trying to pacth the jumpstart image with the command:

patchadd -C /space/OS/Solaris_2.5.1/export/exec/kvm/sparc.Solaris_2.5.1 -M
/space/OS/Solaris_2.5.1/2.5.1_Recommended patch_order

The argument to -C
  /space/OS/Solaris_2.5.1/export/exec/kvm/sparc.Solaris_2.5.1
does not appear to be a valid Boot directory.

Usage: patchadd [-u] [-d] [-B <backout_dir>]
                    [-S <service> | -R <client_root_path>]
                    [-C <net_install_image>] <patch>

       patchadd [-u] [-d] [-B <backout_dir>]
                    [-S <service> | -R <client_root_path>]
                    [-C <net_install_image>]
                    -M patch_dir patch_id... | patch_dir patch_list

       patchadd [-S <service> | -R <client_root_path>]
                    [-C <net_install_image>] -p

Patchadd is terminating.
bash-2.05#

Also I've tried to use the installpatch instead of the patchadd command:

bash-2.05#
/space/OS/Solaris_2.5.1/2.5.1_Recommended/103461-35/installpatch
/space/OS/Solaris_2.5.1/export/exec/kvm/sparc.Solaris_2.5.1 -M
/space/OS/Solaris_2.5.1/2.5.1_Recommended patch_order

WARNING: /usr/sbin/patchadd is being used to install this patch.

Patch directory /space/OS/Solaris_2.5.1/export/exec/sparc.Solaris_2.5.1 is
not valid.
Usage: patchadd [-u] [-d] [-B <backout_dir>]
                    [-S <service> | -R <client_root_path>]
                    [-C <net_install_image>] <patch>

       patchadd [-u] [-d] [-B <backout_dir>]
                    [-S <service> | -R <client_root_path>]
                    [-C <net_install_image>]
                    -M patch_dir patch_id... | patch_dir patch_list

       patchadd [-S <service> | -R <client_root_path>]
                    [-C <net_install_image>] -p

Patchadd is terminating.
bash-2.05#

Any clues about this? How can I install the recommended patches in the
jumpstart image without copying manually each file in the patches included
in the Recommended bundle.

Thanks in advance, I'll sumarize.
    Marcos Martinez Garcia
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:39:23 EDT