diff options
author | Jeremy Katz <katzj@redhat.com> | 2003-10-17 21:17:14 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2003-10-17 21:17:14 +0000 |
commit | 000823796ca99d8b801b132840e2f6d690b90e6b (patch) | |
tree | 9e3cd04977091d2225c275cf74ce39d114852f32 /packages.py | |
parent | 86e86f87a2bd23851019d21a982925776da2409b (diff) | |
download | anaconda-000823796ca99d8b801b132840e2f6d690b90e6b.tar.gz anaconda-000823796ca99d8b801b132840e2f6d690b90e6b.tar.xz anaconda-000823796ca99d8b801b132840e2f6d690b90e6b.zip |
if rhgb gets installed, add rhgb to the boot loader append line
Diffstat (limited to 'packages.py')
-rw-r--r-- | packages.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/packages.py b/packages.py index 7ca069933..5aa2da7cb 100644 --- a/packages.py +++ b/packages.py @@ -987,7 +987,10 @@ def doInstall(method, id, intf, instPath): os.unlink("/var/lib/rpm") except Exception, e: log("failed to unlink /var/lib/rpm: %s" %(e,)) - + + if id.grpset.hdrlist.has_key("rhgb") and id.grpset.hdrlist["rhgb"].isSelected(): + log("rhgb installed, adding to boot loader config") + id.bootloader.args.append("rhgb") instLog.close () |