4 .\"
5 .\" CDDL HEADER START
6 .\"
7 .\" The contents of this file are subject to the terms of the
8 .\" Common Development and Distribution License (the "License").
9 .\" You may not use this file except in compliance with the License.
10 .\"
11 .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
12 .\" or http://www.opensolaris.org/os/licensing.
13 .\" See the License for the specific language governing permissions
14 .\" and limitations under the License.
15 .\"
16 .\" When distributing Covered Code, include this CDDL HEADER in each
17 .\" file and include the License file at usr/src/OPENSOLARIS.LICENSE.
18 .\" If applicable, add the following below this CDDL HEADER, with the
19 .\" fields enclosed by brackets "[]" replaced with your own identifying
20 .\" information: Portions Copyright [yyyy] [name of copyright owner]
21 .\"
22 .\" CDDL HEADER END
23 .\"
24 .TH INSTALL 1ONBLD "Jan 14, 2010"
25 .SH NAME
26 Install \- install a kernel from an ON workspace
27 .SH SYNOPSIS
28 .TP 8n
29 .B Install
30 .RB [ " \-w "
31 .IR workspace " ]"
32 .RB [ " \-s "
33 .IR "source dir" " ]"
34 .br
35 .RB [ " \-k "
36 .IR "kernel arch" " ]"
37 .RB "[ " \-n " | " \-t|T
38 .IR target " ]"
39 .br
40 .RB [ " \-u|m|a " ]
41 .RB [ " \-v|V|q " ]
42 .RB [ " \-c|p " ]
43 .br
268 .LP
269 .nf
270 .B
271 -w /ws/foo
272 .fi
273 .br
274 .nf
275 .B
276 -t labmachine:/mnt -pv
277 .fi
278 .LP
279 .B Install
280 processes default options first, then .Installrc
281 options, then command-line options. In the case of
282 conflicting options (e.g. \fB-uma\fR), the last one wins.
283 .LP
284 In order to use the most convenient form of
285 .BR Install " (``" "Install -t machine:/" "''),"
286 you will need to do the following on the target machine:
287 .LP
288 .br
289 .nf
290 (1) add your machine name to the /etc/hosts.equiv file
291 .fi
292 .br
293 .nf
294 (2) add your username to the /etc/{passwd,shadow} files
295 .fi
296 .br
297 .nf
298 (3) chown -R yourself /kernel /usr/kernel
299 .fi
300 .br
301 .nf
302 (4) chmod -R u+w /kernel /usr/kernel
303 .fi
304 .SH "ENVIRONMENT"
305 .LP
306 You can set the following variables in your environment:
307 .LP
308 INSTALL_RC [default: $HOME/.Installrc]
|
4 .\"
5 .\" CDDL HEADER START
6 .\"
7 .\" The contents of this file are subject to the terms of the
8 .\" Common Development and Distribution License (the "License").
9 .\" You may not use this file except in compliance with the License.
10 .\"
11 .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
12 .\" or http://www.opensolaris.org/os/licensing.
13 .\" See the License for the specific language governing permissions
14 .\" and limitations under the License.
15 .\"
16 .\" When distributing Covered Code, include this CDDL HEADER in each
17 .\" file and include the License file at usr/src/OPENSOLARIS.LICENSE.
18 .\" If applicable, add the following below this CDDL HEADER, with the
19 .\" fields enclosed by brackets "[]" replaced with your own identifying
20 .\" information: Portions Copyright [yyyy] [name of copyright owner]
21 .\"
22 .\" CDDL HEADER END
23 .\"
24 .\" Copyright 2018 Joyent, Inc.
25 .\"
26 .TH INSTALL 1ONBLD "Jan 14, 2010"
27 .SH NAME
28 Install \- install a kernel from an ON workspace
29 .SH SYNOPSIS
30 .TP 8n
31 .B Install
32 .RB [ " \-w "
33 .IR workspace " ]"
34 .RB [ " \-s "
35 .IR "source dir" " ]"
36 .br
37 .RB [ " \-k "
38 .IR "kernel arch" " ]"
39 .RB "[ " \-n " | " \-t|T
40 .IR target " ]"
41 .br
42 .RB [ " \-u|m|a " ]
43 .RB [ " \-v|V|q " ]
44 .RB [ " \-c|p " ]
45 .br
270 .LP
271 .nf
272 .B
273 -w /ws/foo
274 .fi
275 .br
276 .nf
277 .B
278 -t labmachine:/mnt -pv
279 .fi
280 .LP
281 .B Install
282 processes default options first, then .Installrc
283 options, then command-line options. In the case of
284 conflicting options (e.g. \fB-uma\fR), the last one wins.
285 .LP
286 In order to use the most convenient form of
287 .BR Install " (``" "Install -t machine:/" "''),"
288 you will need to do the following on the target machine:
289 .LP
290 .nf
291 (1) add your machine name to the /etc/hosts.equiv file
292 .fi
293 .br
294 .nf
295 (2) add your username to the /etc/{passwd,shadow} files
296 .fi
297 .br
298 .nf
299 (3) chown -R yourself /kernel /usr/kernel
300 .fi
301 .br
302 .nf
303 (4) chmod -R u+w /kernel /usr/kernel
304 .fi
305 .SH "ENVIRONMENT"
306 .LP
307 You can set the following variables in your environment:
308 .LP
309 INSTALL_RC [default: $HOME/.Installrc]
|