Operating System - HP-UX
1833704 Members
2409 Online
110062 Solutions
New Discussion

Re: how to create a patch for multiple filesets

 
sajjan
Occasional Advisor

how to create a patch for multiple filesets

Hi,
Please help me to create a patch for a product ,in which psf file conatins multiple filesets,send me the psf file format also .
6 REPLIES 6
Arunvijai_4
Honored Contributor

Re: how to create a patch for multiple filesets

Have a look at this link, it should help you
http://docs.hp.com/en/SD/cookbook.html


» Creating a Software Depot
» Copying into a Software Sepot Using swcopy
» Packaging Software Products Using swpackage
» The Product specification File (PSF)
» Useful Command-line Options
» Creating Depot Files or Tapes
» swlist Tricks

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Arunvijai_4
Honored Contributor

Re: how to create a patch for multiple filesets

For creating PSF files,

http://docs.hp.com/en/B2355-90754/ch10s04.html

[Software DistributorAdministration Guidefor HP-UX 11i > Chapter 10. Creating Software Packages
Creating a Product Specification File (PSF) ]

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Muthukumar_5
Honored Contributor

Re: how to create a patch for multiple filesets

Use format as,

product

tag="product name"
architecture="<>"
machine_type *
os_name HP-UX
os_release "B.11.*"
os_version "*"
directory

# fileset 1
fileset
tag
revision
architecture
machine_type *
os_name HP-UX
os_release "B.11.*"
os_version "*"
directory destination = source location
file -m -o -g destination source
file_permissions -m -o -g
end

# fileset 2
fileset
tag
revision
architecture
machine_type *
os_name HP-UX
os_release "B.11.*"
os_version "*"
directory destination = source location
file -m -o -g destination source
file_permissions -m -o -g
end

end

Use format like that.

hth.
Easy to suggest when don't know about the problem!
sajjan
Occasional Advisor

Re: how to create a patch for multiple filesets

Hi muthu,
Here where i can specify as patch.Please help.

Sajjan
Muthukumar_5
Honored Contributor

Re: how to create a patch for multiple filesets

Check this:

http://docs.hp.com/en/B2355-90789/ch05s04.html


You have to set is_patch true to denote it as patch.

It is having a real example.

hth.


Easy to suggest when don't know about the problem!
sajjan
Occasional Advisor

Re: how to create a patch for multiple filesets

Hi,
I created the psf file with multiple filesets.For me around 9 filesets are there in a single psf.I created the patch and installed ,but now it is not taking backup of all the 9 filesets(in /var/adm/sw/save/ ) .It is taking backup of 5th one only.Is there any suggessions for this.plz help.

here is the format for my psf
vendor
end
product
is_patch true

fileset1
is_patch true
ancestor
end

fileset2
is_patch true
ancestor
end
fileset3
is_patch true
ancestor
end
fileset4
is_patch true
ancestor
end
....

fileset9
is_patch true
ancestor
end

end