Operating System - HP-UX
1831221 Members
3049 Online
110021 Solutions
New Discussion

How to create a SPI patch

 
koff
Frequent Advisor

How to create a SPI patch

hello everybody,
I try too create a SPI patch, without success...
I create a SPI test depot (UNIV_TEST.depot) with only one product and a fileset tag "actions". The installation was terminated with success. So i have a product call "UNIV_TEST" with a fileset "actions"

Now, i create a psf for to patch UNIV_TEST which called UNIV_PATCH.psf. I packaged this to UNIV_PATCH.depot with a product UNIV_PATCH which contains a "actions" fileset.

But when i installed this patch :
swinstall -s UNIV_PATCH.depot UNIV_PATCH
I have these errors:
The patch fileset "UNIV_PATCH.actions,r=1.0" may only be installed upon a previously installed base fileset. The specification for this base fileset is"UNIV_TEST.actions,l=/,r=1.0,a=HP-UX_11.x/SunOS_5.7/SunOS_5.8". Since there is no fileset on the target or selected from the source which matches this specification,fileset
"UNIV_PATCH.actions,r=1.0" will be excluded.

This is my PSF file (based on the PSF example on SD guide):
category
tag patch_normal
revision 0.0
title Patches for normal use
description Normal patches for typical problems....
end

product
tag UNIV_PATCH
revision 1.0
architecture HP-UX_11.x/SunOS_5.7/SunOS_5.8
vendor_tag HP
title Core Operating System (patch)
machine_type *
os_name HP-UX|SunOS
os_release ?.11.*|5.[78]
os_version *
is_patch true
category_tag patch_normal

fileset
tag actions
revision 1.0.0
title “patch test“
description “patch test test ... ”
ancestor UNIV_TEST
is_patch true
directory /var/home/patch/dwn_patch=/tmp/tmp_patch_loc/
file_permissions -u 222 -g bin -o bin
file *
end
configure /var/home/patch/postinstall.sd
end

Please help me
Any help will be appreciated...

D