[EMAIL PROTECTED] (Guenther Fuchs) writes:

>> Please try the patch from the contrib/ dir (the 2.3.4 one applies to 2.4
>> also). I built lots of FC4 vservers on FC4 hosts so it seems to work ;)
>
> Hmmm - found the patch but no real explanation on how to use it / i.e.
> what files to patch?! Is this files to patch a yum source build tree?
> If yes, most FC users would be happy, if someone (e.g. myself) could
> supply a rpm package of recent, patched yum to use.
>
> So pls give me short assistance, I then could rebuild a patched rpm
> and supply this back for the communtiy.

Just apply the attached patch against yum.spec (patch is for the devel
tree but it should be trivial to adapt it to FC-4).



Enrico
Index: yum.spec
===================================================================
RCS file: /cvs/dist/rpms/yum/devel/yum.spec,v
retrieving revision 1.51
diff -u -p -r1.51 yum.spec
--- yum.spec	4 Oct 2005 14:49:07 -0000	1.51
+++ yum.spec	6 Oct 2005 16:21:51 -0000
@@ -3,7 +3,7 @@
 Summary: RPM installer/updater
 Name: yum
 Version: 2.4.0
-Release: 5
+Release: 5.chroot
 License: GPL
 Group: System Environment/Base
 Source0: http://linux.duke.edu/projects/yum/download/2.4/yum-%{version}.tar.gz
@@ -23,6 +23,7 @@ Requires: urlgrabber
 Requires: python-elementtree
 Prereq: /sbin/chkconfig, /sbin/service, coreutils
 BuildRoot: %{_tmppath}/%{name}-root
+Patch99: yum-2.3.4-chroot.patch
 
 %description
 Yum is a utility that can check for and automatically download and
@@ -38,6 +39,7 @@ automatically prompting the user as nece
 %patch2 -p0 -b .sqlbyname
 %patch3 -p0 -b .lists
 
+%patch99 -p1 -b .chroot
 %build
 make
 

Attachment: pgpPNDaouF9au.pgp
Description: PGP signature

_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver

Reply via email to