diff options
author | Pau Espin Pedrol <pau.espin@aweurope.be> | 2015-01-16 12:57:25 +0100 |
---|---|---|
committer | Dan McGregor <dan.mcgregor@usask.ca> | 2015-02-05 08:51:16 -0600 |
commit | 1dc09d6d9790ad12e0522259d12c77ca4a40ab0b (patch) | |
tree | 8e2d8e11ad3a06f844d75161934fd06049f50df7 | |
parent | c2258bfabd6057ce58275e72188dad5e1372d6cc (diff) | |
download | openembedded-core-contrib-1dc09d6d9790ad12e0522259d12c77ca4a40ab0b.tar.gz |
lib/oe/sdk.py: Add SDKIMAGE_INSTALL_COMPLEMENTARY capabilities to DpkgSdkdankm/dizzy-backports
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)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/lib/oe/sdk.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/lib/oe/sdk.py b/meta/lib/oe/sdk.py index c57a4419416..a6767412c71 100644 --- a/meta/lib/oe/sdk.py +++ b/meta/lib/oe/sdk.py @@ -269,6 +269,8 @@ class DpkgSdk(Sdk): bb.note("Installing TARGET packages") self._populate_sysroot(self.target_pm, self.target_manifest) + self.target_pm.install_complementary(self.d.getVar('SDKIMAGE_INSTALL_COMPLEMENTARY', True)) + execute_pre_post_process(self.d, self.d.getVar("POPULATE_SDK_POST_TARGET_COMMAND", True)) self._copy_apt_dir_to(os.path.join(self.sdk_target_sysroot, "etc", "apt")) |