Anoop: Jumpstart already had the capabilities to add packages from a directory where you specify. You do not need add those packages to the Solaris distribution. THis had been supported since Solaris 10.
In your jumpstart profile, you can do anyone of these, nfs, http or local file systems: package SUNWadmc add nfs ins3525-svr:/export/s10/combined.s10s_wos/latest/Solaris_10/Product package test0 add nfs tbone.east:/files/test-pkgs3 package test0 add http://smpt.east/~tibbetts/test-multiple package test0 add local_device /dev/lofi/1 /pkgs ufs package test0 add local_file /opt package test0 add local_file /opt Anoop Rajendra wrote: > 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 > _______________________________________________ > install-discuss mailing list > install-discuss at opensolaris.org > http://opensolaris.org/mailman/listinfo/install-discuss -- ------------------------------------------------------------------- _/_/_/ _/ _/ _/ _/ Mary Ding _/ _/ _/ _/_/ _/ Member of Technical Staff _/_/_/ _/ _/ _/ _/ _/ UMPK17-307 _/ _/ _/ _/ _/_/ Menlo Park, CA. 94043 _/_/_/ _/_/_/ _/ _/ mary.ding at Eng.Sun.COM 650-786-8317 (phone) M I C R O S Y S T E M S --------------------------------------------------------------------
