All code for the text installer has been moved to a mercurial repository 
on opensolaris.org. The gate can be cloned by running:
hg clone ssh://anon at hg.opensolaris.org/hg/caiman/text_installer

For those interested in seeing the UI "in-action," rather than trying to 
code review by solely poring through the source code, below you will 
find instructions for building the gate, and running the UI directly 
from your workspace.

As you might guess, running 'installer' code on a live system can be 
VERY RISKY, and carries the risk of data loss and/or system corruption. 
While the text installer UI currently has an available flag for running 
in "no install mode" (meaning, theoretically, no permanent changes are 
propagated to the system), the installer is still in development, and 
there is always the possibility of bugs that negate such protections. 
Please do NOT follow these instructions on any system which has data 
you're not willing to risk the chance of losing.

Now that you've been warned, here are the instructions:
(Note: $WS = the directory where you cloned the text installer gate to).
1) Build the gate following the standard instructions for building 
slim_source, as indicated under $WS/usr/src/README. Note that, in 
addition to the packages required for slim_source, SUNWgnu-gettext is 
also required.
2) cp 
$WS/proto/root_<arch>/usr/lib/python2.4/vendor-packages/osol_install/libzoneinfo.so
 
$WS/usr/src/cmd/text-install/osol_install
3) cp 
$WS/proto/root_<arch>/usr/lib/python2.4/vendor-packages/osol_install/tgt.so 
$WS/usr/src/cmd/text-install/osol_install
4) cd $WS/usr/src/cmd/text-install
5) export PYTHONPATH=`pwd`
6) python osol_install/text_install/text-install.py -n
Note: This last command must be run with root privileges. Also note the 
presence of the '-n' flag, which indicates 'dry-run' or 'no-install' 
mode. Again, no claims are being made that this code is yet 'release 
quality' or 'bug free,' so run these commands with the utmost caution.

Thank you,
Keith

Sue Sohn wrote:
> The Text Install project is requesting a code review of all code done 
> thus far.
>
> The webrev is located at:
>
> http://cr.opensolaris.org/~kemitche/text_v1
>
> We are holding a preliminary code review because the UI is mostly 
> complete and
> there is quite a lot of code to be reviewed. Although there will be 
> another code
> review later in the project, this will give people more time to review 
> the code
> and provide comments. Feel free to review all the files or a subset.
>
> Please send review comments by COB December 11, 2009.
>
> Keith will be holding a code walkthrough of the UI on Tuesday, 
> December 1 (time
> TBD). Interested parties should contact keith.mitchell at sun.com to 
> ensure proper
> coordination of the conference call details.
>
> Thanks,
> Sue
>

Reply via email to