aboutsummaryrefslogtreecommitdiffstats
path: root/rrs/tools/rrs_upstream_history.py
diff options
context:
space:
mode:
Diffstat (limited to 'rrs/tools/rrs_upstream_history.py')
-rwxr-xr-xrrs/tools/rrs_upstream_history.py4
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