1updatemedia(1M) System Administration Commands updatemedia(1M)
2
3
4
6 updatemedia - modify Solaris media with patches and packages
7
9 /usr/bin/updatemedia -d media-root [-v] [-o iso] [-l label]
10 pkg_or_patch [pkg_or_patch ...]
11
12
14 The updatemedia utility takes a list of patches and packages as input
15 and updates the install miniroot in media-root (the root directory of
16 an on-disk image of a Solaris installation media) to include the speci‐
17 fied patches and packages. These patches and packages are also placed
18 in a subdirectory called DU under the Solaris install image. For exam‐
19 ple:
20
21 media-root/Solaris_10/DU
22
23
24
25
26 When booting a system from the updated media, the patches and packages
27 will be part of the booted Solaris image. They will also be applied to
28 the target system being installed at the end of the installation
29 process.
30
31
32 If -o is specified, a bootable ISO image is created in the file
33 media.iso that contains the Solaris install media. The ISO image can
34 then be burned onto a CD/DVD with utilities such as cdrw(1) or
35 cdrecord(1). (The latter is not a SunOS man page.)
36
38 The following options are supported:
39
40 -d media-root
41
42 Top-level directory of on-disk image of Solaris installation media.
43 This is option must be specified.
44
45
46 -o iso
47
48 Create a Solaris ISO image of media-root.
49
50
51 -l label
52
53 Label/volume name of the ISO image (if -o option is specified). If
54 -o is not specified, the name of Solaris directory under media-
55 root, for example, Solaris_10, will be used.
56
57
58 -v
59
60 Verbose. Multiple -v options increase verbosity.
61
62
64 The following operands are supported:
65
66 pkg_or_patch [pkg_or_patch ...]
67
68 One or more patches or packages (you can have both patches and
69 packages in a single command) with which the Solaris installation
70 media media-root will be updated.
71
72
74 Example 1 Updating a Solaris Install Image with Patch and Package
75
76
77 The following command updates the Solaris install image in s10u1 by
78 adding patch 123456-07 and package SUNWfoo.
79
80
81 # /usr/bin/updatemedia -d s10u1 SUNWfoo 123456-07
82
83
84
86 See attributes(5) for descriptions of the following attributes:
87
88
89
90
91 ┌─────────────────────────────┬─────────────────────────────┐
92 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
93 ├─────────────────────────────┼─────────────────────────────┤
94 │Availability │SUNWcsu │
95 ├─────────────────────────────┼─────────────────────────────┤
96 │Interface Stability │Committed │
97 └─────────────────────────────┴─────────────────────────────┘
98
100 cdrw(1), mkbootmedia(1M), attributes(5)
101
102
103 mkisofs(8), (/usr/share/man/man8/mkisofs.8), in the SUNWfsman package
104 (not a SunOS man page)
105
106
107
108SunOS 5.11 23 Sep 2009 updatemedia(1M)