Creates an install image in bff (backup format file) or tar format.
adepackage -s Ship_Path1:Ship_Path2:... -l LppName -f Output_Device -i Inslist [ -b Blocksize ] [ -F FileName ] [ -t ] [ -D ] [ -L ] [ -U V.R.M.F. ] [ -Y ]
The adepackage command reads the Inslist file specified with the -i flag and produces an install image in the location specified by the -f flag. The default format of the install image is backup format. The -t flag overrides the default and produces a tar image.
adepackage searches for the files from the Inslist in consecutive order, first in the current directory and then in the ship trees. The first occurrence of a file in the ship tree list is backed up. adepackage looks for the Lpp_Name file in the current directory. It also looks for liblpp.a in the current directory unless the -D flag is specified.
inslist | Required input file containing a list of file names as they should
be found on the customer's system. The format of an Inslist file entry is:
type uid gid mode fileName For example: F 2 2 555 /usr/bin/grep The format of a symlink entry in the Inslist is: type uid gid mode linkName targetFile For example: S 2 2 777 /usr/bin/fgrep /usr/bin/grep Hard link entries should immediately follow the Inslist entry of their target file. Hard links are considered attributes of the target file in the inventory database because they share the same inode as the target file. An example of an inslist entry with hard links is: F 2 2 555 /usr/bin/awk H 2 2 555 /usr/bin/nawk /usr/bin/awk |
firstFile | This file is specified with the -F flag and contains
a list of filenames that should be included on the media first. These files
are backed up before the lpp_name file and liblpp.a.
The format of this file is one file name per line. Comments should be denoted by a # in the first character of the line and are ignored. For example: # Comments # # /bosinst.data /image.data |
Warning messages may be displayed during execution of adepackage, but do not cause a non-zero return code. In the event of a fatal error, a message is displayed and adepackage exits with a non-zero return code.
adepackage -b 1024b -i /project/src/bos.net.tcp.server.il -f /dev/rmt0 -s \ /project/ship1:/project/ship2 -l bos_net.tcp.server
adepackage -b 512+256 -i /project/src/bos.net.tcp.server.il -f \ /selfix/tmp/tar.image -t -l bos_net.tcp.server -s /project/ship1:/project/ship2