- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Controlling swinstall destination directory
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
08-09-2005 06:15 AM
08-09-2005 06:15 AM
Controlling swinstall destination directory
I hesitate to just do a move incase I ever need to do a swremove.
Any ideas
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2005 06:18 AM
08-09-2005 06:18 AM
Re: Controlling swinstall destination directory
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2005 06:18 AM
08-09-2005 06:18 AM
Re: Controlling swinstall destination directory
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2005 07:40 AM
08-09-2005 07:40 AM
Re: Controlling swinstall destination directory
Would have to tear it apart and repackage.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2005 11:25 PM
08-09-2005 11:25 PM
Re: Controlling swinstall destination directory
By Default Destination directory is "/"
Incase if you want to install gzip /test/usr/local/bin instead of /usr/local/bin,
then you can mention the destination directory as /test during the installation
** Is there any way to control the destination directory while using swinstall.
I upgraded to a new version of gzip but it is dropping the members in
/usr/local/bin and not /usr/contrib/bin. **
For this specific gzip you can do the following
All the depot files are tar balls
a. create a tmp dir /var/hp
b. copy the depot file to /var/hp
c. extract the depot with tar xvf
#cd /var/hp
#tar xvf
it will create catalog and Product directory
catalog and gzip
d. modify the following files and save
/var/hp/catalog/gzip/gzip-RUN/INFO
/var/hp/catalog/gzip/gzip-MAN/INFO
edit the file using vi
:1,$ s/local/contrib/g ** this will modify from local to contrib
e. mv the source files from local to contrib
#mv /var/hp/gzip/gzip-RUN/usr/local /var/hp/gzip/gzip-RUN/usr/contrib
#mv /var/hp/gzip/gzip-MAN/usr/local /var/hp/gzip/gzip-MAN/usr/contrib
h. create a depot with modified files
#cd /var/hp
#tar cvf gzipmodified.depot catalog gzip
i. install using this depot
#swinstall -s /var/hp/gzipmodified.depot gzip
I tested this and it worked for me
Hope this helps :-)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2005 07:38 AM
08-22-2005 07:38 AM