Software Distributor Administration Guide (March 2009)

Table Of Contents
10.6.4 Packaging Security ...........................................................................................258
10.6.4.1 ACL Creation ............................................................................................259
10.6.5 Repackaging or Modifying a Software Package ...............................................260
10.6.6 Packaging In Place ............................................................................................261
10.6.7 Following Symbolic Links in the Source ..........................................................261
10.6.8 Generating File Revisions .................................................................................261
10.6.9 Depots on Remote File Systems .......................................................................262
10.6.10 Verifying the Software Package ......................................................................262
10.6.11 Packaging Patch Software................................................................................263
10.6.12 Writing to Multiple Tapes ...............................................................................263
10.6.13 Making Tapes from an Existing Depot ...........................................................264
11 Using Control Scripts ............................................................................................................265
11.1 Introduction to Control Scripts.................................................................................265
11.1.1 Types of Control Scripts ...................................................................................266
11.1.1.1 Space Files.................................................................................................269
11.1.1.2 Script Interpreter.......................................................................................269
11.1.1.3 Control Script Format ...............................................................................270
11.2 General Script Guidelines .........................................................................................270
11.3 Packaging Control Scripts.........................................................................................271
11.3.1 Control Script Location on the File System During Execution ........................272
11.4 Using Environment Variables ...................................................................................273
11.4.1 Variables That Affect All SD-UX Commands...................................................273
11.4.1.1 LANG........................................................................................................273
11.4.1.2 LC_ALL.....................................................................................................274
11.4.1.3 LC_CTYPE.................................................................................................274
11.4.1.4 LC_MESSAGES.........................................................................................274
11.4.1.5 LC_TIME...................................................................................................274
11.4.1.6 TZ..............................................................................................................274
11.4.2 Variables That Affect All SD-UX Scripts...........................................................274
11.4.2.1 SW_CATALOG..........................................................................................274
11.4.2.2 SW_CONTROL_DIRECTORY .................................................................274
11.4.2.3 SW_CONTROL_TAG................................................................................274
11.4.2.4 SW_LOCATION .......................................................................................275
11.4.2.5 SW_PATH .................................................................................................275
11.4.2.6 SW_ROOT_DIRECTORY .........................................................................275
11.4.2.7 SW_SESSION_OPTIONS..........................................................................276
11.4.2.8 SW_SOFTWARE_SPEC.............................................................................276
11.4.3 Variables That Affect swinstall and swremove.................................................276
11.4.3.1 SW_DEFERRED_KERNBLD ....................................................................276
11.4.3.2 SW_INITIAL_INSTALL ...........................................................................277
11.4.3.3 SW_KERNEL_PATH ................................................................................277
11.4.3.4 SW_SESSION_IS_KERNEL.......................................................................277
Table of Contents 11