Update install hook for SBOM pkg info

After ChromeOS rebase, several ebuild files
have been updated and the hook cannot find
the download url for them. This CL adds
some allowed env vars and marks packages
with license "metapackage" as virtual packages.

BUG=b/254334533
TEST=presubmit
RELEASE_NOTE=None

Change-Id: I226fdfc343211a7b2df7852a9332fdc90198702d
Reviewed-on: https://cos-review.googlesource.com/c/third_party/platform/crosutils/+/41414
Tested-by: Cusky Presubmit Bot <presubmit@cos-infra-prod.iam.gserviceaccount.com>
Reviewed-by: Robert Kolchmeyer <rkolchmeyer@google.com>
2 files changed