1834644 Members
2297 Online
110069 Solutions
New Discussion

How to create a depot?

 
Jun Zhang_4
Regular Advisor

How to create a depot?

I often download packages as a file with extension .depot from hp website, and swcopy it (or untar it and register it) to be ready to use.
How can I make one myself?
Sometime you cannot find a ready HP depot for a GNU pack, and sometime the newer version of the pack is wanted, but not available in depot format. I know I can compile and install the pack directly.

Jun
Food lover
4 REPLIES 4
Stanimir
Trusted Contributor

Re: How to create a depot?

For example you need to create package
and put it to depot:

1. Create psf-file for this package: my.psf

2. Create a depot for this package and others:
#swpackage -v -s my.psf @ /var/spool/sw

3.Register this depot:
#swreg -l depot /var/spool/sw

4.Install package from this depot:
#swinstall -s /var/spool/sw

Regards,Stan

Sergejs Svitnevs
Honored Contributor
Michael Steele_2
Honored Contributor

Re: How to create a depot?

Download patches:

cd /dir (* where you've ftp'd patches *)
for i in PH*
do
sh $i
done

mkdir /tmp/PATCH
(* Still in /dir *)

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

verify depot:
swlist -d @ /tmp/patches
Support Fatherhood - Stop Family Law
Bruno Ganino
Honored Contributor

Re: How to create a depot?

Documentation to PDF format, see attachment.
HTH
Bruno
Torino (Turin) +2H