On Thu, Mar 05, 2009 at 01:37:21PM -0600, Tom Mueller (pkg-discuss) wrote: > The problem isn't with the client API. It's with publishing. How is one at > build time supposed to generate a pkgsend request that looks like this: > > pkgsend add set name="pkg.icon" value="130989AB341248..." > > where the value is the SHA1 value for some file. It's much easier to > generate: > > pkgsend add set name="pkg.icon" value="images/myicon.gif"
Yes. We could use a publication-time mechanism to insert the hash of a given file into set actions in order to do this. Until that happens, you'll have to run sha1sum or digest -a sha1 on the icon, and stuff the result into the manifest manually. Danek _______________________________________________ pkg-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/pkg-discuss
