diff options
author | Jeremy Katz <katzj@redhat.com> | 2003-09-16 22:13:19 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2003-09-16 22:13:19 +0000 |
commit | 7ea8efefb56871c3a4743f9a4773f49ba5f4f436 (patch) | |
tree | dea90e04ff2a3c29e9c3ad994ecb6a751d84eb68 | |
parent | 0884ebfa1f628251b671d9222af1f8760fe83f87 (diff) | |
download | anaconda-7ea8efefb56871c3a4743f9a4773f49ba5f4f436.tar.gz anaconda-7ea8efefb56871c3a4743f9a4773f49ba5f4f436.tar.xz anaconda-7ea8efefb56871c3a4743f9a4773f49ba5f4f436.zip |
move the check for the existence of a kernel to be earlier (but leave the
other one for now; remove on HEAD). (#104432)
-rw-r--r-- | packages.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/packages.py b/packages.py index ab8b36092..c65d4d18b 100644 --- a/packages.py +++ b/packages.py @@ -176,6 +176,16 @@ def readPackages(intf, method, id): _("Unable to merge header list. This may be " "due to a missing file or bad media. " "Press <return> to try again.")) + + # this is a crappy hack, but I don't want bug reports from these people + if (arch == "i386") and (not grpset.hdrlist.has_key("kernel")): + intf.messageWindow(_("Error"), + _("You are trying to install on a machine " + "which isn't supported by this release of " + "%s.") %(productName,), + type="custom", custom_icon="error", + custom_buttons=[_("_Exit")]) + sys.exit(0) id.grpset = grpset |