1752788 Members
6157 Online
108789 Solutions
New Discussion юеВ

Packagin query

 
SOLVED
Go to solution
Srimalik
Valued Contributor

Re: Packagin query

This patch contains two filesets

# PHSS_36311 1.0 Aries cumulative patch
PHSS_36311.CORE2-64SLIB 1.0 OS-Core.CORE2-64SLIB
PHSS_36311.CORE2-SHLIBS 1.0 OS-Core.CORE2-SHLIBS
bash-2.05#

ours is a 32 bit application, so I think that installaing PHSS_36311.CORE2-SHLIBS 1.0 OS-Core.CORE2-SHLIBS will be sufficient.

IS there any possibility that 64 bit libs will be required(I know the answer is no)
but am I not sure if aries would need them in some case.

Sri
abandon all hope, ye who enter here..
Dennis Handly
Acclaimed Contributor

Re: Packagin query

>ours is a 32 bit application, so I think that installing PHSS_36311.CORE2-SHLIBS 1.0 OS-Core.CORE2-SHLIBS will be sufficient.

No, you should install the complete patch.

>IS there any possibility that 64 bit libs will be required (I know the answer is no)

You shouldn't try to nickel and dime patches, just install all of PHSS_35528 or PHSS_36311 and don't worry about the corequisite only depending on 32 bit.
Srimalik
Valued Contributor

Re: Packagin query

I have added this to my psf

corequisite PHSS_35528.CORE2-SHLIBS,fa=HP-UX_B.11.23_IA | OS-Core.CORE2-KRN,fa=HP-UX_B.11.23_PA
(for 11.31 systems I have added patch PHSS_36311, Rest of the post refers 11.23 only)

Should I add PHSS_35528.CORE2-64SLIB also as a corequisite or only one corequisite tag is sufficient? SD automatically selects and installs PHSS_35528.CORE2-64SLIB even if I specify only CORE2-SHLIBS.

I have never used a IA machine with 32 bit OS, do they exist? if yes, can both the filesets ( SHLIBS and 64SLIB) installed on that 32 bit system.

Note that I can not specify the corequisite as:
corequisite PHSS_35528 | a=HP-UX_B.11.23_IA | OS-Core.CORE2-KRN,fa=HP-UX_B.11.23_PA

I have to specify the fileset and not the patch as a coreq.

If I enforce both the filesets in two coreq specs

like :

corequisite PHSS_35528.CORE2-SHLIBS,fa=HP-UX_B.11.23_IA | OS-Core.CORE2-KRN,fa=HP-UX_B.11.23_PA
corequisite PHSS_35528.CORE2-64SHLIB,fa=HP-UX_B.11.23_IA | OS-Core.CORE2-KRN,fa=HP-UX_B.11.23_PA


Will the package install on a 32 bit IA system? or will there be a problem as I am trying to enforce a 64 bit fileset on a 32 bit machine.


Sri
abandon all hope, ye who enter here..
Srimalik
Valued Contributor

Re: Packagin query

To make things simpler, I will put the question in other way

Which method of specifying coreqs is the best for this patch

1) Leave the patch installation to SD and add only one fileset as coreq to psf file

corequisite PHSS_35528.CORE2-SHLIBS,fa=HP-UX_B.11.23_IA | OS-Core.CORE2-KRN,fa=HP-UX_B.11.23_PA
This atomatically selects the other fileset

2) Enforce full patch installation and add both the filesets as coreqs to psf file
corequisite PHSS_35528.CORE2-SHLIBS,fa=HP-UX_B.11.23_IA | OS-Core.CORE2-KRN,fa=HP-UX_B.11.23_PA
corequisite PHSS_35528.CORE2-64SHLIB,fa=HP-UX_B.11.23_IA | OS-Core.CORE2-KRN,fa=HP-UX_B.11.23_PA

Both methods leave the system in same state(both patch filesets installed)

Thanks
Sri
abandon all hope, ye who enter here..
Dennis Handly
Acclaimed Contributor

Re: Packagin query

>Should I add PHSS_35528.CORE2-64SLIB also as a corequisite or only one corequisite tag is sufficient? SD automatically selects and installs PHSS_35528.CORE2-64SLIB even if I specify only CORE2-SHLIBS.

I wouldn't worry about it. That's what the linker has. You can check that by:
swlist -a prerequisite -a corequisite -l fileset -s $PWD/PHSS_37201.depot
It shows:
PHSS_37201.CORE-SHLIBS PHSS_35045.CORE2-SHLIBS,fa=HP-UX_B.11.23_IA | OS-Core.CORE2-KRN,fa=HP-UX_B.11.23_PA

>I have never used a IA machine with 32 bit OS, do they exist?

No, all new HP-UX versions on 11.23 and later are 64 bit.

>I have to specify the fileset and not the patch as a coreq.

That's probably why it is that way in the linker patch.

>If I enforce both the filesets in two coreq specs like:
corequisite PHSS_35528.CORE2-SHLIBS,fa=HP-UX_B.11.23_IA | OS-Core.CORE2-KRN,fa=HP-UX_B.11.23_PA

Yes, you could do that.

>Which method of specifying coreqs is the best for this patch
>1) Leave the patch installation to SD and add only one fileset as coreq to psf file
corequisite PHSS_35528.CORE2-SHLIBS,fa=HP-UX_B.11.23_IA | OS-Core.CORE2-KRN,fa=HP-UX_B.11.23_PA
>This automatically selects the other fileset

This is the key point.

>Both methods leave the system in same state (both patch filesets installed)

Using 1) seems easiest.
Srimalik
Valued Contributor

Re: Packagin query

I think , I have not more doubts. :)
Thanks for your help Dennis.

Sri
abandon all hope, ye who enter here..