]> code.ossystems Code Review - openembedded-core.git/commit
lib/oe/package_manager.py: fixes for dpkg backend
authorLaurentiu Palcu <laurentiu.palcu@intel.com>
Wed, 22 Jan 2014 12:15:02 +0000 (14:15 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 11 Feb 2014 11:50:27 +0000 (11:50 +0000)
commitdc626cbcfd37c940bb8739b14d3ab8097e1760ea
tree70045eb0198c4efe93bc19a9d4a1a14fc96fbd47
parentbb1fb4ceb544c161ed30cd102155657e3771859b
lib/oe/package_manager.py: fixes for dpkg backend

This commit contains the following fixes:
 * pass the apt config directory to the DpkgPM constructor, so one can
   instantiate this class multiple times and give it different config
   files (like for creating SDK);
 * change constructor argument name from 'dpkg_archs' to 'base_archs';
 * export APT_CONFIG environment variable before calling apt-get, not in
   constructor. If done in constructor, the last class instantiation,
   sets the environment, which is note desireable;

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
meta/lib/oe/package_manager.py