diff options
author | Jeremy Katz <katzj@redhat.com> | 2005-01-11 21:06:51 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2005-01-11 21:06:51 +0000 |
commit | b9f606894762c35f63db9b424610cc77c241eb60 (patch) | |
tree | 86b6d138df22c40347dd5ff8fdddc17ce5484f9b | |
parent | b63c4b58026ab4437193c3985d53e939819c7bcd (diff) | |
download | anaconda-b9f606894762c35f63db9b424610cc77c241eb60.tar.gz anaconda-b9f606894762c35f63db9b424610cc77c241eb60.tar.xz anaconda-b9f606894762c35f63db9b424610cc77c241eb60.zip |
2005-01-11 Jeremy Katz <katzj@redhat.com>
* packages.py (readPackages): Ensure that the Core group exists in
the comps file (#143930)
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | packages.py | 12 |
2 files changed, 17 insertions, 0 deletions
@@ -1,3 +1,8 @@ +2005-01-11 Jeremy Katz <katzj@redhat.com> + + * packages.py (readPackages): Ensure that the Core group exists in + the comps file (#143930) + 2005-01-10 Jeremy Katz <katzj@redhat.com> * dispatch.py (installSteps): Pass new arg to desktopchoice diff --git a/packages.py b/packages.py index c46fedb8c..05b3a72c1 100644 --- a/packages.py +++ b/packages.py @@ -178,6 +178,18 @@ def readPackages(intf, method, id): "Press <return> to try again.")) continue + # people make bad tree copies all the time. let's just mandate that + # the Core group has to exist in the comps file else we complain + if not grpset.groups.has_key("core"): + intf.messageWindow(_("Error"), + _("The comps file in your installation tree is " + "missing critical groups. Please ensure that " + "your install tree has been correctly " + "generated."), + type="custom", custom_icon="error", + custom_buttons=[_("_Exit")]) + sys.exit(0) + while iutil.getArch() == "ia64": try: method.mergeFullHeaders(hdrlist) |