summaryrefslogtreecommitdiff
path: root/meta/lib/oe/sdk.py
diff options
context:
space:
mode:
authorLaurentiu Palcu <laurentiu.palcu@intel.com>2014-02-05 11:08:34 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-02-11 11:50:32 +0000
commit19c538f57c8fa7c566e88a6dbe13ea4826d4f26c (patch)
treeb5a7c1fbb2883c1517f61302c9f97c8f2c7681f6 /meta/lib/oe/sdk.py
parent7e518e399da51de3b159bd6804735b2f14c39357 (diff)
downloadopenembedded-core-19c538f57c8fa7c566e88a6dbe13ea4826d4f26c.tar.gz
openembedded-core-19c538f57c8fa7c566e88a6dbe13ea4826d4f26c.tar.bz2
openembedded-core-19c538f57c8fa7c566e88a6dbe13ea4826d4f26c.zip
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; Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Diffstat (limited to 'meta/lib/oe/sdk.py')
-rw-r--r--meta/lib/oe/sdk.py4
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):
def _populate_sysroot(self, pm, manifest):
pkgs_to_install = manifest.parse_initial_manifest()
- pm.write_index()
+ if (self.d.getVar('BUILD_IMAGES_FROM_FEEDS', True) or "") != "1":
+ pm.write_index()
+
pm.update()
for pkg_type in self.install_order: