summaryrefslogtreecommitdiff
path: root/usr/src/man/man1m/updatemedia.1m
blob: 0c6118eb54187a4d17bb4eb0b36580c11ba0cac3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
'\" te
.\" Copyright (c) 2008, Sun Microsystems, Inc. All Rights Reserved
.\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License").  You may not use this file except in compliance with the License.
.\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing.  See the License for the specific language governing permissions and limitations under the License.
.\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE.  If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
.TH updatemedia 1M "23 Sep 2009" "SunOS 5.11" "System Administration Commands"
.SH NAME
updatemedia \- modify Solaris media with patches and packages
.SH SYNOPSIS
.LP
.nf
\fB/usr/bin/updatemedia\fR  \fB-d\fR \fImedia-root\fR [\fB-v\fR] [\fB-o\fR \fIiso\fR] [\fB-l\fR \fIlabel\fR]
     \fIpkg_or_patch\fR [\fIpkg_or_patch\fR ...]
.fi

.SH DESCRIPTION
.sp
.LP
The \fBupdatemedia\fR utility takes a list of patches and packages as input and
updates the install miniroot in \fImedia-root\fR (the root directory of an
on-disk image of a Solaris installation media) to include the specified patches
and packages. These patches and packages are also placed in a subdirectory
called \fBDU\fR under the Solaris install image. For example:
.sp
.in +2
.nf
\fImedia-root\fR/Solaris_10/DU
.fi
.in -2
.sp

.sp
.LP
When booting a system from the updated media, the patches and packages will be
part of the booted Solaris image. They will also be applied to the target
system being installed at the end of the installation process.
.sp
.LP
If \fB-o\fR is specified, a bootable ISO image is created in the file
\fBmedia.iso\fR that contains the Solaris install media. The ISO image can then
be burned onto a CD/DVD with utilities such as \fBcdrw\fR(1) or
\fBcdrecord(1)\fR. (The latter is not a SunOS man page.)
.SH OPTIONS
.sp
.LP
The following options are supported:
.sp
.ne 2
.mk
.na
\fB\fB-d\fR \fImedia-root\fR\fR
.ad
.sp .6
.RS 4n
Top-level directory of on-disk image of Solaris installation media. This is
option must be specified.
.RE

.sp
.ne 2
.mk
.na
\fB\fB-o\fR \fIiso\fR\fR
.ad
.sp .6
.RS 4n
Create a Solaris ISO image of \fImedia-root\fR.
.RE

.sp
.ne 2
.mk
.na
\fB\fB-l\fR \fIlabel\fR\fR
.ad
.sp .6
.RS 4n
Label/volume name of the ISO image (if \fB-o\fR option is specified). If
\fB-o\fR is not specified, the name of Solaris directory under
\fImedia-root\fR, for example, \fBSolaris_10\fR, will be used.
.RE

.sp
.ne 2
.mk
.na
\fB\fB-v\fR\fR
.ad
.sp .6
.RS 4n
Verbose. Multiple \fB-v\fR options increase verbosity.
.RE

.SH OPERANDS
.sp
.LP
The following operands are supported:
.sp
.ne 2
.mk
.na
\fB\fIpkg_or_patch\fR [\fIpkg_or_patch\fR ...]\fR
.ad
.sp .6
.RS 4n
One or more patches or packages (you can have both patches and packages in a
single command) with which the Solaris installation media \fImedia-root\fR will
be updated.
.RE

.SH EXAMPLES
.LP
\fBExample 1 \fRUpdating a Solaris Install Image with Patch and Package
.sp
.LP
The following command updates the Solaris install image in \fBs10u1\fR by
adding patch \fB123456-07\fR and package \fBSUNWfoo\fR.

.sp
.in +2
.nf
# \fB/usr/bin/updatemedia -d s10u1 SUNWfoo 123456-07\fR
.fi
.in -2
.sp

.SH ATTRIBUTES
.sp
.LP
See \fBattributes\fR(5) for descriptions of the following attributes:
.sp

.sp
.TS
tab() box;
cw(2.75i) |cw(2.75i) 
lw(2.75i) |lw(2.75i) 
.
ATTRIBUTE TYPEATTRIBUTE VALUE
_
Interface StabilityCommitted
.TE

.SH SEE ALSO
.sp
.LP
\fBcdrw\fR(1), \fBmkbootmedia\fR(1M), \fBattributes\fR(5)
.sp
.LP
\fBmkisofs(8)\fR, (\fB/usr/share/man/man8/mkisofs.8\fR), in the
\fBSUNWfsman\fR package (not a SunOS man page)