2018-03-06 7:11 GMT+01:00 Brian Stinson <brian@bstinson.com>:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Folks,

Now that we have SIG Content in the /altarch directories for CentOS 7 on the
mirrors, we need to come with some requirements and recommendations for dealing
with the different locations.

tl;dr The current thinking is to add the following snippet in the %post of
centos-release and release to all of the arches. This will set a yum var to the
correct content location when a new system gets installed:

    `uname -m | grep -q 'x86_64'  && echo 'centos' >/etc/yum/vars/contentdir || echo 'altarch' >/etc/yum/vars/contentdir`

Here's the start of a proposal from the SIG perspective

## Requirements:

- - The same noarch binary RPM *must* be distributable to the Extras
  repo for each architecture

- - The centos-release-<SIG> packages *must* require centos-release


## New Recommendations for creating a centos-release file:

- - A yum variable called 'contentdir' will be populated with the toplevel
  directory for SIGs to use

1.) Modify baseurls in the SIG repo files to look like the following (using
openstack-queens as an example):


 [centos-openstack-queens]
 name=CentOS-7 - OpenStack queens
 baseurl=https://mirror.centos.org/$contentdir/cloud/$basearch/openstack-queens/
 gpgcheck=1
 enabled=1
 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-Cloud
 exclude=sip,PyQt4


## Discussion

I'd like to hear thoughts, additions, and subtractions here before we update
the SIGGuide and rework centos-release.


+1 on oVirt side. Here's the patch waiting for centos-release to be available with above suggestion: https://gerrit.ovirt.org/#/c/88300/


 

Cheers!

- --
Brian Stinson
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)

iQIcBAEBAgAGBQJanjEMAAoJEIMGvNKzCweMR6oQAMbsKqvJcfKW1+5yHsbEV33d
QAAMwjEcKfZ+v9ypejErbPPh5RhuNCoRFFHUDAn4hBJNo2zb0YC0vKZJF3RIPIkV
9GAOwnnrWIvFJbeZ7sY4POMa/50IJXC3N8CeiW2XonDtf58rXZPsXM9/9JN9xCv7
X39FAIufCYA7rmedta236NMAutiEolyDFKWWJN6kwDzhm4p7BT9UVSyf7sWCBDzx
t+TuCo7LZei4iwQWho1YL/9jbm0YP6EEyL3jJ/YT68cE8q9Mqd8qiE0gEMy0Eoof
FuGNOLMrFhsvg3jNQr5DkbToDU+VwO3B+YVR29pTrd0Gf8bodmGTH31eCEljlhjg
uPlms2cDvkaXlJmjO6XHM0D2cxmlTzBfVG7YrRwlD40JSk1Z3iyPyLkWJ967oyVM
9mmkhv4spNCX4okQlNI737bULwcxILM6ks3oCdO4i4Yk8BbZp/iwrJ9jcxr7U5YT
Cvq2SuV5EbcXlxnhmMd/V6+F/VkgKqi0xrltKURlVUk+JzabHTw5zGwcRjnHxUQR
nz2YiQ0mdR/pPuGyXl6xOqXl+M6khPBdCk4FHHdrZYw6aijo8FHzR1DYc63m4ibf
Pkad1V9Awetuz0YwewgTp3MviRlklQte8jXMV/1Nh0TTp8xIs5e4ISNBwD3EtINL
oqQYqpSGC0jkrwXD5fRG
=F1Fp
-----END PGP SIGNATURE-----
_______________________________________________
CentOS-devel mailing list
CentOS-devel@centos.org
https://lists.centos.org/mailman/listinfo/centos-devel



--

SANDRO BONAZZOLA

ASSOCIATE MANAGER, SOFTWARE ENGINEERING, EMEA ENG VIRTUALIZATION R&D

Red Hat EMEA