[ Previous | Next | Table of Contents | Index | Library Home | Legal | Search ]

Commands Reference, Volume 5


udimkpkg Command

Purpose

Converts udi modules into installable packages for distribution.

Syntax

udimkpkg [ -b ] [ -s ] [ -T Directory ] [ -v ] PackageName

Description

The udimkpkg command attaches the udi static properties to the udi module file and packages the source and binary files into an installable udi package. By default both the binary and source files are packaged. The -b and -s flag are used to not package the binary or source file respectively. If the package defined by PackageName doesn't exist a new udi package file is created. If the udi package already exists, the package is appended.

Implementation Specifics

This command is supported only on the Itanium-based platform. It is not supported on POWER-based platforms.

Flags


-b Turns off packaging binary modules. The default is (no -b flag) to package the binary files.
-s Turns off packaging of the source files. The default is ( no -s flag) to package the source files.
-T Directory Defines Directory to be a temporary working directory. The default is the local directory.
-v Enables listing of commands being executed to standard output.

Exit Status

This command returns the following exit values:

0 The udi package file was successfully created.
1 An error occurred. An error message is listed to stderr.

Examples

  1. To create a udi package including both source and binaries, type:

    udimkpkg mydriver.udi
    
  2. To package a udi module, source only, type:

    udimkpkg -b mydriver.udi
    
  3. To package a udi module, binary only, type:

    udimkpkg -s mydriver.udi
    
  4. To package a udi module using a temporary workspace of /tmp outputting the package file to /tmp/udi, type:

    udimkpkg -T/tmp /tmp/udi/mydriver.udi
     
    udimkpkg mydriver.udi
    

Files


/usr/sbin/udimkpkg  

Related Information

The udibuild command, udisetup command.


[ Previous | Next | Table of Contents | Index | Library Home | Legal | Search ]