HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: packaging
Operating System - HP-UX
1833792
Members
2014
Online
110063
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
07-01-2007 08:42 PM
07-01-2007 08:42 PM
packaging
Hi,
I wanted to create one package named app_java_hpux_11, should include below:
All files and sub-directories in /opt/java1.4
All files and sub-directories in /opt/app/conf
All files in /opt/app/scripts
Once package is created, should be able to install using swinstall.
I am not sure about psf file structure and created by looking at some thread.
I was trying to swpackage using following psf file /tmp/app.psf:
tag app_java_hpux_11
title APP bundle includes Java 1.4.x
os_name HP-UX
revision B.11.00
architecture S700/S800_HP-UX_11
contents
directory /opt/java1.4
file .??*
file *
directory /opt/app/conf
file .??*
file *
directory /opt/app/scripts
file .??*
file *
end
command:
swpackage -p -v -s /tmp/app.psf -d /var/adm/crash/app/Rel_B.11.X
following error:
WARNING: No value defined for the keyword "contents", at line 7.
ERROR: Incomplete definition for the bundle "app_java_hpux_11", beginning
at line 1. The following attributes are not defined:
contents the software contained in the bundle
The attribute(s) must be defined before the parsing can
continue.
ERROR: Invalid definition for the bundle "app_java_hpux_11", beginning at
line 1. Details described above. The error(s) must be
corrected before the parsing can continue.
Cheers...
Satish
I wanted to create one package named app_java_hpux_11, should include below:
All files and sub-directories in /opt/java1.4
All files and sub-directories in /opt/app/conf
All files in /opt/app/scripts
Once package is created, should be able to install using swinstall.
I am not sure about psf file structure and created by looking at some thread.
I was trying to swpackage using following psf file /tmp/app.psf:
tag app_java_hpux_11
title APP bundle includes Java 1.4.x
os_name HP-UX
revision B.11.00
architecture S700/S800_HP-UX_11
contents
directory /opt/java1.4
file .??*
file *
directory /opt/app/conf
file .??*
file *
directory /opt/app/scripts
file .??*
file *
end
command:
swpackage -p -v -s /tmp/app.psf -d /var/adm/crash/app/Rel_B.11.X
following error:
WARNING: No value defined for the keyword "contents", at line 7.
ERROR: Incomplete definition for the bundle "app_java_hpux_11", beginning
at line 1. The following attributes are not defined:
contents the software contained in the bundle
The attribute(s) must be defined before the parsing can
continue.
ERROR: Invalid definition for the bundle "app_java_hpux_11", beginning at
line 1. Details described above. The error(s) must be
corrected before the parsing can continue.
Cheers...
Satish
Difference between good and the best is only a little effort
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2007 09:37 PM
07-01-2007 09:37 PM
Re: packaging
Hello Satish,
I am not sure,whether you may use ? and * in the content section.
Try it again without those variable-letters.
you may first test it with only a few files. I think it should work if you avoud the * and ?
You may get a list of jour required files by typing:
cd /
ls -R1 /opt/java1.4
...
I hope tthis helps.
bye
Ralf
I am not sure,whether you may use ? and * in the content section.
Try it again without those variable-letters.
you may first test it with only a few files. I think it should work if you avoud the * and ?
You may get a list of jour required files by typing:
cd /
ls -R1 /opt/java1.4
...
I hope tthis helps.
bye
Ralf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2007 10:24 PM
07-01-2007 10:24 PM
Re: packaging
To see how a SD depot is packaged, you should use "swlist -v -l depot" on an existing depot. Then repeat with -l product, then -l fileset then -l file.
An SD depot is composed of optional bundles that can contain multiple SD products. SD products can contain multiple SD filesets.
It is the SD filesets that contain files.
See sd(4):
http://docs.hp.com/en/B2355-60130/sd.4.html
Managing HP-UX Software With SD-UX: HP 9000 Computers
http://www.docs.hp.com/en/B2355-90107/index.html
An SD depot is composed of optional bundles that can contain multiple SD products. SD products can contain multiple SD filesets.
It is the SD filesets that contain files.
See sd(4):
http://docs.hp.com/en/B2355-60130/sd.4.html
Managing HP-UX Software With SD-UX: HP 9000 Computers
http://www.docs.hp.com/en/B2355-90107/index.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2007 02:53 AM
07-02-2007 02:53 AM
Re: packaging
If you wish, instead of building a .psf manually or using software package builder, you can try a script I've been using for years that simplifies this process.
Download this:
http://www.mayoxide.com/goldendepot/make_package.sh
The script has a built-in usage but in your case you would run:
make_package.sh -p app_java_hpux_11 -t "APP bundle includes Java 1.4.x" -v B.11.00 -f /opt/java1.4 /opt/app/conf /opt/app/scripts
Download this:
http://www.mayoxide.com/goldendepot/make_package.sh
The script has a built-in usage but in your case you would run:
make_package.sh -p app_java_hpux_11 -t "APP bundle includes Java 1.4.x" -v B.11.00 -f /opt/java1.4 /opt/app/conf /opt/app/scripts
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP