Stop using --repo from .ks file
authorEd Bartosh <eduard.bartosh@intel.com>
Wed, 11 Sep 2013 14:19:36 +0000 (17:19 +0300)
committerHasan Wan <hasan.wan@intel.com>
Fri, 13 Sep 2013 03:07:10 +0000 (20:07 -0700)
commit7278f47cc1e812dbb6c6f634d205c40fbae004d7
tree89e1c16198454c6b10528af41c29bf868a23f7ba
parentace8b8af409e019fcfaa51d83a932ef0c6f2c16b
Stop using --repo from .ks file

Using --repo parameter from .ks file as a repository name is incorrect
as it doesn't point to the real repository. For example in
Tizen:Mobile porject it produces this crash:
    common.backenddb.EntityError: [Error] key repo:mobile don't exist in redis
because of --repo=mobile specified in .ks file.

The solution used in this change is to replace @BUILD_ID@ with the
current snapshot.

Fixes: #1305

Change-Id: Ic3b5b3a12b44167c48f2f8ad858629bc787a9011
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
Reviewed-on: https://otctools.jf.intel.com/review/6389
Tested-by: OTC Tools Tester <ed.bartosh@linux.intel.com>
Reviewed-by: Hasan Wan <hasan.wan@intel.com>
job_pre_release_obs.py