mirror of
https://git.yoctoproject.org/poky
synced 2026-01-29 21:08:42 +01:00
buildhistory-diff: prepend to sys.path
This ensures that regardless of what else is in our search path, we always use the bitbake corresponding to the running buildhistory-diff command. (From OE-Core rev: 246990e8a3da01020f65d151971883740eacb378) Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
181e76c4b9
commit
036e8fc414
@@ -44,7 +44,7 @@ def main():
|
||||
print("Unable to find bitbake by searching parent directory of this script or PATH")
|
||||
sys.exit(1)
|
||||
|
||||
sys.path.extend([newpath, bitbakepath + '/lib'])
|
||||
sys.path[0:0] = [newpath, bitbakepath + '/lib']
|
||||
import oe.buildhistory_analysis
|
||||
|
||||
if len(sys.argv) > 3:
|
||||
|
||||
Reference in New Issue
Block a user