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/rootfs.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/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): | |||
534 | opkg_post_process_cmds = self.d.getVar('OPKG_POSTPROCESS_COMMANDS', True) | 534 | opkg_post_process_cmds = self.d.getVar('OPKG_POSTPROCESS_COMMANDS', True) |
535 | rootfs_post_install_cmds = self.d.getVar('ROOTFS_POSTINSTALL_COMMAND', True) | 535 | rootfs_post_install_cmds = self.d.getVar('ROOTFS_POSTINSTALL_COMMAND', True) |
536 | 536 | ||
537 | # update PM index files | 537 | # update PM index files, unless users provide their own feeds |
538 | self.pm.write_index() | 538 | if (self.d.getVar('BUILD_IMAGES_FROM_FEEDS', True) or "") != "1": |
539 | self.pm.write_index() | ||
539 | 540 | ||
540 | execute_pre_post_process(self.d, opkg_pre_process_cmds) | 541 | execute_pre_post_process(self.d, opkg_pre_process_cmds) |
541 | 542 | ||