Bug 1819 - cannot find showrev command
: cannot find showrev command
Status: NEW
Product: opensolaris
software
: unspecified
: i86pc/amd64 OpenSolaris
: P2 major (vote)
: ---
Assigned To: osol/software watcher
: Aparna
:
:
:
:
:
  Show dependency treegraph
 
Reported: 2008-05-06 13:05 UTC by Aparna
Modified: 2009-04-26 09:39 UTC (History)
5 users (show)

See Also:


Attachments
Shell script based showrev(1) (9.60 KB, application/octet-stream)
2008-05-09 20:26 UTC, Clay Baenziger
no flags Details


Note

You need to log in before you can comment on or make changes to this bug.


Description Aparna 2008-05-06 13:05:02 UTC
# more /etc/release
                        OpenSolaris 2008.05 snv_86_rc3 X86
           Copyright 2008 Sun Microsystems, Inc.  All Rights Reserved.
                        Use is subject to license terms.
                            Assembled 26 April 2008

Couldn't find the showrev command on the system.
Comment 1 Dan Price 2008-05-07 23:48:01 UTC
Added Clay B. who has recently been doing work on showrev, to the CC list.

See http://blogs.sun.com/clayb/entry/removing_admintool_and_replacing_what
Comment 2 Clay Baenziger 2008-05-09 19:41:06 UTC
I indeed have a shell script version of showrev(1). I didn't realize we were
shipping patchadd/patchrm with OpenSolaris, so I need to see if I can just ship
showrev as an update to pkg:/SUNWswmt or something similar.

Thank you,
Clay
Comment 3 Clay Baenziger 2008-05-09 20:26:20 UTC
Created an attachment (id=289) [details]
Shell script based showrev(1)

Here's an experimental showrev(1) rewrite.
Comment 4 Clay Baenziger 2008-05-09 20:29:25 UTC
Okay, well it seems to work fine with OpenSolaris 2008.05; if you'd like to try
it, I've attached it to this bug for now. I've also pinged David Comay to see
if/when/where this will be included.

Thank you,
Clay
Comment 5 julie guzzetta 2008-05-12 13:11:02 UTC
Sun Studio 12 installer DOA because it has dependencies on showrev.
I tested the attached showrev.ksh with Sun Studio 12 installer on OpenSolaris
(by copying it to /bin/showrev), and now Sun Studio installer works fine.

Is it OK for us to provide this showrev.ksh in the Sun Down Load Center
for our users?
Comment 6 David Comay 2008-06-11 12:20:55 UTC
Julie, what information does the installer require from showrev(1)?

Please don't post the code as is until we decide how to proceed here.
Comment 7 julie guzzetta 2008-06-11 12:51:05 UTC
SS12ML installer uses 'showrev -p' to obtain the revision information about
patches.
Comment 8 Stephen Hahn 2009-04-26 09:39:23 UTC
(In reply to comment #7)
> SS12ML installer uses 'showrev -p' to obtain the revision information about
> patches.

Ultimately, the SS12ML installer will need to change to handle the OpenSolaris
installation cases.