From fb5f071e67910f358f1e87f8c9595876addc0999 Mon Sep 17 00:00:00 2001 From: Jeremy Katz Date: Feb 28 2008 20:14:25 +0000 Subject: Don't write out /etc/rpm/platform anymore. We used to need this for platforms like iSeries and pSeries to avoid crazy asm in rpm. These platforms all use the standard kernel now and so we _shouldn't_ need to know the variation. Let's see what happens --- diff --git a/iutil.py b/iutil.py index bf27b58..7485394 100644 --- a/iutil.py +++ b/iutil.py @@ -492,9 +492,9 @@ def writeRpmPlatform(root="/"): # 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,)) - f.close() +# f = open("%s/etc/rpm/platform" %(root,), 'w+') +# f.write("%s-redhat-linux\n" %(myarch,)) +# f.close() # FIXME: writing /etc/rpm/macros feels wrong somehow # temporary workaround for #92285