[indiana-discuss] [pkg-discuss] src packages
Laszlo (Laca) Peter
Laszlo.Peter at Sun.COM
Thu Dec 11 13:09:03 PST 2008
On Thu, 2008-12-11 at 09:56 -0800, Danek Duvall wrote:
>
> One major problem is that packages don't have a 1:1 correspondence with
> source tarballs. In particular, multiple packages can stem from a single
> source base. If each package tries to install that tarball, then either
> you're wasting space by having multiple copies at different pathnames, or
> you're violating packaging rules by having multiple packages deliver at the
> same pathname.
That's a good point. I guess one option is putting the sources into
one of the packages built from the same source and referencing that
package from the other packages. Or to take that one step further,
create a separate source package and reference it from all binary
packages built from it. But I still think the IPS repo is a good
place to have the source packages.
> We already have defined package metadata that allows you to reference the
> sources needed to build the package, and tools can be built around that.
Right. It just doesn't seem to make sense to set up a separate
source repo that is doing very similar things to the IPS repo.
> Putting the sources into the package by content is too specific to your
> consolidation's construction methods.
Hmm... I would think that putting a url to a spec file is very
specific to my consolidation's construction methods. Putting the
sources there, in general, isn't. How can you identify the
sources used for building a specific SFW package?
Laca
More information about the indiana-discuss
mailing list