build_image/licensing: Generate missing license information.
When build_image generates the licensing credits page, it will now
generate license information for any packages that don't already have
In theory, this is never needed. In practice, it can happen because of
things like locally cached binary packages that are outdated.
This change has little to no impact on performance if all packages
are present, but it will hurt performance when that data is
missing. This means that if we ever stop generating this data for some
or all packages, we'll only notice because build_image gets slower.
TEST=Ran build_image in a clean tree with/without this change and compared
timings (both flavors varied between 3:39 and 3:50 min).
Reviewed-by: Mike Frysinger <firstname.lastname@example.org>
Tested-by: Don Garrett <email@example.com>
Commit-Queue: Don Garrett <firstname.lastname@example.org>
1 file changed