From 19c538f57c8fa7c566e88a6dbe13ea4826d4f26c Mon Sep 17 00:00:00 2001 From: Laurentiu Palcu Date: Wed, 5 Feb 2014 11:08:34 +0200 Subject: 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 --- meta/lib/oe/sdk.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'meta/lib/oe/sdk.py') 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: -- cgit 1.2.3-korg