diff options
author | Ioannis Aslanidis <deathwing00@gentoo.org> | 2009-03-27 16:48:31 +0000 |
---|---|---|
committer | Ioannis Aslanidis <deathwing00@gentoo.org> | 2009-03-27 16:48:31 +0000 |
commit | 4e9e0fd494e81747f64f45bd60650ae8fd2a4ad4 (patch) | |
tree | d73d759bcb36a7b2c6d24f7277dc948f190c0d2d /dev-util/mock/files | |
parent | Marking gnome-print-sharp-2.24.0-r10 ~ppc for bug 234305 (diff) | |
download | historical-4e9e0fd494e81747f64f45bd60650ae8fd2a4ad4.tar.gz historical-4e9e0fd494e81747f64f45bd60650ae8fd2a4ad4.tar.bz2 historical-4e9e0fd494e81747f64f45bd60650ae8fd2a4ad4.zip |
Added patch to fix chroot location.
Package-Manager: portage-2.2_rc27/cvs/Linux x86_64
Diffstat (limited to 'dev-util/mock/files')
-rw-r--r-- | dev-util/mock/files/mock-0.9.10-chroot-fix.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/dev-util/mock/files/mock-0.9.10-chroot-fix.patch b/dev-util/mock/files/mock-0.9.10-chroot-fix.patch new file mode 100644 index 000000000000..bb24a3b20dc9 --- /dev/null +++ b/dev-util/mock/files/mock-0.9.10-chroot-fix.patch @@ -0,0 +1,13 @@ +diff -Nutr mock-0.9.10.old/py/mock.py mock-0.9.10/py/mock.py +--- mock-0.9.10.old/py/mock.py 2008-05-20 16:41:20.000000000 +0200 ++++ mock-0.9.10/py/mock.py 2009-03-27 17:40:15.223434449 +0100 +@@ -522,7 +522,7 @@ + try: + chroot._mountall() + cmd = ' '.join(args) +- status = os.system("PS1='mock-chroot> ' /usr/sbin/chroot %s %s" % (chroot.makeChrootPath(), cmd)) ++ status = os.system("PS1='mock-chroot> ' /usr/bin/chroot %s %s" % (chroot.makeChrootPath(), cmd)) + ret['exitStatus'] = os.WEXITSTATUS(status) + + finally: + |