summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-rw-r--r--meta/lib/oe/package_manager.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/meta/lib/oe/package_manager.py b/meta/lib/oe/package_manager.py
index 8f4b42b0da..5964c61338 100644
--- a/meta/lib/oe/package_manager.py
+++ b/meta/lib/oe/package_manager.py
@@ -1322,7 +1322,11 @@ class OpkgPM(OpkgDpkgPM):
1322 if not pkgs: 1322 if not pkgs:
1323 return 1323 return
1324 1324
1325 cmd = "%s %s install %s" % (self.opkg_cmd, self.opkg_args, ' '.join(pkgs)) 1325 cmd = "%s %s" % (self.opkg_cmd, self.opkg_args)
1326 for exclude in (self.d.getVar("PACKAGE_EXCLUDE") or "").split():
1327 cmd += " --add-exclude %s" % exclude
1328 cmd += " install "
1329 cmd += " ".join(pkgs)
1326 1330
1327 os.environ['D'] = self.target_rootfs 1331 os.environ['D'] = self.target_rootfs
1328 os.environ['OFFLINE_ROOT'] = self.target_rootfs 1332 os.environ['OFFLINE_ROOT'] = self.target_rootfs