OpenSolaris

You are not signed in. Sign in or register.

Heads Up: pkginfo.tmpl now supports architecture specific class action scripts

Date: Fri, 13 Apr 2007 11:34:43 +1000
From: Greg Price <Greg.Price at Sun dot COM>
To: on-all at Sun dot COM, onnv-gate at onnv dot sfbay dot sun dot com
Subject: Heads Up: pkginfo.tmpl now supports architecture specific class action scripts

With the putback of 6545198, usr/src/pkgdefs/bld_awk_pkginfo.ksh has 
been modified to allow the delivery of specified class action scripts to 
be restricted to the packages of specified architectures.

Previously, any class action script (in a CLASSES= directive) would be 
delivered to all architectures.

With this change, a CLASSES_arch= directive (where arch would normally 
be sparc or i386) can optionally be specified so specified class action 
scripts should only be included in the package for that architecture.

With the change comes two current restrictions:

1. classes should be surrounded by quotes. e.g. CLASSES="none foo bar"

2. architecture specific CLASSES_arch= should precede CLASSES= directives

e.g.

CLASSES_i386="foo"
CLASSES="none"

Cheers,
Greg