On 03/20/12 18:50, Brock Pytlik wrote:
On 03/20/12 18:45, Niall Power wrote:
Hi Tim & Brock,
On 21/03/2012 12:19, Tim Foster wrote:
On 03/21/12 02:06 PM, Brock Pytlik wrote:
The pkgdepend man page describes what you need to do in detail. At a
high level, you'll tag the action(s) which produce the dependency on
system/library/[email protected],5.11-0.175.1.0.0.11 (in your
case,
at minimum the file action that delivers installadm since it imports
bootmgmt) so you'd do something like
'pkg.depend.bypass-generate=bootmgmt'.
That's the correct thing to do here. Be sure to add a comment saying
why you're bypassing dependency generation on this file, and add a
comment warning developers to check that the manual dependency always
exists, and is kept up to date lest the file you're actually
depending on within that package gets refactored into another package
without the manual dependency being updated.
I'll try that out. So I am guessing that it would look something like
the following?
file \
path=usr/lib/python2.6/vendor-packages/osol_install/auto_install/set_service.py
\
group=sys pkg.depend.bypass-generate=system/library/boot-management
I assume both .py and .pyc files need to be correspondingly tagged also.
You should only need to tag the .py files, pyc files aren't analyzed.
Remember that the value of bypass-generate is the file name/path, not
the package name.
I would go ahead and tag the .pyc files; long-term, we'll need to
consider analyzing .pyc files using the parse tree as python programs
are not required to deliver the .py files.
-Shawn
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss