Avoiding install of x86_64 packages for i386 builds

Dennis Gilmore dennis at ausil.us
Sat May 13 13:43:58 UTC 2006


On Saturday 13 May 2006 6:34 am, Jeff Sheltren wrote:
> I'm having a problem when building packages which have a dependency
> sitting in the plague 'repo_dir'.  Since plague puts all arches of a
> package in the same sub directory under 'repo_dir', if a package has
> both i386 and x86_64 binaries, later builds which pull in those
> packages as a dependency will install the x86_64 binary rather than
> the i386 one.  Yes, I have brought this problem on myself - I want to
> have stuff in repo_dir be usable for builds even before those
> packages are pushed to the main repository.  In order to do this, I
> have to point mock to the same repodir for both i386 and x86_64.
>
> So, I have a couple of questions:  is there a way to have plague sort
> packages in the repo_dir differently than it does by default?  How
> does Extras avoid this problem?
have a look in the x86_64 mock config files  there is a line 
exclude=*.i386 *.i686 *.athlon *.i586 *.486

to your i386 mock configs  add
exclude=*.x86_64

--
Dennis Gilmore, RHCE
Proud Australian




More information about the Fedora-buildsys-list mailing list