Hi Danek,

* Danek Duvall ([EMAIL PROTECTED]) wrote:
> On Wed, Mar 05, 2008 at 04:33:02PM -0800, Glenn Lagasse wrote:
> 
> > Is there something more I need to do here to make my version of
> > slim-utils supercede the version that the repo was initially populated
> > with?
> 
> The new version does supersede the old version -- "pkg install <pkg>" will
> install the latest version, or upgrade to it (after a catalog refresh, of
> course).  We don't currently have any form of garbage collection for old,
> unneeded versions, though.

Hmm, I'm not seeing the new version superseding the old version.  I'm
still seeing the old version get pulled in when distro constructor runs.
In case I'm missing some step, this is what I've done.

1 - Create an initial repo in the usual way (run make from
ips/src/util/distro-import).
2 - Make changes to SUNWslim-utils in the slim-utils repo and make a
package
3 - pkg.depotd -d /export/pkg-depot -p 10000
4 - pkgsend -s http://localhost:10000 send SUNWslim-utils
5 - pkg search -s http://localhost:10000 iotrace
basename pkg:/[EMAIL PROTECTED],5.11-1:20080229T102431Z
basename pkg:/[EMAIL PROTECTED],5.11-1:20080305T150135Z

So, my updated package is in the repo (since iotrace is a new file I'm
delivering)

6 - Build an image using distro constructor, where the only change I
make to the construction is to point at my local repo.

Once the image is done, none of my modifications (to existing or new
files) are in the resulting image.  It would appear that it's pulling
the initial version of SUNWslim-utils from when the repo was initially
generated.

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

Reply via email to