1834419 Members
1881 Online
110067 Solutions
New Discussion

Re: create a bundle

 
SOLVED
Go to solution
Charles THISE
Occasional Advisor

create a bundle

Hi,

How i can create a bundle since some patches files (PHKE, ...)
My goal is to install in one shot instead of one after one...

In advance, i thank you.

Charles.
7 REPLIES 7
Printaporn_1
Esteemed Contributor

Re: create a bundle


1. extract patch
#sh PHKL_xxxxx
2. make depot directory.
mkdir /tmp/depot
3. use swcopy GUI
#swcopy

destination is /tmp/depot
source is PHKL_xxxxx.depot
repeat with every patch , use same destination
/tmp/depot

---------
/tmp/depot will be depot for patches you can install at one time.
enjoy any little thing in my life
Alex Glennie
Honored Contributor
Solution

Re: create a bundle

John Waller
Esteemed Contributor

Re: create a bundle

As per previous reply , you use swcopy to create your depot. It's probably easier to use the user interface than trying to do it all from the cammand line. Just type swcopy and follow the instructions for selecting the target and source. If you then need to put this on to a tape, then you need to use swpackage. The following command works well:

swpackage -s /tmp/depot -x target_type=tape -x target_tape=/dev/rmt/0m.

The target_tape is only needed if you have more than one tape drive.

Have fun.
Ravi_8
Honored Contributor

Re: create a bundle


Hi,
store all the downloaded patches(.txt) in one directory say /tmp
#cd /tmp
#for i in *.txt
do
sh *.txt
done

This will create .depot for all the patches.
#mkdir /tmp/patch_depot
for i in '/tmp/*.depot'
do
swcopy -s /tmp/{$i} @ /tmp/patch_depot
done
#swreg -l depot /tmp/patch_depot
#swinstall -s /tmp/patch_depot

all the patches will be installed.
never give up
Praveen Bezawada
Respected Contributor

Re: create a bundle

Hi
extract all the depots to a temp directory.
create a depot directory
mkdir /tmp/depot
swcopy all the depot from the temp directory to the depot directory
swcopy -s /temp @ /tmp/depot
swreg the depot as
swreg -l depot /tmp/depot
this will create a directory depot for you, to install use
swinstall -s /tmp/depot
But if you want to create tape depot that is useful to put onto a CD or tape , create a bundle using a psf file
swpackage -x media_type=tape -s bundle.psf @ /destiation
this will create a single .depot file.
Hope this helps.

...BPK...
Praveen Bezawada
Respected Contributor

Re: create a bundle

Hi
extract all the depots to a temp directory.
create a depot directory
mkdir /tmp/depot
swcopy all the depot from the temp directory to the depot directory
swcopy -s /temp @ /tmp/depot
swreg the depot as
swreg -l depot /tmp/depot
this will create a directory depot for you, to install use
swinstall -s /tmp/depot
But if you want to create tape depot that is useful to put onto a CD or tape , create a bundle using a psf file
swpackage -x media_type=tape -s bundle.psf @ /destiation
this will create a single .depot file.
Hope this helps.

...BPK...
Wodisch
Honored Contributor

Re: create a bundle

Hello Charles,

get "Ignite/UX" installed, and use the tool "make-bundle" from it.

HTH,
Wodisch