[CentOS] Anyone seeing mock breakage after updating to 4.4?
Konstantin Klimchev
koka at arhgen.ru
Wed Sep 6 08:47:06 UTC 2006
Ralph Angenendt пишет:
>
> What works for me (Karanbir Singh found this) is adding
>
> os.path.join(self.rootdir, 'var/lock/rpm'),
>
> around line 530 of /usr/bin/mock - works for me with 0.4.x, but
> supposedly also works with 0.6.x.
>
> You find the lines by searching for "# make chroot dir".
>
patch for mock-0.6.4:
========================================================================
--- mock.orig 2006-09-05 08:59:59.000000000 +0400
+++ mock 2006-09-06 12:38:04.000000000 +0400
@@ -581,7 +581,8 @@ class Root:
os.path.join(self.rootdir, 'etc/rpm'),
os.path.join(self.rootdir, 'tmp'),
os.path.join(self.rootdir, 'var/tmp'),
- os.path.join(self.rootdir, 'etc/yum.repos.d')]:
+ os.path.join(self.rootdir, 'etc/yum.repos.d'),
+ os.path.join(self.rootdir, 'var/lock/rpm')]:
self._ensure_dir(item)
self._mount()
========================================================================
More information about the CentOS
mailing list