On Thu, Apr 02, 2009 at 12:20:52AM -0500, Shawn Walker wrote:

> 
> On Wed, 2009-04-01 at 22:10 -0700, Danek Duvall wrote:
> > Here 'tis:
> > 
> >     http://cr.opensolaris.org/~dduvall/pkg-nohash/
> 
> Looks right, but I would note that this syntax won't work with pkgsend
> unless you also specify pkg.size.
> 
> It surprises me that it works ok with the importer.

The line

    action.attrs["pkg.size"] = str(os.stat(fname).st_size)

seems to do the trick.  Perhaps pkgsend could be enhanced to do the same.

Danek
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to