1pkg2du(1M) System Administration Commands pkg2du(1M)
2
3
4
6 pkg2du - convert driver packages to Driver Update format
7
9 /usr/bin/pkg2du [-f] [-v] [-d dir] [-o iso] [-l label]
10 [-r release] pkg [pkg ...]
11
12
14 The /usr/bin/pkg2du utility takes one or more packages as input and
15 converts them to Driver Update (DU) format. If the -d option is speci‐
16 fied, the resulting DU directory tree is placed in the directory dir.
17 If the -o option is specified, a Solaris ISO image of the DU directory
18 tree is written in the file iso. The ISO image can be burned onto
19 CD/DVD using cdrw(1) or cdrecord(1) (not a SunOS man page) and used
20 during Solaris installation.
21
22
23 At least one of the -d and -o options must be specified. If both are
24 specified, then both an ISO image and a directory tree are generated.
25
27 The following options are supported:
28
29 -d dir
30
31 Directory where the DU directory should be created.
32
33
34 -o iso
35
36 Create a Solaris ISO image of the DU directory.
37
38
39 -f
40
41 If dir/DU or iso exists, remove it without asking first.
42
43
44 -l label
45
46 Label/volume name of the ISO image (if -o option is specified).
47
48
49 -r release
50
51 Solaris release number to use. It takes the form of the return from
52 uname -r command, for example, 5.10. If unspecified, the release
53 number of the currently running Solaris is used.
54
55
56 -v
57
58 Verbose. Multiple -v options increase verbosity.
59
60
62 The following operands are supported:
63
64 pkg [pkg...]
65
66 One or more packages to be converted to DU format.
67
68
70 Example 1 Creating a DU CD/DVD
71
72
73 The following commands create a DU CD or DVD containing packages SUN‐
74 Wfoo and SUNWbar.
75
76
77 # /usr/bin/pkg2du -r 5.10 -o my.iso SUNWfoo SUNWbar
78 # /usr/bin/cdrw -i my.iso
79
80
81
83 See attributes(5) for descriptions of the following attributes:
84
85
86
87
88 ┌─────────────────────────────┬─────────────────────────────┐
89 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
90 ├─────────────────────────────┼─────────────────────────────┤
91 │Availability │SUNWcsu │
92 ├─────────────────────────────┼─────────────────────────────┤
93 │Interface Stability │Committed │
94 └─────────────────────────────┴─────────────────────────────┘
95
97 cdrw(1), mkbootmedia(1M), attributes(5)
98
99
100 mkisofs(8), (/usr/share/man/man8/mkisofs.8), in the SUNWfsman package
101 (not a SunOS man page)
102
103
104
105SunOS 5.11 23 Sep 2009 pkg2du(1M)