On Sun, May 25, 2008 at 4:30 PM, Shawn Walker <[EMAIL PROTECTED]> wrote:
> 2008/5/25 Peter Tribble <[EMAIL PROTECTED]>:
>
>> Are they equivalent? I would expect them to be different - I would (at
>> the very least) expect the opensolaris.org one to deliver its bits into
>> /usr, and the blastwave one to deliver into /opt/csw.
>>
>> And if I published my own ant package, it would (and very deliberately
>> so) deliver its bits somewhere different from the one from my OS vendor.
>
> Actually, I believe the intent here is that everything really does
> deliver its bits into the same place.

Surely not. That way madness lies.

> As the person installing the packages, if you want them to install
> into /opt/csw instead, you would just do:
>
> pkg image-create -F -a authname=http://blastwave.org /opt/csw
>
> Then:
>
> pkg -R /opt/csw install ant
>
> As such, there's really no reason for the bits to deliver themselves
> into /opt/csw, etc.

The two cases aren't the same - the root is a different concept to the
install prefix.

And if I simply wanted to install to an alternate image, I could
do it from the primary authority - I wouldn't have to go to a
separate source of the packages to do it.

> Some administrators are going to prefer having the isolated stack; but
> many users, I suspect, are going to want any packages they install to
> "integrate" with the rest of the system instead of living in an
> "isolated tree."

I expect the integrated packages to actually be integrated, and
therefore to come from the same trusted authority. The last thing
you want is a package from some other source delivering bits that
are assumed to be part of an integrated whole.

If packages from two sources really are equivalent, then why bother
having the second one at all?

And even if they are equivalent then there's no need for the unqualified
names to be the same. (What you do need is for the primary to certify
that a particular exact package from elsewhere is equivalent.)

-- 
-Peter Tribble
http://www.petertribble.co.uk/ - http://ptribble.blogspot.com/
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to