diff options
author | Jeremy Katz <katzj@redhat.com> | 2006-09-20 18:12:41 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2006-09-20 18:12:41 +0000 |
commit | c0368fa9f2d5efde2f83fe57bcca7055038f3711 (patch) | |
tree | f5b9900b0b9655b434839ecaef09d731a615169d /iutil.py | |
parent | 08c43306c30aba207a163293cfe5c2e40a01ca9b (diff) | |
download | anaconda-c0368fa9f2d5efde2f83fe57bcca7055038f3711.tar.gz anaconda-c0368fa9f2d5efde2f83fe57bcca7055038f3711.tar.xz anaconda-c0368fa9f2d5efde2f83fe57bcca7055038f3711.zip |
2006-09-20 Jeremy Katz <katzj@redhat.com>
* anaconda (Anaconda.setMethod): Allow passing --targetarch
(#206881)
* flags.py (Flags.__init__): Set targetarch as a flag
* iutil.py (writeRpmPlatform): Use flag
Diffstat (limited to 'iutil.py')
-rw-r--r-- | iutil.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -399,8 +399,8 @@ def writeRpmPlatform(root="/"): myarch = rhpl.arch.canonArch # now allow an override with rpmarch=i586 on the command line (#101971) - if flags.cmdline.has_key("rpmarch"): - myarch = flags.cmdline["rpmarch"] + if flags["targetarch"] != None: + myarch = flags["targetarch"] # now make the current install believe it, too rhpl.arch.canonArch = myarch |