On Thu, Mar 11, 2004, Michael van Elst wrote:

> > > I looked through the online documentation but can't seem to find any
> > > reference as to what the <id> or <tag> identifies.  What does it mean?
> > > I noticed when I bootstrapped it on Solaris 8 the <tag> was <dcl>, but
> > > then when I'm now building it on Solaris 9 the <tag> changed to <ulo>.
> > > Why is that?  Can this tag be changed or manipulated for custom rebuilt
> > > packages?  That would be useful.  Then we can keep essentially the same
> > > naming convention with our own modified packages but have a different
> > > <tag> to identify us.
>
> The tag identifies different OpenPKG instances on the same machine
> and is by default computed from the prefix.
> E.g.:
> /usr/local/opkg -> ulo

Yes, and while in OpenPKG 1.3 the tag was hard-coded to be a compressed
string derived from the instance prefix, in OpenPKG 2.0 it is an
arbitrary string including some possible expansion constructs like
<compat> (for the old 1.3 prefix derivation), <loc> (for the 2.0 prefix
derivation), <opt> (for UUID v3 tags based on the package options),
<uuid> (for UUID v1 tags), <time> (for the current date and time),
<user>, <group> and <host>.

The tag is usually specified during bootstrapping with option "--tag"
but it can be overridden for each package on the "rpm --rebuild" command
line with an option "--tag", too.

                                       Ralf S. Engelschall
                                       [EMAIL PROTECTED]
                                       www.engelschall.com

______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
User Communication List                      [EMAIL PROTECTED]

Reply via email to