[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [PATCH] Use yum.rpmUtils.arch.canonArch instead of rhpl



On Jun 4, 2008, at 3:11 AM, Jeremy Katz wrote:

On Tue, 2008-06-03 at 22:58 -1000, David Cantrell wrote:
Here's a patch to replace the rhpl.arch.canonArch stuff with the same
thing from yum.rpmUtils.  Not sure if we can use it the same way, but
it didn't complain when I used it this way.

We should really avoid importing yum in iutil as that will cause
problems for other backends.  Although we could arguably just move the
functionality into yuminstall as that's really the only place it's
relevant


We also call it from anaconda, backend.py, and livecd.py. Not sure where writeRpmPlatform() should live at this point.

--
David Cantrell <dcantrell redhat com>
Red Hat / Honolulu, HI


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]