Operating System - HP-UX
1834185 Members
2868 Online
110064 Solutions
New Discussion

How can I create my own depot?

 
SOLVED
Go to solution
Kelvin Lai
Occasional Contributor

How can I create my own depot?

Can someone please tell me how can I create my own software depot consisting of some scripts and files from different directories?
2 REPLIES 2
Paul Murray_1
Frequent Advisor

Re: How can I create my own depot?

Hi Kelvin,

There are a number of steps to creating your own software depot for use within SWINSTALL.

Basically, you have to create a PSF file (Product Description File). Then once this has been created, you need to package it and register it. All the steps are shown in HP's SD-UX Manual.

I attach an example - however, please note that this was my first attempt at a PSF file, and was created for 10.20



###############################################################################
#
# Title: ITO-env.PSF
# Author: Paul Murray of RedFox Solutions Limited
# Incept Date: 9th December, 1998
# Description: Product Specification File used by SDUX for
# ITO-env Libraries distribution.
#
###############################################################################

depot
layout_version 1.0
title ITO-env Libraries

vendor
tag RFox
title RedFox Solutions Limited
end

product
tag ITO-env
revision A.01.01
title ITO-env Libraries
machine_type *
os_name HP-UX
is_locatable true
directory /opt/ITO/

fileset
tag LIBRARIES
revision A.01.00
is_reboot false

directory /opt/ITO
file ITO-env
directory /opt/ITO/lib
file CheckBankHoliday
file CheckDownTime
file CheckTape
file ErrorTrap
file OpCMessage
file SetValue
file Status
file TmpFile
file WriteLog
directory /opt/ITO/man
file *
directory /var/opt/ITO
file conf
file log
file tmp
file out
end



As you can see, the PSF file can become pretty long dependant upon the amount of files you wish to include !!!!

You will need to refer to the SD-UX manual for details on the exact command structure used to package / register the depot.


Regs,
Paul.
Just remember, nobody knows everything !!
Paul Murray_1
Frequent Advisor
Solution

Re: How can I create my own depot?

Hi again Kelvin !!

< Going for the full 10 points here !!!! :-) >


The following URL will take you to the online HP docs page which will detail exactly what you need to do in order to pacakge and register a new SD depot.

It will also give a breakdown of the available options within your PSF file.

http://www.docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B1996-90011/B1996-90011_top.html&con=/hpux/onlinedocs/B1996-90011/00/00/95-con.html&toc=/hpux/onlinedocs/B1996-90011/00/00/95-toc.html&searchterms=SD&queryid=20010505-021209



Regs,
Paul.
Just remember, nobody knows everything !!