Operating System - HP-UX
1753797 Members
7288 Online
108799 Solutions
New Discussion юеВ

Create bundle from .depot files

 
SOLVED
Go to solution
Laszlo Csizmadia
Frequent Advisor

Create bundle from .depot files

Which is the quickes and most simple way to create a bundle from my several SD depot file?
Well, I guess I can somehow untar the depot files, create an appropiate PSF file then swpackage. But is there a more efficent way?

Thanks in advance.
6 REPLIES 6
Sanjay Kumar Suri
Honored Contributor

Re: Create bundle from .depot files

Check this thread

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=121801

sks

A rigid mind is very sure, but often wrong. A flexible mind is generally unsure, but often right.
Shaikh Imran
Honored Contributor

Re: Create bundle from .depot files

Hi,
Please try swcopy and make a central bundle.
Then use swinstall and either select all or one-by-one,and install it.

Regards
I'll sleep when i am dead.
Sunil Sharma_1
Honored Contributor

Re: Create bundle from .depot files

You can use swcopy to make bundle from depot files.
If you want to install several patches and want to make bundle of themthen you can use script whihc come with patch bundle when you download them.

Sunil
*** Dream as if you'll live forever. Live as if you'll die today ***
Laszlo Csizmadia
Frequent Advisor

Re: Create bundle from .depot files

But I want to put all the sofwares in DS format (.depot file) to a single bundle. Then swcopy this bundle to e.g. /var/spool/sw.
This only makes a new target depot containg all me sw's but doesn't put them to a common bundle:
# mkdir /tmp/depot
# ls -1 | xargs -i -t swcopy -x enforce_dependencies=false -s /home/ba/depot/{} \* @/tmp/depot
# swreg -l depot /tmp/depot
Fabio Ettore
Honored Contributor

Re: Create bundle from .depot files

Hi,

I am not sure to understand very well your need; anyway the following could be useful:

http://www.software.hp.com/products/SD_AT_HP/docs/cookbook.html

Best regards,
Ettore
WISH? IMPROVEMENT!
Juergen Tappe
Valued Contributor
Solution

Re: Create bundle from .depot files

Hi,

If you have Ignite available you can do it that way:

1. ensure, that a temporary depot i.e./tmp/depot is empty i.e. using swremove -d

2. Copy the depot source files into the temp depot. here a non interactiv expample:
#swcopy -s /swdepot/source/sudo-1.6.6.sd-11.00.depot -x enforce_dependencies=false \* @ /tmp/depot
... and other swcopy's as required for the same future bundle

3. Make ONE bundle outof all these products/bundles i.e.:
#make_bundles -B -n "local-sudo" -t "Your Title" -r "Your Version" /tmp/depot

4. finally swcopy from /tmp/depot to your final location.
Dont forget to set the enforce_dependencies=false option.

hope this helps
Juergen
Working together