Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
package_manager.py: Add PACKAGE_ENABLE_FILELIST option to OpkgIndexer
Setting PACKAGE_ENABLE_FILELIST option generates Packages.filelist on `bitbake package-index`, which is index of files provided by each IPK package in the feed. It's useful for figuring out which package provides a particular file/program/library/etc. Disabled by default since generating a filelist involves reading the payload of every package in the feed, a time and IO intensive operation many users won't want to run. Those who do may flip this switch. Testing: * Built an opkg index with PACKAGE_ENABLE_FILELIST unset and verified no Packages.filelist are generated. * Built with PACKAGE_ENABLE_FILELIST="1" and verified each subfeed has Packages.filelist; took ~3min longer for 8,200 IPKs. Signed-off-by: Haris Okanovic <haris.okanovic@ni.com> Rebased-by: Alex Stewart <alex.stewart@ni.com> * Move `package_manager.py` opkg contents to its new, upstream namespaced location. * Fixup index_cmd value to accommodate changes that have gone into upstream since this patch was authored.
- Loading branch information