Print this page
6282 ONBLD man pages not pbchk clean
Reviewed by: Yuri Pankov <yuri.pankov@nexenta.com>
Reviewed by: Josef Sipek <jeffpc@josefsipek.net>

Split Close
Expand all
Collapse all
          --- old/usr/src/tools/scripts/Install.1onbld
          +++ new/usr/src/tools/scripts/Install.1onbld
↓ open down ↓ 13 lines elided ↑ open up ↑
  14   14  .\" and limitations under the License.
  15   15  .\"
  16   16  .\" When distributing Covered Code, include this CDDL HEADER in each
  17   17  .\" file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  18   18  .\" If applicable, add the following below this CDDL HEADER, with the
  19   19  .\" fields enclosed by brackets "[]" replaced with your own identifying
  20   20  .\" information: Portions Copyright [yyyy] [name of copyright owner]
  21   21  .\"
  22   22  .\" CDDL HEADER END
  23   23  .\"
  24      -.TH Install 1ONBLD "14 Jan 2010"
       24 +.TH INSTALL 1ONBLD "Jan 14, 2010"
  25   25  .SH NAME
  26   26  Install \- install a kernel from an ON workspace
  27   27  .SH SYNOPSIS
  28   28  .TP 8n
  29   29  .B Install
  30   30  .RB [ " \-w "
  31   31  .IR workspace " ]"
  32   32  .RB [ " \-s "
  33   33  .IR "source dir" " ]"
  34   34  .br
↓ open down ↓ 54 lines elided ↑ open up ↑
  89   89  by $SRC) and places the tarfile in /tmp/Install.username/Install.sun4c.tar.
  90   90  
  91   91  .SH OPTIONS
  92   92  .TP 20n
  93   93  .BI "-w" " ws"
  94   94  Install the system built in the ON workspace
  95   95  .I ws.  ws
  96   96  must be a built ON workspace \(em
  97   97  .B Install
  98   98  will not automatically invoke
  99      -.BR make "(1).  If " \-w " is not specified, " Install " uses the current
       99 +.BR make (1) .
      100 +If \-w is not specified,
      101 +.B Install
      102 +uses the current
 100  103  workspace (as indicated by $CODEMGR_WS).  If there is no current workspace,
 101  104  .B Install
 102  105  checks to see if you are in an appropriate source directory, e.g. uts/sun4c;
 103  106  if so,
 104  107  .B Install
 105  108  takes files from there.  Otherwise,
 106  109  .B Install
 107  110  looks for files under $SRC/uts.
 108  111  .TP
 109  112  .BI "-s" " source directory"
↓ open down ↓ 98 lines elided ↑ open up ↑
 208  211  in your library directory (~/LibInstall by default).
 209  212  .BR "-L" " implies " "-c" .
 210  213  .TP
 211  214  .BI "-l" " library file"
 212  215  Installs the system contained in
 213  216  .I library file.
 214  217  You may omit the ``.tar'' suffix.  For example,
 215  218  .RB `` "Install -l my_ws.sun4c -t machine:/" ''
 216  219  installs a system you previously built with
 217  220  .B "-L"
 218      -(from sun4c files in my_ws) on 
      221 +(from sun4c files in my_ws) on
 219  222  .IR machine:/ .
 220  223  This is equivalent to typing
 221  224  .RB `` "rsh machine '(cd /; tar xvf -)' <~/LibInstall/my_ws.sun4c.tar" '',
 222  225  but it's easier to remember.
 223  226  .TP
 224  227  .BI "-D" " lib directory"
 225  228  specifies the library directory [default: $HOME/LibInstall].
 226  229  .TP
 227  230  .BI "-G " glomname
 228  231  gloms /kernel and /usr/kernel together into a single /kernel directory.
↓ open down ↓ 27 lines elided ↑ open up ↑
 256  259  options.  You only need to specify the basename of the
 257  260  module(s), e.g. ``\fBInstall ufs nfs le\fR''.
 258  261  ``\fBInstall unix\fR'' is equivalent to ``\fBInstall -u\fR'', and
 259  262  ``\fBInstall modules\fR'' is equivalent to ``\fBInstall -m\fR''.
 260  263  .LP
 261  264  You can customize
 262  265  .B Install
 263  266  by creating a .Installrc file in your home directory.  .Installrc
 264  267  should consist of a list of command-line-style options, e.g:
 265  268  .LP
      269 +.nf
 266  270  .B
 267  271          -w /ws/foo
      272 +.fi
 268  273  .br
      274 +.nf
 269  275  .B
 270  276          -t labmachine:/mnt -pv
      277 +.fi
 271  278  .LP
 272  279  .B Install
 273  280  processes default options first, then .Installrc
 274  281  options, then command-line options.  In the case of
 275  282  conflicting options (e.g. \fB-uma\fR), the last one wins.
 276  283  .LP
 277  284  In order to use the most convenient form of
 278  285  .BR Install " (``" "Install -t machine:/" "''),"
 279  286  you will need to do the following on the target machine:
 280  287  .LP
 281  288  .br
      289 +.nf
 282  290          (1) add your machine name to the /etc/hosts.equiv file
      291 +.fi
 283  292  .br
      293 +.nf
 284  294          (2) add your username to the /etc/{passwd,shadow} files
      295 +.fi
 285  296  .br
      297 +.nf
 286  298          (3) chown -R yourself /kernel /usr/kernel
      299 +.fi
 287  300  .br
      301 +.nf
 288  302          (4) chmod -R u+w /kernel /usr/kernel
      303 +.fi
 289  304  .SH "ENVIRONMENT"
 290  305  .LP
 291  306  You can set the following variables in your environment:
 292  307  .LP
 293  308  ON_CRYPTO_BINS
 294  309  .IP
 295  310  file containing signed cryptographic binaries.  This is only needed if
 296  311  you are not building the closed-source tree.
 297  312  .LP
 298  313  INSTALL_RC [default: $HOME/.Installrc]
↓ open down ↓ 14 lines elided ↑ open up ↑
 313  328  where \fBInstall\fR gets/puts library files.  This can be overridden on
 314  329  the command line with \fB\-D\fR.
 315  330  .LP
 316  331  INSTALL_CP [default: cp -p]
 317  332  .IP
 318  333  the command to copy files locally
 319  334  .LP
 320  335  INSTALL_RCP [default: rcp -p]
 321  336  .IP
 322  337  the command to copy files remotely
 323      -.bp
 324  338  .SH "EXAMPLES"
 325  339  .LP
 326  340  .B
 327  341  Install -w /ws/blort -t machine:/
 328  342  .IP
 329  343  .RI "installs the system built in workspace " /ws/blort " on " machine:/
 330  344  .LP
 331  345  .B
 332  346  Install -w /ws/blort -T machine:/tmp
 333  347  .br
↓ open down ↓ 29 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX