cancel
Showing results for 
Search instead for 
Did you mean: 

Creation of package

GPrakash
Advisor

Creation of package

HI,

How to create empty package with version similar to a product and need to querying it with swlist command, sothat swlist will display the version of the empty package.

could you please give me steps, as I need on urgent basis..

thanks in advance.
5 REPLIES
Vinod Kumar Yadav
Trusted Contributor

Re: Creation of package

Hi,

swcopy -s /Depot/pkg/11 ATTSENDMAIL @ /var/tmp/sendmail.dpt


Then Check with.

#swlist -l depot - It will so the all package depot location
Jai Shiv Shankar
Steven E. Protter
Exalted Contributor

Re: Creation of package

Shalom,

To correct last post:
swcopy -s /Depot/pkg/11 ATTSENDMAIL @ /var/tmp/sendmail.depot

Also:
http://www.docs.hp.com/en/5990-6771/ch01s01.html

Package Builder.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Olivier Masse
Honored Contributor

Re: Creation of package

I'm not sure you can make an empty package, I stumbled on a bug recently where swpackage won't even add an empty directory to a package. Your best bet is to package a dummy directory and file. If that can be of any help I have a script here that saves you of the trouble of building your own .psf:
http://www.mayoxide.com/goldendepot/make_package.sh

GPrakash
Advisor

Re: Creation of package

swcopy -s /Depot/pkg/11 ATTSENDMAIL @ /var/tmp/sendmail.depot

Steve,

could you please explain the above command??

/Depot/pkg/11 directory should be there??
and what is ATTSENDMAIL??

thanks
Dennis Handly
Acclaimed Contributor

Re: Creation of package

>could you please explain the above command?

(I'm not sure how Vinod's swcopy relates to your initial question?)

swcopy will copy the SD bundle/product ATTSENDMAIL, from the depot /Depot/pkg/11 to the depot /var/tmp/sendmail.depot.