[OE-core] [PATCH] package_manager.py: Add PACKAGE_ENABLE_FILELIST option to OpkgIndexer
Alexander Kanavin
alexander.kanavin at linux.intel.com
Fri Sep 1 13:04:17 UTC 2017
On 08/31/2017 09:46 PM, Haris Okanovic wrote:
> 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.
The only way to discover that this option exists is to read the code for
OpkgIndexer. And it's specific to opkg, which is not reflected in the
option name at all.
Can you instead just place the index generation into a custom recipe
that depends on package-index recipe?
Alex
More information about the Openembedded-core
mailing list