Hi all.

On my jumpstart server I have a directory called
/export/jumpstart/install. I have put the entire Solaris distribution
into this directory using the setup_install_server script. Now I want
to add my own packages to this install directory and install those new
packages on my client machines.

For example
Let's say I create a software package called MYPKGsome_pkg. I add
this to the installation directory by using pkgadd command like this

# pkgadd -s /export/jumpstart/install/Solaris_10/Product/ -d <PKGDIR>
MYPKGsome_pkg

The package gets copied into  /export/jumpstart/install/Solaris_10/Product/.

Next I modify my profile file to include the line

package  MYPKGsome_pkg  add

However, when I try to jumpstart my client machine I get an error stating

WARNING: Unknown package ignored (MYPKGsome_pkg)

I dug into this a little deeper, and came up with a hint. The
directory /export/jumpstart/install/Solaris_10/Product contains a file
called .packagetoc . This file contains a list of all packages that
can be installed.

(Is my understanding correct so far?)

I don't want to use the finish scripts to run kludgy commands to
install the package after the installation has finished.

What I need to know is whether there are any utilities that'd allow me
to add packages to this .packagetoc file automatically or atleast
programmatically.

Please let me know.

Thanks,
-anoop

Reply via email to