Mike Kupfer wrote:
> My SPARC build in a Teamware workspace using the onnv-scm nightly(1)
> worked, except I got these funny warning messages for the SUNWcsd
> package:
>
> ## Validating control scripts.
> WARNING: not sure where script <i.initd> gets the parameter at line <170>.
> WARNING: not sure where script <i.initd> gets the parameter at line <170>.
> WARNING: not sure where script <i.initd> gets the parameter at line <170>.
> WARNING: not sure where script <i.initd> gets the parameter at line <170>.
>
> These messages are apparently due to this code in i.initd:
>
> 170 awk '$2 == "l" && $3 =="initd" {print $4, $2}' $PKGMAP | \
> 171 sed -e 's:^etc/:/etc/:' | \
> 172 $INSTALLF -c initd $PKGINST - && exit 0 || exit 2
>
> AFAICT these warnings are harmless, but I thought I'd mention them in
> case someone else understands better what's going on.
>
> Apparently pkgmk uses a lex script[1] to review CAS scripts for various
> mistakes, and one of the things it checks for is $<number> references
> other than $0 and $1. The script tries to be smart about shell
> functions and awk invocations, but I guess it's somehow getting confused
> here.
>
> mike
>
> [1] scriptvfy.l in the package tools download from the Install
> consolidation.
> _______________________________________________
> scm-migration-dev mailing list
> scm-migration-dev at opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/scm-migration-dev
I thought those were known issues... people in #onnv had talked about
that in the past - nobody ever root caused it though. Dave Marker might
know more...
-steve
--
stephen lau // stevel at opensolaris.org | http://whacked.net
opensolaris // solaris kernel development