summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPau Espin Pedrol <pau.espin@aweurope.be>2015-01-16 12:57:25 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-01-23 11:36:25 +0000
commit6f196670e827ffd086aa769d482e6527f38eee06 (patch)
treee4f8f77b105ebbc49ee634615b58b9e04618a34d
parent9538ee9191a1d3a2ebcf0f8d329509b43cec29c9 (diff)
downloadpoky-6f196670e827ffd086aa769d482e6527f38eee06.tar.gz
lib/oe/sdk.py: Add SDKIMAGE_INSTALL_COMPLEMENTARY capabilities to DpkgSdk
Creating an SDK by means of do_populate_sdk, complementary packages (SDKIMAGE_FEATURES = "dev-pkgs dbg-pkgs") are not installed when using the deb packaging system. The reason is that the call to install the complementary packages is missing from the deb backend. This patch fixes that. [YOCTO #7160] (From OE-Core rev: 0bcca69ea97ac51acf290f8f1da1bde715ab51c4) (From OE-Core rev: 6755935e58b0414870adb7c7abab1aa331596209) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/lib/oe/sdk.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/lib/oe/sdk.py b/meta/lib/oe/sdk.py
index c57a441941..a6767412c7 100644
--- a/meta/lib/oe/sdk.py
+++ b/meta/lib/oe/sdk.py
@@ -269,6 +269,8 @@ class DpkgSdk(Sdk):
269 bb.note("Installing TARGET packages") 269 bb.note("Installing TARGET packages")
270 self._populate_sysroot(self.target_pm, self.target_manifest) 270 self._populate_sysroot(self.target_pm, self.target_manifest)
271 271
272 self.target_pm.install_complementary(self.d.getVar('SDKIMAGE_INSTALL_COMPLEMENTARY', True))
273
272 execute_pre_post_process(self.d, self.d.getVar("POPULATE_SDK_POST_TARGET_COMMAND", True)) 274 execute_pre_post_process(self.d, self.d.getVar("POPULATE_SDK_POST_TARGET_COMMAND", True))
273 275
274 self._copy_apt_dir_to(os.path.join(self.sdk_target_sysroot, "etc", "apt")) 276 self._copy_apt_dir_to(os.path.join(self.sdk_target_sysroot, "etc", "apt"))