Creating a depot file from other depots (532 Views)
Reply
Visitor
thasan
Posts: 2
Registered: ‎09-09-2011
Message 1 of 6 (532 Views)

Creating a depot file from other depots

I have downloaded 3 bundles and another odd patch, and was wondering if it was possible to creating one big depot file and apply it one big hit.

 

The files in my tar ball are:

 

patch_manifest

README_hp-ux

create_depot_hpux.11.31

Phkl_41697

Phco_42262

Phkl_42261

FEATURE11i_B.11.31.1103.361b.depot

QPK1131_B.11.31.1103.361.depot

HWEnable11i_B.11.31.1103.361a.depot

Phss_41902

 

Thanks

 

Tariq

 

Please use plain text.
Acclaimed Contributor
Torsten.
Posts: 23,261
Registered: ‎10-02-2001
Message 2 of 6 (528 Views)

Re: Creating a depot file from other depots

Use swcopy to copy everything into a single depot.


Hope this helps!
Regards
Torsten.

__________________________________________________

There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________

No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! star in the left column!   
Please use plain text.
Acclaimed Contributor
James R. Ferguson
Posts: 21,184
Registered: ‎07-06-2000
Message 3 of 6 (522 Views)

Re: Creating a depot file from other depots

Hi:

 

When you use 'swcopy' to merge patches and patch bundles into a single depot, use the '-x enforce_dependencies=false' option.  This skips the enforcement of any dependency requirements.  That is, if any patch being copied lacks a dependency, then the 'swcopy' will fail.

 

This is perfectly acceptable and makes depot creation much easier.  The idea is that when you actually 'swinstall' the depot, you *do* enforce dependency resolution ('-x enforce_dependencies=true).  Then, a dependency can be satisfied if it is either in the depot being installed, *or* already installed on the server.

 

Regards!

 

...JRF...

Please use plain text.
Acclaimed Contributor
Dennis Handly
Posts: 25,001
Registered: ‎03-06-2006
Message 4 of 6 (519 Views)

Re: Creating a depot file from other depots

>if it was possible to creating one big depot file 

 

If you look at create_depot_hpux.11.31, it will already do that with the 4 patches you have.

I suppose if you modify patch_manifest, you can get it to do all of them.

Please use plain text.
Visitor
thasan
Posts: 2
Registered: ‎09-09-2011
Message 5 of 6 (516 Views)

Re: Creating a depot file from other depots

Here's my patch minifest file:

 

server ftp.itrc.hp.com
user 83c4ce457e213539ad23c6364de97281
patch hp-ux_patches/11.X/PHCO_42262 27623753
patch hp-ux_patches/11.X/PHKL_41967 113048
patch patch_bundles/hp-ux/SPECIAL/FEATURE11i_B.11.31.1103.361b.depot 147609600
patch superseded_patches/hp-ux_patches/11.X/PHKL_42261 13239845
patch patch_bundles/hp-ux/HWE/HWEnable11i_B.11.31.1103.361a.depot 128307200
patch patch_bundles/hp-ux/QUALITYPACK/QPK1131_B.11.31.1103.361.depot 1023928320
patch superseded_patches/hp-ux_patches/11.X/PHSS_41902 103851058

Please use plain text.
Acclaimed Contributor
Dennis Handly
Posts: 25,001
Registered: ‎03-06-2006
Message 6 of 6 (514 Views)

Re: Creating a depot file from other depots

>Here's my patch manifest file

 

It looks like the shopping cart did the right thing.  You are good to go with create_depot_hpux.11.31.

 

(You might want to edit your reply and "*" out your user ID number.)

Please use plain text.
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation