Add PORTAGE_PYM_PATH variable when calling portageq.

When portageq was called in bash v5.1, portageq passed despite the
PORTAGE_PYM_PATH environment variable not being set. This was because
v5.1 returned an empty string for unset variables, causing the "cd" call
to default to HOME. However, in bash v5.3, unset variables return null,
causing all chromeos-base packages to fail. This change explicitly sets
this variable.

BUG=b/454135047
TEST=presubmit
RELEASE_NOTE=None

Change-Id: I3a306d0ad4598c20f085d3a9902e63bb6c24089a
Reviewed-on: https://cos-review.googlesource.com/c/third_party/overlays/eclass-overlay/+/123761
Reviewed-by: He Gao <hegao@google.com>
Tested-by: Cusky Presubmit Bot <presubmit@cos-infra-prod.iam.gserviceaccount.com>
1 file changed
tree: 31d3270e989c7ef5b885597ec541872e558e2286
  1. acct-group/
  2. acct-user/
  3. eclass/
  4. metadata/
  5. profiles/
  6. OWNERS
  7. OWNERS.security
  8. PRESUBMIT.cfg
  9. README.md
README.md

CrOS eclass overlay

This eclass overlay is used for 2 purposes: