diff options
author | Laurentiu Palcu <laurentiu.palcu@intel.com> | 2014-01-13 10:06:59 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-02-11 11:50:26 +0000 |
commit | ae337edc8ac441c947d1543c2800f37104a0be70 (patch) | |
tree | 4c2c76bfc6a805d6061b34a3755332c4527b288b /meta/lib/oe | |
parent | cb03d15482569c2e56232c921526938dcecfdb68 (diff) | |
download | openembedded-core-ae337edc8ac441c947d1543c2800f37104a0be70.tar.gz openembedded-core-ae337edc8ac441c947d1543c2800f37104a0be70.tar.bz2 openembedded-core-ae337edc8ac441c947d1543c2800f37104a0be70.zip |
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>
Diffstat (limited to 'meta/lib/oe')
-rw-r--r-- | meta/lib/oe/package_manager.py | 2 |
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 |