diff options
author | Laurentiu Palcu <laurentiu.palcu@intel.com> | 2014-02-05 11:08:34 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-02-11 11:53:44 +0000 |
commit | f4fa44cf914dc504709eb8c302566429071f2b80 (patch) | |
tree | 13462d94fe54df0f8d5d97075626fcdfd6b6bbb5 /meta/lib/oe/sdk.py | |
parent | ab8cbf35d6d9906e72ebc25d18f19a1f3dc82fd9 (diff) | |
download | poky-f4fa44cf914dc504709eb8c302566429071f2b80.tar.gz |
rootfs.py, package_manager.py, sdk.py: Fix building from feeds feature for opkg
When using opkg as the PM backend, one has the option to provide custom
feeds to create the rootfs from.
This commit:
* fixes this in the refactored code;
* moves the custom config creation code to python;
* clean up the package-ipk.bbclass;
(From OE-Core rev: 19c538f57c8fa7c566e88a6dbe13ea4826d4f26c)
Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oe/sdk.py')
-rw-r--r-- | meta/lib/oe/sdk.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/lib/oe/sdk.py b/meta/lib/oe/sdk.py index b54e51697c..518076e75d 100644 --- a/meta/lib/oe/sdk.py +++ b/meta/lib/oe/sdk.py | |||
@@ -216,7 +216,9 @@ class OpkgSdk(Sdk): | |||
216 | def _populate_sysroot(self, pm, manifest): | 216 | def _populate_sysroot(self, pm, manifest): |
217 | pkgs_to_install = manifest.parse_initial_manifest() | 217 | pkgs_to_install = manifest.parse_initial_manifest() |
218 | 218 | ||
219 | pm.write_index() | 219 | if (self.d.getVar('BUILD_IMAGES_FROM_FEEDS', True) or "") != "1": |
220 | pm.write_index() | ||
221 | |||
220 | pm.update() | 222 | pm.update() |
221 | 223 | ||
222 | for pkg_type in self.install_order: | 224 | for pkg_type in self.install_order: |