Generates the lpp_name file required by the installp command.
adelppname -f Format -v Version -r ReleaseLevel -m Mod -F FixLevel -p Platform -u LppName.lp -o OutputFile -c Compids.table [ -t Type ] [ -l ProductName ] [ -a Path/liblpp.a ] [ -d FilesDirectory] [ -k APARsList] [ -L ]
In order to create the output lpp_name file, the adelppname command copies data from the input lppname file (including data from the input flags), appends three files (option.prereq, option.size and option.supersede), and calculates the space needed by the liblpp.a library and its members to include in the output file. If a liblpp.a file exists in the root subdirectory, the root size information will also be included in the output file.
Note: Since adelppname utilizes some of the files generated by adeinventory, it must be run after the adeinventory command has completed.
lppname.lp | The input lpp_name file must be specified by
the -u flag. It contains user-supplied information
prior to the build process. Sample input lpp_name file
follows:
bos.rte N B En_US Base Operating System Runtime #comments The fields in this file are: [option_name] [quiesce_char] [content] [language] [product_description] [comments] where:
|
option.prereq | The option.prereq file is a user-supplied file that specifies requisite options that must be installed prior to or along with the specified option. adelppname looks for this file in the current working directory; or, specify an alternate directory location using the -d flag. The prereq file is appended to the output lpp_name file. |
option.supersede | The option.supersede file
is a user-supplied file. The meaning of this file is changing with AIX Version 4 of
the operating system. Prior to AIX Version 4, the supersede file contained
a list of PTF IDs that were superseded by the specified option during an update.
The new update strategy for AIX Version 4 utilizes vrmf levels in place of PTF numbers. vrmf indicates
version, release, modification level and fix level. Larger vrmf levels are assumed to supersede lower vrmflevels.
Therefore requisites are satisfied by definition if the vrmf level of the option is greater than the requisite vrmf.
If for any reason this assumption becomes invalid, the supersede file is used in AIX Version 4 to indicate the earliest base level that is compatible with the current level. Any time a fileset has a requisite to an option that contains a supersede entry, the requisite is only satisfied if the vrmf level of the requisite is greater than or equal to the one indicated in the supersede file. The supersede file should only be used if binary compatibility is broken between base levels. adelppname will look for this file in the current working directory; or, specify an alternate directory location using the -d flag. The supersede file is appended to the output lpp_name file. |
option.size | This file is generated by the adeinventory command. adelppname looks for this file in the current working directory; or, specify an alternate directory location using the -d flag. The size file is included in the output lpp_name file. |
root/option.size | This file is generated by the adeinventory command, if the specified option includes a root part. adelppname looks for this file relative to the current working directory. The root/option.size file is included in the output lpp_name file. |
compids.table | The compids.table file
must be specified by the -c flag if the file -L flag was specified to include iFOR/LS information
in the lpp_name file. This is a user-supplied file that
contains a list of components/options and the information required for packaging
and distribution of these items. adelppname uses information
from this table to include the appropriate keys in its output file. The format
of this file is:
The format of these lines are: package name:component id:feature code:component release level: system release level:change team id(s):CMVC release:vendor_id: iFOR/LS_product_id:iFOR/LS_product_version: For example: bos.adt:575603001:5005:410:410:TX2527:XXX:IBM:1234567:12345678901: |
There are three types of output lpp_name files, specified by format types 1, 3, and 4.
The format of a type 4 lpp_name file (for AIX Version 4) includes a field on the VRM line (the line containing the lpp name). There are additional % separated sections in a type 4 lpp_name file. The empty % separated fields at the end of this example are for the iFOR/LS section and the Install By Keyword section, respectively.
4 R I bos.INed { bos.INed 04.01.0000.0000 01 N B En_US INed Editor [ % /usr/lib/INed 424 /usr/lib/objrepos 24 /usr/lib/INed/bin 264 /usr/lib/INed/forms 280 /usr/lib/INed/helpers 544 /usr/bin 936 /usr/lpp/bos.INed/inst_root/var 8 INSTWORK 128 48 /var 1032 /etc/objrepos 8 % INed.obj 4.1.0.0 % % % ] }
The adelppname command terminates processing with a non-zero return code if any of the following errors are detected:
Warnings do not affect the return code of adelppname and processing continues. adelppname displays a warning message describing any actions taken as the result of the warning.
If the content field (that is, the 3rd field on the first non-comment, non-blank line of the input lpp_name file) is D but the format (specified with the -f flag) is not 1, adelppname displays a warning message and use a type 1 format. D indicates the content is microcode, which utilizes a 3.1 format for the lpp_name file.