Do the arch switch from i386 to i686 in a better (I hope) way
This commit is contained in:
parent
9661193aa4
commit
c2b14f3bad
@ -25,7 +25,8 @@ class Gather(yum.YumBase):
|
|||||||
self.cleanSqlite() # clean metadata that might be in the cache from previous runs
|
self.cleanSqlite() # clean metadata that might be in the cache from previous runs
|
||||||
self.doRepoSetup()
|
self.doRepoSetup()
|
||||||
if opts.arch == 'i386':
|
if opts.arch == 'i386':
|
||||||
opts.arch = 'i686' # ensures we get the right archlist
|
arches = yum.rpmUtils.arch.getArchList('i686')
|
||||||
|
else:
|
||||||
arches = yum.rpmUtils.arch.getArchList(opts.arch)
|
arches = yum.rpmUtils.arch.getArchList(opts.arch)
|
||||||
self.doSackSetup(arches)
|
self.doSackSetup(arches)
|
||||||
self.logger = yum.logging.getLogger("yum.verbose.fist")
|
self.logger = yum.logging.getLogger("yum.verbose.fist")
|
||||||
|
Loading…
Reference in New Issue
Block a user