summaryrefslogtreecommitdiffstats
path: root/meta/lib/oe/package_manager/deb/sdk.py
diff options
context:
space:
mode:
Diffstat (limited to 'meta/lib/oe/package_manager/deb/sdk.py')
-rw-r--r--meta/lib/oe/package_manager/deb/sdk.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/lib/oe/package_manager/deb/sdk.py b/meta/lib/oe/package_manager/deb/sdk.py
index 653e42ab3c..6f3005053e 100644
--- a/meta/lib/oe/package_manager/deb/sdk.py
+++ b/meta/lib/oe/package_manager/deb/sdk.py
@@ -69,7 +69,12 @@ class PkgSdk(Sdk):
69 69
70 self.target_pm.run_pre_post_installs() 70 self.target_pm.run_pre_post_installs()
71 71
72 env_bkp = os.environ.copy()
73 os.environ['PATH'] = self.d.expand("${COREBASE}/scripts/nativesdk-intercept") + \
74 os.pathsep + os.environ["PATH"]
75
72 self.target_pm.run_intercepts(populate_sdk='target') 76 self.target_pm.run_intercepts(populate_sdk='target')
77 os.environ.update(env_bkp)
73 78
74 execute_pre_post_process(self.d, self.d.getVar("POPULATE_SDK_POST_TARGET_COMMAND")) 79 execute_pre_post_process(self.d, self.d.getVar("POPULATE_SDK_POST_TARGET_COMMAND"))
75 80