Thanks, Rex. I'm also happy with it on my mock 0.4 installs, and haven't seen any ill effects :)

So, any objections to me committing the attached patch? It is simply Karanbir's patch adapted for current CVS.

Thanks,
Jeff

Rex Dieter wrote:
Karanbir Singh wrote:

Jeff Sheltren wrote:
I'm not sure if it was the move to CentOS 4.4 or what, but now my mock
builds are failing on CentOS 4.4 hosts where they were working fine a
couple weeks ago...
patch attached, for mock 0.4, easy to adapt to 0.6, I've not looked at
0.6+ as yet, but should work there too, its trivial.

Patch works with mock-0.6.2 fine here.  (:

-- Rex

--- mock.py.rpm 2006-09-26 05:08:41.000000000 -0700
+++ mock.py     2006-09-26 05:09:08.000000000 -0700
@@ -643,6 +643,7 @@
         for item in [self.basedir, self.rootdir, self.statedir, self.resultdir,
                      os.path.join(self.rootdir, 'var/lib/rpm'),
                      os.path.join(self.rootdir, 'var/log'),
+                     os.path.join(self.rootdir, 'var/lock/rpm'),
                      os.path.join(self.rootdir, 'dev'),
                      os.path.join(self.rootdir, 'etc/rpm'),
                      os.path.join(self.rootdir, 'tmp'),
--
Fedora-buildsys-list mailing list
Fedora-buildsys-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-buildsys-list

Reply via email to