mirror of
git://git.yoctoproject.org/layerindex-web.git
synced 2025-07-05 13:14:46 +02:00
rrs/tools/rrs_{distros,upstream_history}: Add path for poky meta lib
Due to bitbake client/server changes now the meta path isn't included to sys.path when load tinfoil. Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
This commit is contained in:
parent
045f109415
commit
feab3b1a85
|
@ -36,6 +36,11 @@ update_repo(settings.LAYER_FETCH_DIR, 'poky', settings.POKY_REPO_URL,
|
|||
bitbakepath = os.path.join(fetchdir, 'bitbake')
|
||||
sys.path.insert(0, os.path.join(bitbakepath, 'lib'))
|
||||
|
||||
# setup poky path
|
||||
pokypath = os.path.join(fetchdir, 'poky')
|
||||
sys.path.insert(0, os.path.join(pokypath, 'meta', 'lib'))
|
||||
|
||||
|
||||
from layerindex.models import Recipe, LayerBranch
|
||||
from rrs.models import RecipeDistro
|
||||
|
||||
|
|
|
@ -36,6 +36,10 @@ update_repo(settings.LAYER_FETCH_DIR, 'poky', settings.POKY_REPO_URL,
|
|||
bitbakepath = os.path.join(fetchdir, 'bitbake')
|
||||
sys.path.insert(0, os.path.join(bitbakepath, 'lib'))
|
||||
|
||||
# setup poky path
|
||||
pokypath = os.path.join(fetchdir, 'poky')
|
||||
sys.path.insert(0, os.path.join(pokypath, 'meta', 'lib'))
|
||||
|
||||
from layerindex.models import Recipe, LayerBranch
|
||||
from rrs.models import RecipeUpstream, RecipeUpstreamHistory
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user