Operating System - HP-UX
1827791 Members
2705 Online
109969 Solutions
New Discussion

How can I create one big software bundle ?

 
reis
Advisor

How can I create one big software bundle ?

Hello,
can anybody tell me, how I can create one big software bundle with about 70 small depot files with patches and software?
With "swinstall -s" I was only able to install one depot file. It would be great, if I could see all depot files with swinstall and I have only to mark each I want to install.
profil
4 REPLIES 4
Steven E. Protter
Exalted Contributor

Re: How can I create one big software bundle ?


for i in PH*
do
sh $i
done

for i in *.depot
do
swcopy -s ${PWD}/$i \* @ ${1}
done


Just put the softare in depots all in once place and run this script.

Take out the PH* and use * if you want to include software depots as well.

SEP
http://www.isnamerica.com/contactsep.shtml
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Robert-Jan Goossens
Honored Contributor

Re: How can I create one big software bundle ?

Hi,

download the patches to a temp dir.

# cd /tmp/patches
for i in PH*
do
swcopy -s /tmp/patches/$i \* @ /mydir/mypatches.depot
done

# swreg /mydir/mypatches.depot

Regards,
Robert-Jan
Pete Randall
Outstanding Contributor

Re: How can I create one big software bundle ?

If they're already in depot form, swcopy them all together, or use swpackage to make them into depots and then swcopy them.


Pete

Pete
D Block 2
Respected Contributor

Re: How can I create one big software bundle ?

Walter,
have you look at the SD-UX Doc:
http://docs.hp.com/en/B2355-90740/index.html

you might want to download the pdf doc.
Golf is a Good Walk Spoiled, Mark Twain.