[oe-commits] Laurentiu Palcu : lib/oe/package_manager.py: use the bitbake APT_ARGS variable
git at git.openembedded.org
git at git.openembedded.org
Tue Feb 11 11:56:59 UTC 2014
Module: openembedded-core.git
Branch: master-next
Commit: ae337edc8ac441c947d1543c2800f37104a0be70
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=ae337edc8ac441c947d1543c2800f37104a0be70
Author: Laurentiu Palcu <laurentiu.palcu at intel.com>
Date: Mon Jan 13 10:06:59 2014 +0200
lib/oe/package_manager.py: use the bitbake APT_ARGS variable
This commit will revert on using the bitbake APT_ARGS variable, so users
can alter the way apt is called without needing to change it in code.
Signed-off-by: Laurentiu Palcu <laurentiu.palcu at intel.com>
---
meta/lib/oe/package_manager.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/lib/oe/package_manager.py b/meta/lib/oe/package_manager.py
index f84644c..fd86938 100644
--- a/meta/lib/oe/package_manager.py
+++ b/meta/lib/oe/package_manager.py
@@ -155,7 +155,7 @@ class DpkgPM(PackageManager):
self.apt_conf_file = os.path.join(self.apt_conf_dir, "apt.conf")
self.apt_get_cmd = bb.utils.which(os.getenv('PATH'), "apt-get")
- self.apt_args = ['', '--no-install-recommends'][d.getVar("NO_RECOMMENDATIONS", True) == "1"]
+ self.apt_args = d.getVar("APT_ARGS", True)
os.environ['APT_CONFIG'] = self.apt_conf_file
More information about the Openembedded-commits
mailing list