summaryrefslogtreecommitdiffstats
path: root/text.py
diff options
context:
space:
mode:
authormsivak <msivak>2007-08-23 06:59:21 +0000
committermsivak <msivak>2007-08-23 06:59:21 +0000
commit4bb57cf4b10e3fe48533efb87ec1c01b43d78566 (patch)
tree0e518046512e09cbf85d0e43814447645ad4733d /text.py
parent229ec26ea18efb0b03970bdd1fda02c57b28d143 (diff)
downloadanaconda-4bb57cf4b10e3fe48533efb87ec1c01b43d78566.tar.gz
anaconda-4bb57cf4b10e3fe48533efb87ec1c01b43d78566.tar.xz
anaconda-4bb57cf4b10e3fe48533efb87ec1c01b43d78566.zip
#244531 - Show the architecture during install
* loader2/loader.h: Add getProductArch method. * loader2/loader.c: Populate productArch and define getProductArch. Show the architecture in stage1. * constants.py: add productArch * product.py: populate productArch * text.py: Show the architecture during text mode stage2.
Diffstat (limited to 'text.py')
-rw-r--r--text.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/text.py b/text.py
index fee675bc8..6c396f56e 100644
--- a/text.py
+++ b/text.py
@@ -467,7 +467,10 @@ class InstallInterface:
def drawFrame(self):
self.screen.drawRootText (0, 0, self.screen.width * " ")
- self.screen.drawRootText (0, 0, _("Welcome to %s") % productName)
+ if productArch:
+ self.screen.drawRootText (0, 0, _("Welcome to %s for %s") % (productName, productArch,))
+ else:
+ self.screen.drawRootText (0, 0, _("Welcome to %s") % productName)
if (os.access("/usr/share/anaconda/help/C/s1-help-screens-lang.txt", os.R_OK)):
self.screen.pushHelpLine(_(" <F1> for help | <Tab> between elements | <Space> selects | <F12> next screen"))