HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Create Directory during the swinstall
Operating System - HP-UX
1834141
Members
2222
Online
110064
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
02-26-2004 01:04 AM
02-26-2004 01:04 AM
Create Directory during the swinstall
Hi
I'm trying to packaging in a depot (with SD command) my configuration.
During the postinstall, the downloading files are upload in the management server (via opccfgupld). But i want to create during this step, a /opt//bin directory in the management server, which includes programs (2 program files) which will belong to the depot. Is it possible to do this ? and how ?
Please help-me... =Â
I'm trying to packaging in a depot (with SD command) my configuration.
During the postinstall, the downloading files are upload in the management server (via opccfgupld). But i want to create during this step, a /opt/
Please help-me... =Â
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2004 01:21 AM
02-26-2004 01:21 AM
Re: Create Directory during the swinstall
Hi,
If i understand correct you like to add two executables in one specific directory during a swinstall.
What you can do on in the kit source is:
create a dir that includes those executables.
like
dirname/executable1
dirname/executable2
and create a fileset in the psf file:
fileset
tag dummy
title ""
description "Dummy file"
file_permissions -o root -g sys
directory = /
file *
end # fileset dummy
In your postinstall script you can ( if you have right as root on the manegement server ( .rhosts /etc/hosts.equiv, sshkeys etc.)
remsh managementserver -n "mkdir /dirname"
rcp //* managementserver:/dirname"
HTH,
Gideon
If i understand correct you like to add two executables in one specific directory during a swinstall.
What you can do on in the kit source is:
create a dir that includes those executables.
like
dirname/executable1
dirname/executable2
and create a fileset in the psf file:
fileset
tag dummy
title ""
description "Dummy file"
file_permissions -o root -g sys
directory
file *
end # fileset dummy
In your postinstall script you can ( if you have right as root on the manegement server ( .rhosts /etc/hosts.equiv, sshkeys etc.)
remsh managementserver -n "mkdir /dirname"
rcp /
HTH,
Gideon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2004 01:30 AM
02-26-2004 01:30 AM
Re: Create Directory during the swinstall
Thank to tour quick answer !
I'll try this...
but i have another question.
When i create my file depot, i have only the downloading files in my depot when i execute this commande (like in the cookbook SPI) :
./spipac -downloadpath /tmp/ovou/TestSPI
-spiname TestSPI
-outputpath /tmp/ovou/Installer
But where can i include these 2 program files in the depot during the packaging ?
Because, i need these 2 exe in my depot in order to copy them in the directory that i will create like you tell me...
Do you have an idea
Thank you very much !!!
= )
I'll try this...
but i have another question.
When i create my file depot, i have only the downloading files in my depot when i execute this commande (like in the cookbook SPI) :
./spipac -downloadpath /tmp/ovou/TestSPI
-spiname TestSPI
-outputpath /tmp/ovou/Installer
But where can i include these 2 program files in the depot during the packaging ?
Because, i need these 2 exe in my depot in order to copy them in the directory that i will create like you tell me...
Do you have an idea
Thank you very much !!!
= )
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