- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Building a Patch with "swpackage"
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
11-03-2005 01:00 AM
11-03-2005 01:00 AM
Building a Patch with "swpackage"
We are using "swpackage" on HPUX-11.23 for building out product. Our product has 5 filesets. Each fileset consists of large number of files.
Now, let me come to my quistions:
1. How can we build a patch to our product with "swpackage" ? The change involves only a few files being modified in a single "fileset".
2. Once the patch is built & applied to the target machine, how can it be verified using "swlist" ??
Thanks & Regards,
Ramesh.K.R.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2005 01:54 AM
11-03-2005 01:54 AM
Re: Building a Patch with "swpackage"
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=959102
I think swlist commands will still work on a patch set packaged this way.
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
11-03-2005 02:03 AM
11-03-2005 02:03 AM
Re: Building a Patch with "swpackage"
Regards,
Ramesh.K.R.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2005 03:49 AM
11-03-2005 03:49 AM
Re: Building a Patch with "swpackage"
In that case you will need to use the special patch attributes
is_patch=true
is_sparse=true
you will need to set the ancestor of this patch to be the product.fileset that you are patching.
You can look into the attributes that HP uses to create patches by using:
swlist -v PHCO_nnnnn |more
When you patch is applied to the system you can use
'swverify MyPatch' to check it, you can
also use
'swlist -a patch_state MyPatch' to check it.
You might find Software Package Builder useful in creating the PSF. SPB is available from HP on the OE media and from the web:
http://h20293.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=SwPkgBuilder
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2005 08:58 PM
11-03-2005 08:58 PM
Re: Building a Patch with "swpackage"
You are absolutely right. I was looking for creating a patch to our own customized product. Not for HPUX. Thanks for your inputs. I will get back to you, in case i need more info.
Regards,
Ramesh.K.R.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2005 09:07 PM
11-03-2005 09:07 PM
Re: Building a Patch with "swpackage"
http://docs.hp.com/en/B2355-90789/ch05s04.html
[Software Distributor Administration Guide for HP-UX 11i v2 > Chapter 5. Managing Patches
Packaging Patch Software]
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2005 09:44 PM
11-03-2005 09:44 PM
Re: Building a Patch with "swpackage"
Regards,
Ramesh.K.R.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2005 01:55 AM
11-04-2005 01:55 AM
Re: Building a Patch with "swpackage"
http://h20293.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=SwPkgBuilder
You can use it to analyze exisiting packages or to create your own.
There is also a tutorial and a comprehesive help file.
My 2 cents,
Armin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2005 02:27 AM
11-04-2005 02:27 AM
Re: Building a Patch with "swpackage"
Regards,
Ramesh.K.R.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2005 10:10 AM
11-04-2005 10:10 AM
Re: Building a Patch with "swpackage"
- use 'swlist' to see if your patch installed
- use 'swverify' on the patch and the application to see if everything looks OK
- use 'check_patches' for a hardcore verification
- be sure to test the application, make sure the fix worked
- go look at the files you patched, are the patched versions installed?
- just for fun, try 'swremove' on the patch, does it rollback nicely?