Thanks. Makes sense, and as you say, that will help me in a couple of other
places as well.

-Dave

On Jul 25, 2011, at 2:52 PM, Alan Coopersmith wrote:

> On 07/25/11 14:45, David Sechrest wrote:
>> 
>> In generating a manifest from a particular svr4 package, from these entries 
>> in the pkgmap:
>> 
>> 1 e preserve var/opt/sun/xvm/persistence/scn-agent/connection.properties 
>> 0600 root root 0 0 1311356425
>> 1 e preserve var/opt/sun/xvm/security/jsse/scn-agent/truststore 0600 root 
>> root 0 0 1311356425
>> 
>> I get these errors:
>> 
>> pkgsend: generate: ERROR: class action script used in SUNWscnconnmgt-ra: 
>> var/opt/sun/xvm/security/jsse/scn-agent/truststore belongs to "preserve" 
>> class
>> pkgsend: generate: ERROR: class action script used in SUNWscnconnmgt-ra: 
>> var/opt/sun/xvm/persistence/scn-agent/connection.properties belongs to 
>> "preserve" class
>> 
>> But it looks like the manifest is still generated correctly and has the 
>> following 2 entries for the above:
>> 
>> file reloc/var/opt/sun/xvm/persistence/scn-agent/connection.properties 
>> group=root mode=0600 owner=root 
>> path=var/opt/sun/xvm/persistence/scn-agent/connection.properties 
>> preserve=true
>> file reloc/var/opt/sun/xvm/security/jsse/scn-agent/truststore group=root 
>> mode=0600 owner=root path=var/opt/sun/xvm/security/jsse/scn-agent/truststore 
>> preserve=true
>> 
>> Setting "preserve=true" is exactly what I want. However, pkgsend still 
>> returns an error code which breaks
>> my build unless I ignore error returns which I'd rather not. Is there any 
>> way to suppress this particular error
>> condition? 
> 
> The solution most often used is simply to check in the generated manifest
> to your source code instead of re-generating it every build.   That will
> also make it easier for you to add IPS metadata that doesn't exist in the
> SVR4 package.
> 
> -- 
>       -Alan Coopersmith-        [email protected]
>        Oracle Solaris Platform Engineering: X Window System
> 

---
David Sechrest                                     Phone:  (408)276-5800   
x15800
Systems Management                        Email:  [email protected]
Oracle Corporation




_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to