Dan,
So does this mean that pkg(5) would have the special package names "SUNWipkg" and "entire" hardcoded into it somewhere?

For the multi-platform packaging of IPS, we use the package name "pkg" rather than SUNWipkg and there is no entire package. Can this be made configurable somehow? Maybe a special attribute on certain packages ("update-me-first" or something like that)?

I'd still like to see the message after the successful update be driven from content in packages rather than hardcoded into the pkg(5) software.

Thanks.
Tom

Dan Price wrote:
After cornering Dave Comay for a little while this afternoon, I have
revised this proposal.  Here is the new proposal:

At image-update time:

1) pkg(5) will check itself to see if it SUNWipkg is downrev from the
   latest version published against the current 'entire' incorporation.
   If not, it will emit a message asking the user to update the packaging
   system and exit.

2) Once SUNWipkg is up to date, we'll proceed with the image-update as
   before.  AFTER a successful update, we'll print a note about consulting
   the release notes.

   I'd be happy to use a short-form URL for this information, if someone
   could help me to obtain one.  Offline, I've asked David, Dave, Kelly, and
   Glynn to assign an owner to resolve the various criticisms posted about
   the release notes.

Here's how it will go.  I am still adjusting the messages but these
are close to the final versions:


# pkg image-update
Checking that SUNWipkg (in '/') is up to date.
WARNING: pkg(5) appears to be out of date, and should be updated before
running image-update.

Please update pkg(5) using 'pfexec pkg install SUNWipkg' and then retry
the image-update.

# pkg install SUNWipkg
DOWNLOAD                                    PKGS       FILES     XFER (MB)
...

# pkg image-update
Checking that SUNWipkg (in '/') is up to date.
DOWNLOAD                                    PKGS       FILES     XFER (MB)
SUNWgnome-img-editor 288/606 18723/29543 1133.25/1854.24 ...
PHASE                                        ACTIONS
Removal Phase 7375/7375 Update Phase 24050/24050 Install Phase 13176/13176 Reading Existing Index 8/8 Indexing Packages 606/606 test has been updated successfully

---------------------------------------------------------------------------
NOTE: Please review release notes posted at:
    http://opensolaris.org/os/project/indiana/resources/rn3/
---------------------------------------------------------------------------

#


begin:vcard
fn:Tom Mueller
n:Mueller;Tom
org:Sun Microsystems, Inc.;Update Center Software
adr:;;21915 Hillandale Dr;Elkhorn;NE;68022;USA
email;internet:[EMAIL PROTECTED]
title:Senior Staff Engineer
tel;work:877-250-4011
tel;fax:877-250-4011
tel;home:402-916-9943
x-mozilla-html:TRUE
version:2.1
end:vcard

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

Reply via email to