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:50:32 +0000 |
commit | 19c538f57c8fa7c566e88a6dbe13ea4826d4f26c (patch) | |
tree | b5a7c1fbb2883c1517f61302c9f97c8f2c7681f6 /meta/lib/oe/rootfs.py | |
parent | 7e518e399da51de3b159bd6804735b2f14c39357 (diff) | |
download | openembedded-core-contrib-19c538f57c8fa7c566e88a6dbe13ea4826d4f26c.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;
Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Diffstat (limited to 'meta/lib/oe/rootfs.py')
-rw-r--r-- | meta/lib/oe/rootfs.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/meta/lib/oe/rootfs.py b/meta/lib/oe/rootfs.py index 95c275875f..7455a865a4 100644 --- a/meta/lib/oe/rootfs.py +++ b/meta/lib/oe/rootfs.py @@ -534,8 +534,9 @@ class OpkgRootfs(Rootfs): opkg_post_process_cmds = self.d.getVar('OPKG_POSTPROCESS_COMMANDS', True) rootfs_post_install_cmds = self.d.getVar('ROOTFS_POSTINSTALL_COMMAND', True) - # update PM index files - self.pm.write_index() + # update PM index files, unless users provide their own feeds + if (self.d.getVar('BUILD_IMAGES_FROM_FEEDS', True) or "") != "1": + self.pm.write_index() execute_pre_post_process(self.d, opkg_pre_process_cmds) |