Operating System - HP-UX
1833760 Members
2507 Online
110063 Solutions
New Discussion

How to put several products into one bundle in SD depots?

 
SOLVED
Go to solution
Maxpert IT Service Cent
Occasional Advisor

How to put several products into one bundle in SD depots?

Hi,
I wish to know how I can manipulate SD depots.

In expample for SSH I need to install
openssh, openssl and zlib.

I now wish to create a bundle containing these 3 products without adding a new depot.

The result should be a depot containing several bundles with all required product for each and not (as it is with standard swcopy) a huge list of non-bundles products and admins need to know which products are required to run the required "application".
4 REPLIES 4
Geoff Wild
Honored Contributor

Re: How to put several products into one bundle in SD depots?

What about trying David C. Snyder's psf.pl generator?

Create a Product Specification File. The HP Manual, Managing HP-UX Software With SD-UX has lots of information on this in Chapter 10. Although there are many fields that you can include, only a few are required. I have a Perl script called "psf" which generates a minimum .psf file given that you follow a few simple rules:

Put all of the files that you want to include under one directory.
Name the directory using the following format: name-major.minor. For example, sed-2.05 or gcc-2.7.2.3.
Run the script from the parent of this directory and give it only a simple directory name(s). For example:

psf sed-2.05 gcc-2.7.2.3 > stuff.psf
If you give it an absolute path name, you will have to manually edit the resulting .psf file to fix the directory mappings.

This script assumes that you want everything to be installed into /usr/local. If you want to change that, you'll have to edit my psf script. It would be easy to make the destination directory a command line argument, but I haven't done so because thus far I'm the only one who uses psf. Just search for "=/usr/local" and change that to whatever you like, "/usr/share/sysadm" for example.


Also, check out this cookbook:

http://aa11.cjb.net/hpux_admin/1999/0024.html

And CREATING YOUR OWN SD-UX DEPOTS :

http://www.hpworks.org.uk/newsletter/articles/depots/


Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Bharat Katkar
Honored Contributor
Solution

Re: How to put several products into one bundle in SD depots?

I assume you have Ignite UX installed on your server. You can create bundle as follows and add required depots files to that bundle.

1) create one directory, say mydir
2) Use swcopy to copy depots files to mydir
3) Use following command:
#make_bundle -B -n

In this way you can keep adding depots file to Bundle and Bundle to depot which can reside at mydir.
You need to know a lot to actually know how little you know
G. Vrijhoeven
Honored Contributor

Re: How to put several products into one bundle in SD depots?

Hi,

If you alter the products mentioned in this scrit. this is all you need te create a depot.

PS. This script is supplied if you download multiple patches, to create your own patch bundle.

HTH,

Gideon
Maxpert IT Service Cent
Occasional Advisor

Re: How to put several products into one bundle in SD depots?

Brarats proposol worked fine and quickly.
A good tip, thx.