- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How to swpackage a tar file to be installed wi...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2003 05:50 AM
01-21-2003 05:50 AM
How to swpackage a tar file to be installed with SD?
I have a product delivered in tar format and would like to make it available in SD format. Would like to get some hints on how to proceed to be able to install it via swinstall.
The tar file is not swpackaged.
Many thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2003 05:59 AM
01-21-2003 05:59 AM
Re: How to swpackage a tar file to be installed with SD?
You need to create a PSF (product specification file) for swpackage. Have a look at man swpackage(4)... in section 4 is even an example.
Best regards...
Dietmar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2003 06:15 AM
01-21-2003 06:15 AM
Re: How to swpackage a tar file to be installed with SD?
If your tar includes hundreds of files you may be better off just creating a postinstall script that untars the tar.
Later,
Bill
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2003 12:32 AM
01-22-2003 12:32 AM
Re: How to swpackage a tar file to be installed with SD?
You can do the following:
1.Create the dir for new product and all subdirs, related to your new product:
/opt/newproduct
/opt/newproduct/bin
/opt/newproduct/doc
....
2.Create file newproduct.psf in /opt/newproduct
with description of your productand it's dirs and files. Tou can use a template to do this.
3.Remove from /opt/catalog old INDEX and from /opt/catalog/dfiles : INDEX,INFO
4. Use:
#/opt/newproduct > swpackage -s -v ./newproduct.psf @ ./opt
5.Use:
#tar -cvf ./newproduct.tar catalog/INDEX catalog/dfiles/INDEX catalog/dfiles/INFO
catalog/newproduct newproduct
6.Use:
#gzip ./newproduct.tar
So you will have:
newproduct.tar.gz
Regards, Stan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2003 02:11 AM
01-22-2003 02:11 AM
Re: How to swpackage a tar file to be installed with SD?
I would like rather to go for the Bill's proposition as I have around 1 hundred files to package.
Bill,
do you have an example on how to proceed to swpackage the tar file (or the newproduct.tar.gz file) and and example of a postinstall script.
Many thanks,
Domenico.