MyWebUniversity.com Home Page
 



OpenSolaris man pages main menu


System Administration Commands                     patchmedia(1M)



NAME
     patchmedia - modify Solaris media with patches and packages

SYNOPSIS
     /usr/bin/patchmedia  -d media-root [-v] [-o iso] [-l label]
          pkgorpatch [pkgorpatch ...]


DESCRIPTION
     The patchmedia utility takes a list of patches and  packages
     as input and updates the install miniroot in media-root (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 DU under the Solaris install image. For example:

       media-root/Solaris10/DU




     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.


     If -o is specified, a bootable ISO image is created  in  the
     file  media.iso that contains the Solaris install media. The
     ISO image can then be burned onto a  CD/DVD  with  utilities
     such  as  cdrw(1) or cdrecord(1). (The latter is not a SunOS
     man page.)

OPTIONS
     The following options are supported:

     -d media-root

         Top-level directory of on-disk image of Solaris  instal-
         lation media. This is option must be specified.


     -o iso

         Create a Solaris ISO image of media-root.


     -l label

         Label/volume name of the ISO  image  (if  -o  option  is
         specified).  If -o is not specified, the name of Solaris
         directory under  media-root,  for  example,  Solaris10,



SunOS 5.11          Last change: 29 Jul 2008                    1






System Administration Commands                     patchmedia(1M)



         will be used.


     -v

         Verbose. Multiple -v options increase verbosity.


OPERANDS
     The following operands are supported:

     pkgorpatch [pkgorpatch ...]

         One or more patches  or  packages  (you  can  have  both
         patches and packages in a single command) with which the
         Solaris installation media media-root will be updated.


EXAMPLES
     Example 1 Updating a Solaris Install Image  with  Patch  and
     Package


     The following command updates the Solaris install  image  in
     s10u1 by adding patch 123456-07 and package SUNWfoo.


       # /usr/bin/patchmedia -d s10u1 SUNWfoo 123456-07



ATRIBUTES
     See attributes(5) for descriptions of the  following  attri-
     butes:



     
           ATRIBUTE TYPE               ATRIBUTE VALUE       
    
     Availability                 SUNWcsu                     
    
     Interface Stability          Committed                   
    


SEE ALSO
     cdrw(1), mkcd(1M), attributes(5)


     mkisofs(8), (/usr/share/man/man8/mkisofs.8), in the  SUNWfs-
     man package (not a SunOS man page)



SunOS 5.11          Last change: 29 Jul 2008                    2



OpenSolaris man pages main menu

Contact us      |       About us      |       Term of use      |       Copyright © 2000-2010 MyWebUniversity.com ™