[prev in list] [next in list] [prev in thread] [next in thread]
List: fedora-buildsys-list
Subject: [PATCH koji] Made 'mockpath' configurable for kojid
From: Enrico Scholz <enrico.scholz () informatik ! tu-chemnitz ! de>
Date: 2007-05-07 6:53:47
Message-ID: 200705070700.l4770Cxa005859 () kosh ! bigo ! ensc ! de
[Download RAW message or body]
Trying to set 'mockpath' in the configuration file results into an
| unknown config option: mockpath
error.
Signed-off-by: Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
---
builder/kojid | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/builder/kojid b/builder/kojid
index 7a66bfc..6243edd 100755
--- a/builder/kojid
+++ b/builder/kojid
@@ -338,7 +338,7 @@ class BuildRoot(object):
def mock(self, args, skip_setarch=False):
"""Run mock"""
global options
- mockpath = getattr(options,"mockpath","/usr/bin/mock")
+ mockpath = getattr(options,"mockpath")
cmd = [mockpath, "-r", self.mockcfg]
if not skip_setarch:
if self.br_arch.startswith('sparc64'):
@@ -2366,6 +2366,7 @@ def get_options():
'workdir': '/tmp/koji',
'mockdir': '/var/lib/mock',
'mockuser': 'kojibuilder',
+ 'mockpath': '/usr/bin/mock',
'packager': 'Koji',
'vendor': 'Koji',
'mockhost': 'koji-linux-gnu',
--
1.5.0.6
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic