<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">2018-03-28 12:53 GMT+02:00 Niels de Vos <span dir="ltr"><<a href="mailto:ndevos@redhat.com" target="_blank">ndevos@redhat.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On Wed, Mar 14, 2018 at 12:03:11PM +0100, Sandro Bonazzola wrote:<br>
> 2018-03-06 17:40 GMT+01:00 Brian Stinson <<a href="mailto:brian@bstinson.com">brian@bstinson.com</a>>:<br>
><br>
> > -----BEGIN PGP SIGNED MESSAGE-----<br>
> > Hash: SHA1<br>
> ><br>
> > On Mar 06 00:11, Brian Stinson wrote:<br>
> > > Hi Folks,<br>
> > ><br>
> > > Now that we have SIG Content in the /altarch directories for CentOS 7 on<br>
> > the<br>
> > > mirrors, we need to come with some requirements and recommendations for<br>
> > dealing<br>
> > > with the different locations.<br>
> > ><br>
> > > tl;dr The current thinking is to add the following snippet in the %post<br>
> > of<br>
> > > centos-release and release to all of the arches. This will set a yum var<br>
> > to the<br>
> > > correct content location when a new system gets installed:<br>
> > ><br>
> > >     `uname -m | grep -q 'x86_64'  && echo 'centos'<br>
> > >/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<br>
> > (using<br>
> > > openstack-queens as an example):<br>
> > ><br>
> > ><br>
> > >  [centos-openstack-queens]<br>
> > >  name=CentOS-7 - OpenStack queens<br>
> > >  baseurl=<a href="http://mirror.centos.org/$contentdir/cloud/$" rel="noreferrer" target="_blank">http://mirror.centos.<wbr>org/$contentdir/cloud/$</a><br>
> > basearch/openstack-queens/<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<br>
> > update<br>
> > > the SIGGuide and rework centos-release.<br>
> > ><br>
> > > Cheers!<br>
> > ><br>
> > > --<br>
> > > Brian Stinson<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>
> ><br>
> > To be clear,<br>
> ><br>
> > This is a PROPOSAL at this stage, we haven't actually made any changes<br>
> > to centos-release yet. At this point if you're actively doing work<br>
> > relying on the new variable, it will break!<br>
> ><br>
> > Also thank you to the folks up-thread who pointed out that there was a<br>
> > typo in the repo entry. <a href="http://mirror.centos.org" rel="noreferrer" target="_blank">mirror.centos.org</a> should use http://<br>
> ><br>
><br>
><br>
> Any update on the acceptance of the proposal?<br>
<br>
</div></div>This looks good to me. For the Gluster repos in the Storage SIG we'll<br>
follow this approach as soon as the packages are synced to the mirror<br>
(just filed bug 14631) and a new centos-release with the 'contentdir'<br>
variable is available.<br>
<br>
Thanks,<br>
Niels<br>
</blockquote></div><br>Brian, any update on the status of the new centos-release rpm?<br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><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><span style="color:rgb(170,170,170);margin:0px"></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><p style="font-family:overpass,sans-serif;margin:0px 0px 6px;font-size:10px;color:rgb(153,153,153)"><span style="margin:0px;padding:0px"><a href="mailto:sbonazzo@redhat.com" style="color:rgb(0,136,206);margin:0px" target="_blank">sbonazzo@redhat.com</a>   </span></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/files/brand/email/sig-redhat.png" width="90" height="auto"></a></td><td style="font-size:10px"><div><a href="https://redhat.com/summit" target="_blank"><img width="70px" height="auto" src="https://www.redhat.com/files/brand/email/sig-summit.png" style="outline:0px"></a></div></td></tr></tbody></table></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
</div></div>