1829348 Members
1930 Online
109991 Solutions
New Discussion

Re: How to create Depot?

 
Hill_1
Frequent Contributor

How to create Depot?

hi people,
I'm not sure about how to create the directory depot. In fact, I would like to put some 3rd parties software in the same depot. Let's say I put all the software into the same directory--- /var/sw/depot, will it be considered I've created the depot?
Thanks in advanced.

Unix
5 REPLIES 5
eran maor
Honored Contributor

Re: How to create Depot?

Hi


put all the software in one dir , if you want also HP products you can use the command :
swcopy -s /source and copy it to the dir .

after that you need to use the command swpackage with this params .

swpackage -s /var/sw/depot -d /tmp/new_depot.depot -x target_type=tape ( if you want to create a depot with all the products ) .

tell me if you have any more que.
love computers
eran maor
Honored Contributor

Re: How to create Depot?

one more thing .

if the software that you want to package is not for install of the SD-UX you will not be able to package them in a depot .

if you have 3rd parties software package in a depot file and you want to put then in one depot use the command swcopy -s /tmp/3rd_software.depot ( the name of the software depot )

you can copy as much as you want to the same dir .
if you are using the swcopy with a few dir the command will not delete the data that is in the dir of the des.
love computers
Wodisch
Honored Contributor

Re: How to create Depot?

Hello,

if the software you ask for is already in the HP SD-UX
"Software Distributor" format, then you only have to
"swcopy" it to your depot. Assuming it does reside on
a local CD-ROM mounted to 2/cdrom":

swcopy -s /cdrom '*' @ /var/spool/sw

But if it is just some software and is already installed,
then you will have to write a PSF (Product Specification
File) and copy it to your depot using "swpackage":

swpackage -P your-PFS @ /var/spool/sw

Read the man-page for "swpackaged(4)" for the details
of the PSF... or read the attached example, which I used
to copy an installed Oracle7 to a depot.

HTH,
Wodisch
MANOJ SRIVASTAVA
Honored Contributor

Re: How to create Depot?

Hi Silverstone


Do the following:

1. Copy all the software in any directory , essentially it should have all the depot files or *.depot files.

2. swcopy -s /var/opt/ignite/patch\* \* @ < target directory >

this would create a depot for the all the *.depot in that directory.

Please use options for swcopy in case u need to match target etc.


Manoj Srivastava
Sanjay_6
Honored Contributor

Re: How to create Depot?

Hi Silver,

I'm attaching a PDF file that tells you how to create a depot.

Hope this help. IT helped me when i first started with depot creation.

Thanks
Sanjay