mirror of
git://git.yoctoproject.org/layerindex-web.git
synced 2025-07-19 03:49:10 +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')
|
bitbakepath = os.path.join(fetchdir, 'bitbake')
|
||||||
sys.path.insert(0, os.path.join(bitbakepath, 'lib'))
|
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 layerindex.models import Recipe, LayerBranch
|
||||||
from rrs.models import RecipeDistro
|
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')
|
bitbakepath = os.path.join(fetchdir, 'bitbake')
|
||||||
sys.path.insert(0, os.path.join(bitbakepath, 'lib'))
|
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 layerindex.models import Recipe, LayerBranch
|
||||||
from rrs.models import RecipeUpstream, RecipeUpstreamHistory
|
from rrs.models import RecipeUpstream, RecipeUpstreamHistory
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user