aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLaurentiu Palcu <laurentiu.palcu@intel.com>2014-01-13 10:06:59 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-02-11 11:50:26 +0000
commitae337edc8ac441c947d1543c2800f37104a0be70 (patch)
tree4c2c76bfc6a805d6061b34a3755332c4527b288b
parentcb03d15482569c2e56232c921526938dcecfdb68 (diff)
downloadopenembedded-core-contrib-ae337edc8ac441c947d1543c2800f37104a0be70.tar.gz
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@intel.com>
-rw-r--r--meta/lib/oe/package_manager.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oe/package_manager.py b/meta/lib/oe/package_manager.py
index f84644c62d..fd86938ced 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