diff options
Diffstat (limited to 'rrs/tools/rrs_upstream_history.py')
-rwxr-xr-x | rrs/tools/rrs_upstream_history.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/rrs/tools/rrs_upstream_history.py b/rrs/tools/rrs_upstream_history.py index 72225b2cf9..df71fd38e3 100755 --- a/rrs/tools/rrs_upstream_history.py +++ b/rrs/tools/rrs_upstream_history.py @@ -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 |