I'd say that it was because you have:

SUNW_PKGTYPE="usr"

in your pkginfo.tmpl. For a root package it needs to be:

SUNW_PKGTYPE="root"

This assumes that as pointed out by Paul you also have a SUNWnagiosu 
package which contains all the /usr files and directories and don't have 
them all in one package.

Amanda

deepti vaidya wrote:
> HI,
>
> I am porting nagios to /release repository.
>
> Some of the files in nagios go to /usr directory and some 
> configuration files  go to /etc directory.
>
> For the /etc direcorty, make install is giving the following error..
>
>
>
> SUNWnagiosr: ERROR: etc does not belong in a "usr" package
> SUNWnagiosr: ERROR: etc/apache2 does not belong in a "usr" package
> SUNWnagiosr: ERROR: etc/apache2/2.2 does not belong in a "usr" package
> SUNWnagiosr: ERROR: etc/apache2/2.2/nagios.conf does not belong in a 
> "usr" package
> SUNWnagiosr: ERROR: etc/init.d does not belong in a "usr" package
> SUNWnagiosr: ERROR: etc/init.d/nagios does not belong in a "usr" package
>
> Could anyone help me fix this issue.
>
>
>
> Regards,
> Deepti
> _______________________________________________
> sfwnv-discuss mailing list
> sfwnv-discuss at opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/sfwnv-discuss

Reply via email to