Hi Glen,
   Yeah, I've done this lots. pkg and beadm are way cool, and I've taken
   abusive advantage of them in our lab!
   I should have used a different example with builds that were not
   releases...
   Let's say things have moved forward to build 118. Presuming my system
   has 2009.06 (a.k.a. build 111b2) on it, how would I get builds 116 and
   117 on my system? pkg image-update from /dev will fetch 118.
   Me presumption would be to manually do the same steps as image-update
   -- create a BE, mount it, then pkg install to it specifying the
   specific packages I wanted. That seems a bit hairy and quite prone to
   fat finger syndrome (at least for me), and I'd have to find the correct
   list of packages in the first place?
   My basic question, as someone who has to jump around between builds
   frequently is how do I install the one I need /today?/ In the "old"
   way, we kept the images around and jumpstarted each time...
   Glenn Lagasse wrote:

Hey Jon,

* Jon Aimone ([1][email protected]) wrote:

Hi,

I have some systems running older builds, like 2008.11, on which I now
need to do some testing with build 111b2 (a.k.a. 2009.06), and then move
on to build 116 without loosing the 2008.11 installation. I was hoping
there would be a way to use image-update to create a BE for 2009.06, and
then another BE for 116; but I see no way to tell image-update exactly
what I would like updated.

man pkg is your friend ;-)  I think.

  /usr/bin/pkg image-update [-fnvq] [--be-name name] [--no-refresh]
         [--no-index]

the interesting part is --be-name.  So, I *think* you could do:

pkg image-update --be-name 111b2 from your 2008.11 be.  This should
create a new be called 111b2 which is an update of your 2008.11 be.
Then when you want to move to 116, you can do the same thing (after
pointing at /dev of course instead of /release).

Cheers,


--
~~~\0/~~~~
Cheers,
Jon.
{-%]
========
If you always do what you've always done, you'll always get what you've always g
otten.
- Anon.
--------
When someone asks you, "Penny for your thoughts," and you put your two cents in,
 what happens to the other penny?
- G. Carlin (May 12, 1937 - June 22, 2008)

References

   1. mailto:[email protected]
begin:vcard
fn:Jon Aimone
n:Aimone;Jon
org:Sun Microsystems, Inc.;Storage Systems Quality Assurance
adr:MPK12-126;;12 Network Circle;Menlo Park;CA;94025;US
email;internet:[email protected]
title:Member of Technical Staff
tel;work:(650)786-8210
x-mozilla-html:FALSE
url:www.sun.com
version:2.1
end:vcard

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

Reply via email to