Operating System - HP-UX
1756826 Members
2846 Online
108853 Solutions
New Discussion юеВ

Create file depot from Application CD

 
SOLVED
Go to solution
Emanuele De Angelis
Frequent Advisor

Create file depot from Application CD

Hi,
how make a depot file for one application in "Application's cd"?
Es. I want make a depot of ACC base product. (ACC.depot)

Thanks All
5 REPLIES 5
Bharat Katkar
Honored Contributor

Re: Create file depot from Application CD

HI,
I will suggest you the work around.
Now suppose you mount your CD on /mnt then this will work.

# cd /mnt
# cp -R
Modify your depots INDEX file which is in catalog directory with ACC base product entry...refer INDEX file in catalog directory of CD.

Hope this is what you are looking for.
Regards,

You need to know a lot to actually know how little you know
Geoff Wild
Honored Contributor

Re: Create file depot from Application CD

Use swcopy...to copy depot to server...then swreg...

See http://docs.hp.com/hpux/onlinedocs/B2355-90789/B2355-90789.html

in particular section on "Managing Software Depots "

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Carsten Krege
Honored Contributor
Solution

Re: Create file depot from Application CD

If you want to copy the products

Z7478AA B.03.32.00 ACC Base Software


from a cdrom mounted at /SD_CDROM to a new depot in /tmp/ACC you can issue the command:

swcopy -s /SD_CDROM Z7476AA @ /tmp/ACC

After that you can register the depot:

swreg -l depot /tmp/ACC

so that it shows up in

swlist -l depot

Carsten
-------------------------------------------------------------------------------------------------
In the beginning the Universe was created. This has made a lot of people very angry and been widely regarded as a bad move. -- HhGttG
Emanuele De Angelis
Frequent Advisor

Re: Create file depot from Application CD

If you want to copy the products

Z7478AA B.03.32.00 ACC Base Software


from a cdrom mounted at /SD_CDROM to a new depot in /tmp/ACC you can issue the command:

swcopy -s /SD_CDROM Z7476AA @ /tmp/ACC

After that you can register the depot:

swreg -l depot /tmp/ACC

so that it shows up in

swlist -l depot

Thanks Carsten,
but if i want make a .depot file, what do i do?
Thanks
Carsten Krege
Honored Contributor

Re: Create file depot from Application CD

Ah, in this case you need swpackage. First swcopy like I suggested before. Then do

swpackage -x media_type=tape -s /tmp/ACC Z7476AA @ /tmp/ACC.depot

This should create a depot file /tmp/ACC.depot using the software Z7476AA from the source depot /tmp/ACC. I'm not sure you can create the file /tmp/ACC.depot when using the CDROM as the source and leave the swcopy step away. You may try it out. In the past I know it did not work.

Carsten
-------------------------------------------------------------------------------------------------
In the beginning the Universe was created. This has made a lot of people very angry and been widely regarded as a bad move. -- HhGttG