diff options
author | Chris Lumens <clumens@redhat.com> | 2005-02-08 20:46:48 +0000 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2005-02-08 20:46:48 +0000 |
commit | 727f5a75aa9d619f2fc11108c7f1fddfb9fb8016 (patch) | |
tree | 6d074c6241735732c050cf3ab509ba47d2c3d928 /packages.py | |
parent | eb9c15c766e19efab46458c94a2569c51dc65cc1 (diff) | |
download | anaconda-727f5a75aa9d619f2fc11108c7f1fddfb9fb8016.tar.gz anaconda-727f5a75aa9d619f2fc11108c7f1fddfb9fb8016.tar.xz anaconda-727f5a75aa9d619f2fc11108c7f1fddfb9fb8016.zip |
Support --erroronfail as an option for %pre and %post blocks. This option
will display an error dialog and terminate installation, instead of just
logging a failure and continuing on (#124368).
Diffstat (limited to 'packages.py')
-rw-r--r-- | packages.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages.py b/packages.py index dbb5bc68b..b26dec180 100644 --- a/packages.py +++ b/packages.py @@ -54,8 +54,8 @@ def queryUpgradeContinue(intf, dir): sys.exit(0) return DISPATCH_FORWARD -def doPostAction(id, instPath): - id.instClass.postAction(instPath, flags.serial) +def doPostAction(id, instPath, intf = None): + id.instClass.postAction(instPath, flags.serial, intf) def firstbootConfiguration(id, instPath): if id.firstboot == FIRSTBOOT_RECONFIG: |