- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Create a relocatable HP-UX package
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
04-13-2009 04:27 AM - last edited on 11-20-2012 06:42 PM by Maiko-I
04-13-2009 04:27 AM - last edited on 11-20-2012 06:42 PM by Maiko-I
Hi,
I am playing with creation of packages on HP. Want to create a relocatable package.
Have searched this forum, but being a newbie in this domain couldn't connect all the pieces.
Request to help me with the details. Here is what i have done:
PSF file
category
tag application
end
product
tag Test
architecture HP-UX
revision 1
fileset
tag test
directory Test=/opt/Test
file Test.txt
end
end
Works quite well & installs the package to /opt/Test containing a file Test.txt.
Now how can i relocate it any location of my desire say /abc/Test.
Thanks
P.S. This thread has been moved from HP-UX > System Administration to HP-UX > patches - HP Forums Moderator
Solved! Go to Solution.
- Tags:
- swpackage
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-13-2009 04:53 AM
04-13-2009 04:53 AM
Re: Create a relocatable HP-UX package
You can find it in the Software Distributor Admin Guide...
http://search.hp.com/redirect.html?url=http%3A//docs.hp.com/en/5992-5875/ch10s05.html&qt=%2Bswpackage&hit=1
Regards,
Rita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-13-2009 05:08 AM
04-13-2009 05:08 AM
Re: Create a relocatable HP-UX package
Couldn't derive much except to set "is_locatable" to true.
What else needs to be done, no idea ...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-13-2009 06:11 AM
04-13-2009 06:11 AM
Re: Create a relocatable HP-UX package
but this should be enough.
regards,
ivan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-13-2009 06:51 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-13-2009 09:08 PM
04-13-2009 09:08 PM
Re: Create a relocatable HP-UX package
I am looking for "Alternate product directory" & not "Alternate root directory".
swinstall -s $PWD/depot SD-BP,l=/abc/Test
solved half of my problem. Now my "Test" depot gets installed to whatever location i want.
I added one more file
/etc/init.d/test
This file also get's installed on /abc/etc/init.d
I want only the Test folder to go there & the rest to their normal paths.
Please help how can i achieve this?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-13-2009 09:20 PM
04-13-2009 09:20 PM
Re: Create a relocatable HP-UX package
Made 2 filesets.
Added "is_locatable true" in the fileset containing Test files
Added "is_locatable false" in the fileset containing etc files
Any other TIPS from you gurus which will be helpful to make a relocatable package.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-13-2009 10:51 PM
04-13-2009 10:51 PM
Re: Create a relocatable HP-UX package
What should be the mapping in PSF such that the installation structure be /abc/Test
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-14-2009 02:04 AM
04-14-2009 02:04 AM
Re: Create a relocatable HP-UX package
>What should be the mapping in PSF such that the installation structure be /abc/Test
What are you asking?
Where to you want it? What is the ,l= value
I assume the ,l= value replaces the =RHS in this:
directory Test=/opt/Test
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-14-2009 03:25 AM
04-14-2009 03:25 AM
Re: Create a relocatable HP-UX package
Have tried giving /abc & /abc/Test
>I assume the ,l= value replaces the =RHS in this:
directory Test=/opt/Test
If I give ,l=/abc the output is
/abc/opt/Test/...
If I give ,l=/abc/Test the output is
/abc/Test/opt/Test/...
I simply want /abc/Test/...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-14-2009 04:12 AM
04-14-2009 04:12 AM
Re: Create a relocatable HP-UX package
It appears the only way to get that is to use:
directory Test=/Test
Then always use l=/abc.
The documentation isn't very clear about l=location. You might want to talk to the Response Center and ask that the manuals be made clearer.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-14-2009 04:20 AM
04-14-2009 04:20 AM
Re: Create a relocatable HP-UX package
This works, the only problem being i can't ever simply install the software by saying "swinstall
>The documentation isn't very clear about l=location. You might want to talk to the Response Center and ask that the manuals be made clearer.
I am not aware about this, what's this Response Center?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-14-2009 04:40 AM
04-14-2009 04:40 AM
Re: Create a relocatable HP-UX package
Yes, I thought that was too obvious to mention. :-(
>I am not aware about this, what's this Response Center?
If you aren't aware, you probably can't contact them. You need a support contract.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-14-2009 05:04 AM
04-14-2009 05:04 AM
Re: Create a relocatable HP-UX package
Lets see what others say.
Thanks for the help.