- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- sd-ux (HP-UX 11) default 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
Discussions
Discussions
Forums
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
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-09-2006 09:23 PM - last edited on тАО11-20-2012 10:38 PM by Maiko-I
тАО04-09-2006 09:23 PM - last edited on тАО11-20-2012 10:38 PM by Maiko-I
sd-ux (HP-UX 11) default directory
Hi all,
I've been working with SD-UX on HP-UX 10.20 without problems, but now I am packaging depots in HP-UX 11.11 and the fields directory and is_locatable are working differently, the new products are always installed at the root directory instead of in the directory specified by the directory field.
What can I do in order to install the files in the directory specified by the directory field?
On HP-UX 10.20 I used the location field, not the directory field.
P.S. This thread has been moved from HP-UX > General to HP-UX > patches - HP Forums Moderator
- Tags:
- swpackage
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-09-2006 09:41 PM
тАО04-09-2006 09:41 PM
Re: sd-ux (HP-UX 11) default directory
http://docs.hp.com/en/B2355-90979/ch10s04.html
directory
The default, absolute pathname to the directory in which the product's files will be installed (the root directory of the product). If not specified, swpackage assigns a value of /.
is_locatable
Defines whether a product or bundle can be installed to any product directory, or whether it must be installed into a specific directory. The attribute can be set to true or false. If not defined, swpackage sets the default attribute to "false."
example
product
tag SD
architecture HP-UX_B.11.00_32/64
category_tag systems_management
contents prod.fsl,r=1.0,a=,v=
copyright description directory /usr <------
is_locatable false <------
is_patch false
machine_type *
number J2326AA
os_name HP-UX
os_release ?.11.00.*
os_version B.11.**
postkernel /usr/lbin/kernel_build
+ readme revision 2.0
title Software Distributor
vendor_tag HP
# Optional vendor specification
# Optional subproduct specification
# REQUIRED FILESET SPECIFICATION
Best regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-09-2006 11:06 PM
тАО04-09-2006 11:06 PM
Re: sd-ux (HP-UX 11) default directory
I'll try to explain a test case.
If I package on HP-UX 11 using this psf:
distribution
layout_version 1.0
product
tag TEST
is_locatable true
directory /tmp/test
fileset
tag fTEST
directory /usr/bin=/testbin
file sh
end
end
a then I install the product TEST with the command:
# swinstall -s
The file sh will be copied to /testbin/
If I package on HP-UX 10.20 using this psf:
distribution
layout_version 1.0
product
tag TEST
is_locatable true
### directory /tmp/test <--
location /tmp/test
fileset
tag fTEST
directory /usr/bin=/testbin
file sh
end
end
a then I install the product TEST with the command:
# swinstall -s
The file sh will be copied to /tmp/test/testbin/
that is what I want.
Best Regards,
Vicente