Get rid of unused build_root config parameter
authorZhang Qiang <qiang.z.zhang@intel.com>
Wed, 5 Sep 2012 07:23:37 +0000 (15:23 +0800)
committerZhang Qiang <qiang.z.zhang@intel.com>
Wed, 5 Sep 2012 07:23:37 +0000 (15:23 +0800)
It's not used anywhere in the code, so let's remove it.
Fixes #293

Change-Id: I15d18f64ae6f3aef2481773acabeee50253a6323

README.rst
gitbuildsys/conf.py

index 0da4619..0336f75 100644 (file)
@@ -140,7 +140,6 @@ configuration file by yourself.  Just make sure it looks like as below:
 
   [build]
   build_cmd = /usr/bin/build
-  build_root= /var/tmp/build-root-gbs
   su-wrapper= sudo
   distconf=/usr/share/gbs/tizen-1.0.conf
   repo1.url=
@@ -170,8 +169,6 @@ In the [build] section, the following values can be specified:
 
 build_cmd
     build script path for building RPMs in a chroot environment
-build_root
-    patch for chroot environment
 distconf
     Specify distribution configure file
 repox.url
index 15bab9f..3534399 100644 (file)
@@ -170,7 +170,6 @@ class ConfigMgr(object):
             },
             'build': {
                 'build_cmd':    '/usr/bin/build',
-                'build_root':   '/var/tmp/build-root-gbs',
                 'distconf':     '/usr/share/gbs/tizen-1.0.conf',
             },
     }
@@ -193,7 +192,6 @@ target_prj = $remotebuild__target_prj
 
 [build]
 build_cmd = $build__build_cmd
-build_root = $build__build_root
 distconf = $build__distconf
 
 ; optional, repos definitions