Running the epkg command in interim fix interactive mode
By default, the epkg command is run in interactive mode. The only required parameter is the interim fix label.
If you interrupt a running epkg command session, the interim fix control file is saved. If you start a new session with the same interim fix label, you are asked whether you want to keep working with the previous interim fix control file. You can use the -u flag to answer this question.
The epkg command maintains a record
of the question order and allows the user to navigate between questions
by using subcommands. Also, the epkg command remembers
the previous answer the user provided and sets that answer as the
default answer. The epkg subcommands are the following:
- b!
- Returns to the previous question.
- s!
- Shows the current interim fix control file.
- q!
- Quits without saving interim fix control file (using the Ctrl-C key sequence will prompt this subcommand).
- h!
- Displays help information for the current question.
The epkg command asks the following
questions, one at a time:
1. Enter interim fix abstract [38 bytes maximum]:
** If "-s" flag is specified, go to question #3 ***
2. Does this interim fix deliver one or more files ? (yes/no):
** If "no", go to question #9 **
3. Enter the local ship file location for interim fix file number 1:
4. Enter target location for interim fix file number 1:
5. Select file type for interim fix file number 1:
1) Standard (file or executable)
2) Library member
6. Select the installer which tracks the file that is being fixed by interim fix
file number 1:
1) Currently tracked by installp.
2) Currently tracked by RPM.
3) Currently tracked by ISMP.
4) Currently tracked by another installer.
5) This is a NEW file that will be tracked by installp.
6) This is a NEW file that will be tracked by RPM.
7) This is a NEW file that will be tracked by ISMP.
8) This is a NEW file that will be tracked by another installer.
9) Not tracked by any installer.
*** If "-m flag" and not new go to #7.1 ***
*** If new, go to #7.2 ***
*** Else, go to #8 ***
7.1 Enter the ACL for file 1 in the format of <owner>:<group>:<octal modes>.
For example to make the user="root", the group="system", and the modes "444",
you would enter root:system:444. Enter "." if you want to keep the default
(i.e. current) permissions on the existing target file.
7.2 Enter the ACL for file 1 in the format of <owner>:<group>:<octal modes>.
For example to make the user="root", the group="system", and the modes "444",
you would enter root:system:444.
8. Are there more interim fix files ? (yes/no):
** If "yes", increment file and go to question #3 **
** If "no" and "-s" flag, go to #14 **
** If "no" go to question #9 **
9. Enter the local location for the pre-install script or "." to skip.
10. Enter the local location for the post-install script or "." to skip.
11. Enter the local location for the pre-remove script or "." to skip.
12. Enter the local location for the post-remove script or "." to skip.
14. Is a reboot required after installing this interim fix ? (yes/no):
15. Enter the location for the APAR reference file.
16. Enter the local location for the installp prerequisite file or "." to skip.
*** This question is skipped if -p flag ***
17. Enter the local location for the interim fix description file or "." to compose it
in an editor:
*** This question is skipped if "-d" flag is specified ***
*** If the description file is not specified, the user will be ***
*** put into an editor to compose it. The user can specify ***
*** which editor to use by setting the EDITOR global environment ***
*** variable. The default editor is /usr/bin/vi. ***
After all of the questions are answered, the epkg command
verifies the interim fix control
file and creates a compressed tar package
that can be installed by using the emgr command.