On 06/10/2011 04:22, Danek Duvall wrote:
Chris Beal wrote:
Sorry if this is a dumb question. I've been modifying package manifests
using pkgmogrify, and I've noticed just now that if you pkgmogrify a
package manifest multiple times, you seem to send up with multiple copies
of the CDDL in it. Investigating it further it seems that what ever
comments are in the file that contains the transform are copied in to the
mogrified manifest. Is this expected behavior?
Yes. A "transform file" is a manifest just like any other, only we put
them in special directories because they don't define packages. But they
can contain any valid actions and comments, just like a "normal" manifest
can contain transforms. They're all dumped together when pkgmogrify is
run.
I wasn't aware of that, thanks. I am still surprised the comment from
the transform is output in to the manifest, but I guess that's how we
include the copyright and license of the manifest along with the license
listed in the manifest.
What is it that you're trying to do with pkgmogrify that this is causing a
problem?
Looking at it more, I think this is a red herring, but it was an
interesting difference between the manifest I am generating and the ones
from before my changes.
I'm trying to run two stages of pkgmogrify transforms where the second
is on;y run conditionally on the results of the first. But I think the
problem is more in the list which packages I'm mogrifying rather than
pkgmogrify it's self
Thanks
Chris
Danek
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss