Software Distributor Administrator Guide (September 2010)

======= 01/27/01 18:58:45 MST BEGIN swpackage SESSION
* Session started for user "root@sdtest.myco.com".
* Source: vewd:test.psf
* Target: vewd:/var/spool/sw
* Software selections:
*
* Options:
preview true
verbose 1
loglevel 1
logfile /var/adm/sw/swpackage.log
source_type file
target_type directory
package_in_place false
follow_symlinks false
include_file_revisions false
enforce_dsa true
reinstall_files true
reinstall_files_use_cksum false
write_remote_files false
create_target_acls true
* Beginning Selection Phase.
* Reading the Product Specification File (PSF) "test.psf".
* Reading the product "SD" at line 1.
* Reading the fileset "commands" at line 4.
======= 01/27/01 18:58:45 MST END swpackage SESSION
10.6 Packaging Tasks and Examples
To package the software products defined in the PSF product.psf into the distribution
depot /var/spool/sw and preview the task at the verbose level before actually
performing it, type:
swpackage -p -v -s product.psf @ /var/spool/sw
10.6.1 Registering Depots Created by swpackage
When a new depot is created by swpackage, it is not automatically registered with
the local host’s swagentd daemon.
To verify that the depot is registered, type:
swlist -l depot @ MyDepot
To register the depot, you must execute the swreg command:
swreg -l depot depot_to_register
Registering a depot makes it generally available as a source for swinstall and swcopy
tasks.
260 Creating Software Packages