On 07/28/11 22:39, Tim Foster wrote:
On Thu, 2011-07-28 at 18:19 +0100, Enda O'Connor wrote:
On 07/28/11 17:44, Danek Duvall wrote:
pkg is fine; either pkgdepend or the ON build is a little off.  If you look
at the output of pkg contents -m core-os, you'll see that svc.startd is
delivererd both for the global zone as well as for non-global zones.  It's
the same file; the difference is that the non-global variant has a
bypass-generate attribute attached to it.  I'm not sure how that got there
on just that one variant.

That's documented in the manifest:

  382 # In a non-global zone, svc.startd does not call any functions
  383 # from libgrubmgmt, so we create a non-global zone version of this
  384 # action to bypass that derived dependency.
  385 file path=lib/svc/bin/svc.startd group=sys mode=0555 \
  386     pkg.depend.bypass-generate=libgrubmgmt.so.1 \
  387     variant.opensolaris.zone=nonglobal
  388 file path=lib/svc/bin/svc.startd group=sys mode=0555 \
  389     variant.opensolaris.zone=global

it's there to prevent us dragging packages into the zone that aren't
actually needed there. (see 7007545)

I logged 7072325 to cover this one.

Why is this a bug?
I've closed this out, so variant.opensolaris.zone is not an indicator on it's own of a file being global only, how does one search for files that are truely gloabl zone only?

Enda

        cheers,
                        tim


_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to