Hi Is there any ETA for the SRPM's from the base tree of 5.6? I need to get my hands on the src for the centos-release package as i have to rebuilt it to prevent the repo definitions from being included. I see the src's for the updates RPM's but not the base. many thanks
On 9 April 2011 23:42, Tom Brown <tom at ng23.net> wrote:> Hi > > Is there any ETA for the SRPM's from the base tree of 5.6? I need to > get my hands on the src for the centos-release package as i have to > rebuilt it to prevent the repo definitions from being included. > > I see the src's for the updates RPM's but not the base. > > many thanksAs part of my build process I disable repos like that (and others that insert themselves in /etc/yum.repos.d) by echoing in during kickstart the line reposdir=/etc/yum.repos.d/custom to yum.conf. That way if I do have a need of a repo I can pop the file in there... but meanwhile updates that pop a .repo file in /etc/yum.repos.d have no effect on my systems. Could similar work for you without having to rebuild centos-release ? James
I added "exclude=*releases" for every repo that uses them (base/os, updates, rpmforge, atrpms, elrepo, ....) since I use my own local copy of those repos. Yum just skips them. Tom Brown wrote:> Hi > > Is there any ETA for the SRPM's from the base tree of 5.6? I need to > get my hands on the src for the centos-release package as i have to > rebuilt it to prevent the repo definitions from being included. > > I see the src's for the updates RPM's but not the base. > > many thanks > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centos > >
Hi, On Sun, 10 Apr 2011, Kai Schaetzl wrote:> Ljubomir Ljubojevic wrote on Sun, 10 Apr 2011 12:53:54 +0200: > >> Just to be sure there is no misunderstanding. I add that line in any >> *.repo file in /etc/yum.repos.d/ folder, as an option for every >> repository definition in those files where repository has "releases" rpms. > > I don't understand the problem. If you edit a .repo file it is usually not > overwritten, the new repo file is saved as .rpmnew. So, I think this creates > only a problem in the case that you completely remove a .repo file. > What am I misunderstanding? (Sorry for the pun, I think I'm mostly talking > to Tom ;-)I cannot speak for the other Tom but in my case I rebuild the centos-release rpm and add my own repo files so that all of my machines pull from my local repos. Yes, I know that the modified repo files do not get overwritten but that does not help for new machines nor does it help when I change my local configuration. When I rebuild the centos-release rpm I actually modify it so that a new version of the rpm overwrites any existing .repo files. That way I know all of the machines under my control are only pulling updates I have approved and placed into my local repos. It would be nice if this srpm was released with the main distro. Rebuilding other packages can come later when all of the srpms are available but this particular package is important for me being able to update the machines. In fact I usually end up hacking up the first cut of the centos-release rpm for a new release based on the previous version (in this case 5.5) so that I can do my upgrades. It is not all that hard to do but it would be easier if I had the official srpm. Regards, -- Tom Diehl
On Sat, 9 Apr 2011 23:42:41 +0100 Tom Brown <tom at ng23.net> wrote:> Hi > > Is there any ETA for the SRPM's from the base tree of 5.6? I need to > get my hands on the src for the centos-release package as i have to > rebuilt it to prevent the repo definitions from being included. > > I see the src's for the updates RPM's but not the base. >I'm hazarding a guess here - that the os/{i386,x86_64}/CentOS/*.rpm's that have 'centos' in the name have had changes made for CentOS. The others have not and the sources are available from upstream at eg http://mirrors.kernel.org/redhat/redhat/linux/enterprise/5Server/en/os/SRPMS/ Can anyone please confirm/deny that? I looked at a couple of examples including eg httpd - rpm -qpi 5.6/os/x86_64/CentOS/rpm-4.4.2.3-22.el5.x86_64.rpm Name : rpm Relocations: (not relocatable) Version : 4.4.2.3 Vendor: CentOS Release : 22.el5 Build Date: Sun Mar 6 13:40:33 2011 Install Date: (not installed) Build Host: builder10.centos.org Group : System Environment/Base Source RPM: rpm-4.4.2.3-22.el5.src.rpm Size : 3754140 License: GPLv2+ Signature : DSA/SHA1, Tue Mar 22 09:37:08 2011, Key ID a8a447dce8562897 URL : http://www.rpm.org/ Summary : The RPM package management system ... ... so it's built from rpm-4.4.2.3-22.el5.src.rpm ... the same _name_ as the upstream vendor's source. Oddly, the 5.5 binary carries 'centos' in it's release field: 5.5/os/x86_64/CentOS/httpd-2.2.3-43.el5.centos.x86_64.rpm ... so the good devs had to make changes there, yet not for 5.6!!!??? Cheers Bob -- Bob Hepple <bhepple at promptu.com> ph: 07-5584-5908 Fx: 07-5575-9550