-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Thu, 31 May 2012 16:39:01 +0100
Bryce <bryce(a)zeniv.linux.org.uk> wrote:
I've a question I hope someone can help me out with.
Quick background:
I have a sparc T3 box that I'm using for everything. I'm starting
from a F12 Beta ISO base as that is the only bootable ISO image I
found that would work which has been fully upgraded against the
available f12 updates.
I've setup yum / http / postgresql / koji on this sparc and populated
it with src/sparcv9/sparc64 rpms that I pulled off
http://archives.fedoraproject.org/pub/archive/fedora/linux/releases/12/Ev....
# static master that I don't want any changes made to
koji lock-tag f12-ga-master --master
# *If* I am going to make changes to my base then tag them here
koji add-tag --parent=f12-ga-master f12-ga-base
# f12-updates will be where any updates will land
koji add-tag --parent=f12-ga-base f12-updates
# Make a f12-build build tag that draws it's rpms from whatever
the 'f12-updates' tag is associated with and all it's inheritances
from f12-ga-base
koji add-tag --parent f12-updates --arches "*sparc64 sparcv9*"
f12-build
you want the arches to be --arches "sparc64 sparcv9"
you should look at how
sparc.koji.fedoraproject.org is setup as far as
tags and the arches go.
where I get a problem is that I cannot get it to build as sparcv9.
if I have
koji edit-host builder --arches="sparc*v9* sparc64"
then it will build *sparc64.rpm fine but when it creates the sparcv9
environment, installs all the rpms and the dependancies, sets up the
mockbuild user/group stuff,.. mock never gets fired and the
environment collapses. If on the other hand I use:
koji edit-host builder --arches="sparc sparc64"
biggest issue is that your using * in the arches its not valid the
valid arches you can use are sparc sparcv8 sparcv9 sparcv9v sparc64
sparc64v
the arches for the builder need to be sparc and sparc64 these are the
basearches used in yum the arches you set on the tag that populates
the buildroots is the arches of the rpms you want out of all builds.
Dennis
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (GNU/Linux)
iEYEARECAAYFAk/HtogACgkQkSxm47BaWfcM5QCffT/gzfV78MeB0XbWaTeAIo2m
moMAn3k2CckZAeLWS80h6ywdnUa8cxKR
=4ZLj
-----END PGP SIGNATURE-----