Daria Mehra wrote:
> Is it necessary to have a separate root package just to include a single
> sample config file? Is there perhaps another location where I could put
> such a file, without proliferating packages?
>
There is no common package for this, so yes you will have to deliver a
root package for this. FWIW, the packages will end up combined under IPS.
> I would also appreciate a pointer to documentation about root and user
> packages if it exists.
>
There is a fairly long document that describes various packaging rules
somewhere on SAC (I think, though I don't recall where).
-Norm
> Thanks,
> -- daria
>
> Jim Walker wrote:
>
>> It looks like you will need root and user
>> packages for your software.
>>
>> The "r" and "u" suffixes in package names normally mean
>> that they are root and user packages.
>>
>> Cheers,
>> Jim
>>
>> Daria Mehra wrote:
>>
>>> I am getting this error when trying to "make install" my new package
>>> SUNWwebalizer:
>>>
>>> $ make install
>>> ../audit_pkg SUNWwebalizer
>>> SUNWwebalizer: ERROR: etc does not belong in a "usr" package
>>> SUNWwebalizer: ERROR: etc/webalizer does not belong in a "usr" package
>>> SUNWwebalizer: ERROR: etc/webalizer/sample.conf does not belong in a
>>> "usr" package
>>> *** Error code 1
>>> make: Fatal error: Command failed for target `pkg'
>>>
>>> My prototype_com has these, presumably wrong, lines:
>>>
>>> d none etc 755 root sys
>>> d none etc/webalizer 755 root bin
>>> f none etc/webalizer/sample.conf 644 root bin
>>>
>>> What's the right way to package a sample configuration file (which
>>> should be editable by the user)? I was looking at prototype files in
>>> other packages such as SUNWapchr but I must be missing something.
>>>
>>> Thanks,
>>> -- daria
>>> _______________________________________________
>>> sfwnv-discuss mailing list
>>> sfwnv-discuss at opensolaris.org
>>> http://mail.opensolaris.org/mailman/listinfo/sfwnv-discuss
>>>
>
> _______________________________________________
> sfwnv-discuss mailing list
> sfwnv-discuss at opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/sfwnv-discuss
>