John Leser wrote:
>>
>> 1. usr/src/cmd/nano/install.sfw
>
> In response to Jim's comments, I've changed the install.sfw to do the
> entire install itself, rather than just correct a few files in the
> prototype. I was getting noise in the nightly build because the
> package's make install target doesn't set a lot of the permissions the
> way we want them. I've incorporated most of your comments, except the
> rm one no longer applies.
FYI ...
You could have corrected the permissions, that the 'make install' set,
by using the tool protofix - I've never checked but I'm guessing this
looks in the SUNW package's prototype_* files and changes the
permissions/ownership in the proto area to that specified by the
prototype_* files. Its invoked something like ...
# apply the file attributes from the packaging
for pkg in $(COMPONENT_PACKAGES:sh) ; do \
$(SRC)/tools/protofix --pkg $$pkg --perm ; \
done
this example was extracted from ...
"http://src.opensolaris.org/source/xref/sfw/usr/src/cmd/cups/Makefile.sfw"
Paul
--
----------------------------------------------------------------------
Paul Cunningham
Software Engineer
Tadpole Business Unit