[CentOS-devel] URLs in centos-release-<sig> packages: /altarch vs. /centos/

Sandro Bonazzola sbonazzo at redhat.com
Wed Mar 14 11:03:11 UTC 2018


2018-03-06 17:40 GMT+01:00 Brian Stinson <brian at bstinson.com>:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Mar 06 00:11, Brian Stinson wrote:
> > 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=http://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.
> >
> > Cheers!
> >
> > --
> > Brian Stinson
> > _______________________________________________
> > CentOS-devel mailing list
> > CentOS-devel at centos.org
> > https://lists.centos.org/mailman/listinfo/centos-devel
>
> To be clear,
>
> This is a PROPOSAL at this stage, we haven't actually made any changes
> to centos-release yet. At this point if you're actively doing work
> relying on the new variable, it will break!
>
> Also thank you to the folks up-thread who pointed out that there was a
> typo in the repo entry. mirror.centos.org should use http://
>


Any update on the acceptance of the proposal?




>
> - --Brian
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.22 (GNU/Linux)
>
> iQIcBAEBAgAGBQJansRxAAoJEIMGvNKzCweMcm4QAI0RoUT1BVUdU9oUdKSoPyKl
> qzn/nYOi7c9jsysOsSsHEg3yVWEzDJ/JEIWiTBJ2jtoOSQ3SiXfcieAa+U0d5oIR
> hNwwx6P6Mh0aCooIxrtC48qAx1Lustv5xrU98LUnpmQGDGfMusY1J7yst4UVc/ZE
> JI8XW9Zk9jY5GKev2UIVlwAVeqZjQ3A1IsKot11eS2YfV0Q40t2J83eIvyyXRFHG
> vQ4nV/FaZ3fXvUbjBSlS0xGV3pBcLWvq/bBqkkvXQEBNfjTlcGeIlj8FY/n5Jp6P
> ErXJSMXrUQG45cnUsqWl6w5VgRtmVmUY+0QHRnl1XQxZYQdzjbMv4/ZALnok0mCZ
> ceLsFRGhyxJsWcSCH9fNwyEn38arsIfP6FppvjuVvRhMGhfr+RCowrU7dbjSHD/h
> Oex+mYDLPP5klL/0x4xwMKDO2DgjH1/PGbY5QesIK5Vg+qL8a0/ZOYnO/pXBsIKJ
> 61yE9PsfdUdDEJb/spTv1cOsxjUqGQRrF4NKA1RdsNntNIS8C1541hozysCfQRQA
> ce8dDSUxuEb/n8vC1p03fQV29xwXiHxxRiZcbcswiAZfdIbMKqEFcsECDOoutPuY
> SX0Il5oSYSmb0DKkhXuNpcv+Hce8NXfSNFK33S2t5znyhwJ6/Y6aNNUx8OPYHw3p
> nwwLUex/cVFeMo59okLU
> =+bze
> -----END PGP SIGNATURE-----
> _______________________________________________
> CentOS-devel mailing list
> CentOS-devel at centos.org
> https://lists.centos.org/mailman/listinfo/centos-devel
>



-- 

SANDRO BONAZZOLA

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

Red Hat EMEA <https://www.redhat.com/>
<https://red.ht/sig>
TRIED. TESTED. TRUSTED. <https://redhat.com/trusted>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos-devel/attachments/20180314/baf91ddd/attachment.html>


More information about the CentOS-devel mailing list