<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">2018-03-06 7:11 GMT+01:00 Brian Stinson <span dir="ltr"><<a href="mailto:brian@bstinson.com" target="_blank">brian@bstinson.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">-----BEGIN PGP SIGNED MESSAGE-----<br>
Hash: SHA1<br>
<br>
Hi Folks,<br>
<br>
Now that we have SIG Content in the /altarch directories for CentOS 7 on the<br>
mirrors, we need to come with some requirements and recommendations for dealing<br>
with the different locations.<br>
<br>
tl;dr The current thinking is to add the following snippet in the %post of<br>
centos-release and release to all of the arches. This will set a yum var to the<br>
correct content location when a new system gets installed:<br>
<br>
    `uname -m | grep -q 'x86_64'  && echo 'centos' >/etc/yum/vars/contentdir || echo 'altarch' >/etc/yum/vars/contentdir`<br>
<br>
Here's the start of a proposal from the SIG perspective<br>
<br>
## Requirements:<br>
<br>
- - The same noarch binary RPM *must* be distributable to the Extras<br>
  repo for each architecture<br>
<br>
- - The centos-release-<SIG> packages *must* require centos-release<br>
<br>
<br>
## New Recommendations for creating a centos-release file:<br>
<br>
- - A yum variable called 'contentdir' will be populated with the toplevel<br>
  directory for SIGs to use<br>
<br>
1.) Modify baseurls in the SIG repo files to look like the following (using<br>
openstack-queens as an example):<br>
<br>
<br>
 [centos-openstack-queens]<br>
 name=CentOS-7 - OpenStack queens<br>
 baseurl=<a href="https://mirror.centos.org/$contentdir/cloud/$basearch/openstack-queens/" rel="noreferrer" target="_blank">https://mirror.centos.<wbr>org/$contentdir/cloud/$<wbr>basearch/openstack-queens/</a><br>
 gpgcheck=1<br>
 enabled=1<br>
 gpgkey=file:///etc/pki/rpm-<wbr>gpg/RPM-GPG-KEY-CentOS-SIG-<wbr>Cloud<br>
 exclude=sip,PyQt4<br>
<br>
<br>
## Discussion<br>
<br>
I'd like to hear thoughts, additions, and subtractions here before we update<br>
the SIGGuide and rework centos-release.<br></blockquote><div><br></div><div><br></div><div>+1 on oVirt side. Here's the patch waiting for centos-release to be available with above suggestion: <a href="https://gerrit.ovirt.org/#/c/88300/">https://gerrit.ovirt.org/#/c/88300/</a></div><div><br></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
Cheers!<br>
<br>
- --<br>
Brian Stinson<br>
-----BEGIN PGP SIGNATURE-----<br>
Version: GnuPG v2.0.22 (GNU/Linux)<br>
<br>
iQIcBAEBAgAGBQJanjEMAAoJEIMGvN<wbr>KzCweMR6oQAMbsKqvJcfKW1+<wbr>5yHsbEV33d<br>
QAAMwjEcKfZ+<wbr>v9ypejErbPPh5RhuNCoRFFHUDAn4hB<wbr>JNo2zb0YC0vKZJF3RIPIkV<br>
9GAOwnnrWIvFJbeZ7sY4POMa/<wbr>50IJXC3N8CeiW2XonDtf58rXZPsXM9<wbr>/9JN9xCv7<br>
X39FAIufCYA7rmedta236NMAutiEol<wbr>yDFKWWJN6kwDzhm4p7BT9UVSyf7sWC<wbr>BDzx<br>
t+TuCo7LZei4iwQWho1YL/<wbr>9jbm0YP6EEyL3jJ/<wbr>YT68cE8q9Mqd8qiE0gEMy0Eoof<br>
FuGNOLMrFhsvg3jNQr5DkbToDU+<wbr>VwO3B+<wbr>YVR29pTrd0Gf8bodmGTH31eCEljlhj<wbr>g<br>
uPlms2cDvkaXlJmjO6XHM0D2cxmlTz<wbr>BfVG7YrRwlD40JSk1Z3iyPyLkWJ967<wbr>oyVM<br>
9mmkhv4spNCX4okQlNI737bULwcxIL<wbr>M6ks3oCdO4i4Yk8BbZp/<wbr>iwrJ9jcxr7U5YT<br>
Cvq2SuV5EbcXlxnhmMd/V6+F/<wbr>VkgKqi0xrltKURlVUk+<wbr>JzabHTw5zGwcRjnHxUQR<br>
nz2YiQ0mdR/pPuGyXl6xOqXl+<wbr>M6khPBdCk4FHHdrZYw6aijo8FHzR1D<wbr>Yc63m4ibf<br>
Pkad1V9Awetuz0YwewgTp3MviRlklQ<wbr>te8jXMV/<wbr>1Nh0TTp8xIs5e4ISNBwD3EtINL<br>
oqQYqpSGC0jkrwXD5fRG<br>
=F1Fp<br>
-----END PGP SIGNATURE-----<br>
______________________________<wbr>_________________<br>
CentOS-devel mailing list<br>
<a href="mailto:CentOS-devel@centos.org">CentOS-devel@centos.org</a><br>
<a href="https://lists.centos.org/mailman/listinfo/centos-devel" rel="noreferrer" target="_blank">https://lists.centos.org/<wbr>mailman/listinfo/centos-devel</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><p style="color:rgb(0,0,0);font-family:overpass,sans-serif;font-weight:bold;margin:0px;padding:0px;font-size:14px;text-transform:uppercase"><span>SANDRO</span> <span>BONAZZOLA</span></p><p style="color:rgb(0,0,0);font-family:overpass,sans-serif;font-size:10px;margin:0px 0px 4px;text-transform:uppercase"><span>ASSOCIATE MANAGER, SOFTWARE ENGINEERING, EMEA ENG VIRTUALIZATION R&D</span></p><p style="font-family:overpass,sans-serif;margin:0px;font-size:10px;color:rgb(153,153,153)"><a href="https://www.redhat.com/" style="color:rgb(0,136,206);margin:0px" target="_blank">Red Hat <span>EMEA</span></a></p><table border="0" style="color:rgb(0,0,0);font-family:overpass,sans-serif;font-size:medium"><tbody><tr><td width="100px"><a href="https://red.ht/sig" target="_blank"><img src="https://www.redhat.com/profiles/rh/themes/redhatdotcom/img/logo-red-hat-black.png" width="90" height="auto"></a></td><td style="font-size:10px"><div><a href="https://redhat.com/trusted" style="color:rgb(204,0,0);font-weight:bold" target="_blank">TRIED. TESTED. TRUSTED.</a></div></td></tr></tbody></table><br></div></div></div></div></div></div></div></div></div></div></div></div></div>
</div></div>