diff options
author | Jeremy Katz <katzj@redhat.com> | 2005-04-27 20:34:04 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2005-04-27 20:34:04 +0000 |
commit | d14c4b4a431e0b528cc0b3bdd72b6454c36bd04a (patch) | |
tree | a67b0089402c9ea73267e1a4a075136ede1f1d7d /iutil.py | |
parent | b49f685e37333985100737be4d5c7a647c937afd (diff) | |
download | anaconda-d14c4b4a431e0b528cc0b3bdd72b6454c36bd04a.tar.gz anaconda-d14c4b4a431e0b528cc0b3bdd72b6454c36bd04a.tar.xz anaconda-d14c4b4a431e0b528cc0b3bdd72b6454c36bd04a.zip |
2005-04-27 Jeremy Katz <katzj@redhat.com>
* iutil.py (writeRpmPlatform): patch from Joe Pruett to improve
rpmarch= support (#101971)
* iw/ipwidget.py (IPEditor.dehydrate): Make sure people get
decimal IP addrs. (#122038)
Diffstat (limited to 'iutil.py')
-rw-r--r-- | iutil.py | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -662,10 +662,13 @@ def writeRpmPlatform(root="/"): f = open("/proc/cmdline", "r") buf = f.read() f.close() - args = buf.split(" ") + args = buf.split() for arg in args: if arg.startswith("rpmarch="): myarch = arg[8:] + + # now make the current install believe it, too + rhpl.arch.canonArch = myarch f = open("%s/etc/rpm/platform" %(root,), 'w+') f.write("%s-redhat-linux\n" %(myarch,)) |