- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How to get my package installed by default
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-29-2009 02:10 AM
тАО04-29-2009 02:10 AM
How to get my package installed by default
I created a PSF file, and used swpackage to create a new depot then used swcopy to copy my package into my core_media depot ready for an ignite client build. I recreated the core_media config file too.
After the build, there was no sign of my new package, but I know it can be installed manually as I tested it on the ignite server with swinstall and it went on fine.
Question is - what step am I missing to get the package automatically recognised by the build as something it needs to install as part of the core OE, i.e. eithout the fuss of having to manually install it in a post-install?
Is there a magic word I need to use in the PSF file to get the package recognised? I presume I need a sw_sel statement in the config but there is none - so how do I get my make_config step to recognise the new package and add one for me when I build the entire config file?
Any guidance would be appreciated, thanks.
HP-UX 11i v3 btw.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-29-2009 02:50 AM
тАО04-29-2009 02:50 AM
Re: How to get my package installed by default
swpackage advanced topics
http://docs.hp.com/en/B2355-90107/ch11s02.html
Related to your question:
http://docs.hp.com/en/B2355-90682/swpackage.4.html
swpackage checks syntax in PSF file
http://www.docs.hp.com/en/B2355-90154/ch10s06.html
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-29-2009 06:39 AM
тАО04-29-2009 06:39 AM
Re: How to get my package installed by default
One of them is a 1400 line man-page!
Does anyone know (in simple terms) how to add a new user-developed package to an existing core media depot in such a way that ignite recognises it for installation by default?
I tried adding "category_tag CoreOS" to my PSF but the make_config still never generated a sw_sel statement for it. :-(
I'm fairly sure I can hack the config file myself but I want to do this properly (using commands) if anyone can tell me how?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-30-2009 06:33 AM
тАО04-30-2009 06:33 AM
Re: How to get my package installed by default
My PSF just had a product specification with my stuff included as a fileset.
I changed that to a bundle with a product with a fielset, and now it shows up in the config. It failed opreviously because make_config ignores anything that isn't a bundle!
But, it's still not being installed by default, and the key difference between bundles that are installed by default and ones that aren't seems to be the following line of the pfiles/INDEX file:
hp_ii "factory_integrate=true"
This seems to be something called Instant Ignition - a very old feature that seems to be all but obsolete now, but I still can't figure out what syntax I need in my PSF which will lead to that hp_ii being set in the pfiles/INDEX once I have run swpackage.
Has anyone tried this - or is this a red herring??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-30-2009 07:22 AM
тАО04-30-2009 07:22 AM
Re: How to get my package installed by default
My 2 cents,
Armin
PS: Please assign points if you find answers useful!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-30-2009 07:40 AM
тАО04-30-2009 07:40 AM
Re: How to get my package installed by default
Ignite has a section of the Golden Image configuration file that lets you run installations, scripts what every you want.
It is documented in the configuration file as post installation steps.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-30-2009 08:24 AM
тАО04-30-2009 08:24 AM
Re: How to get my package installed by default
1. If you have not refreshed your Ignite config file with the new bundle, do so with make_config.
2. This will create a 'sw_sel' stanza for the new bundle. At the end of that staza, add
...
} = TRUE
The "= TRUE" means always select for install.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-01-2009 07:24 AM
тАО05-01-2009 07:24 AM
Re: How to get my package installed by default
The sw_sel statements are generated by the make_config command, based on the information in the depot. Anything that's classed as a bundle will show up in a sw_sel stanza.
I am already using a separate config file for my modified depot.
Steven,
I am not using Golden Images. I am building from a modified OE depot.
I know I can use post-install scripts (I am doing that for optional software) this is something I want to be added by default and don't want it to appear on the install dialog.
Scot,
I have refreshed the config (that was implied when I said "and now it shows up in the config."
I know I can hack the config and add =TRUE but I believe that is just that - a hack. I was looking for a prettier way of doing this - besides those config stanzas wouldn't be very easy to parse.
----------------
It seems a shame that what I'm trying to do is almost trivial, yet proving to be such a pain to achieve. All I want is a line in my package's PSF which identifies it as "required" and it just gets installed without having to mess about with post-install scripts. There are plenty of core-OS packages that this works fine with and as I said the only difference I can see in those is they have the factory integrate flag on but I can't set that in my PSF.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-01-2009 08:05 AM
тАО05-01-2009 08:05 AM
Re: How to get my package installed by default
Look for it in your make_config output, you should see a line
sw_category += "-OE- Required"
Try setting that category tag, and assuming you are installing one of the OEs, should work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-06-2009 02:11 AM
тАО05-06-2009 02:11 AM
Re: How to get my package installed by default
Look for it in your make_config output, you should see a line
sw_category += "-OE- Required"
Try setting that category tag, and assuming you are installing one of the OEs, should work.
I tried using the following line in my PSF:
category "-OE- Required"
This corrupted my depot and I had to rebuild it. I tried it without the "-OE-" and this seemed to work OK but in fact all it did was put my bundle into a category called "Required" in the left side of the install GUI - it was still, however, marked as "No" in the "Marked for Install" column.
This is really frustrating - I wish the documentation had an example of how to set this up - it seems such a trivial thing.
I evern tried hacking my pfiles/INDEX file and added hp_ii "factory_integrate=TRUE" but this didn't work either!