| commit | 569a3e41d4440348f447b68633e27318203e6533 | [log] [tgz] |
|---|---|---|
| author | Robert Kolchmeyer <rkolchmeyer@google.com> | Thu Feb 27 13:01:21 2025 -0800 |
| committer | Robert Kolchmeyer <rkolchmeyer@google.com> | Fri Mar 14 11:28:29 2025 -0700 |
| tree | 9dc4f924101d346d52fa0bf3357234ddf5756a2d | |
| parent | 020f108c0ce599814fd738c487b2f8118d07a094 [diff] |
hooks/install: use python3.8 We're upgrading python in boards to python3.11, but want to continue using python3.8 in the SDK for now. BUG=b/389105832 TEST=presubmit RELEASE_NOTE=None cos-patch: bug Reviewed-on: https://cos-review.googlesource.com/c/third_party/platform/crosutils/+/94686 Reviewed-by: Kevin Berry <kpberry@google.com> Tested-by: Cusky Presubmit Bot <presubmit@cos-infra-prod.iam.gserviceaccount.com> (cherry picked from commit b50bd36dae23405dfcdcfaa9814c4bc9b149d811) Change-Id: I7a508102ef192be260eab34746ba0358c1b0c716 Reviewed-on: https://cos-review.googlesource.com/c/third_party/platform/crosutils/+/95323
diff --git a/hooks/install/gen-package-licenses.sh b/hooks/install/gen-package-licenses.sh index 062f57b..f793f07 100755 --- a/hooks/install/gen-package-licenses.sh +++ b/hooks/install/gen-package-licenses.sh
@@ -12,7 +12,7 @@ # Run FEATURES='noclean' emerge-x86-alex libc-bench to prevent having the # directory cleaned up if you are debugging. einfo "Generating license for ${PKG} in ${PORTAGE_BUILDDIR:-}" - python3 \ + python3.8 \ /mnt/host/source/chromite/licensing/ebuild_license_hook \ --builddir "${PORTAGE_BUILDDIR}" || die " Failed Generating Licensing for ${PKG}
diff --git a/hooks/install/gen-sbom-package-info.py b/hooks/install/gen-sbom-package-info.py index 39bbe1c..dd50c9a 100755 --- a/hooks/install/gen-sbom-package-info.py +++ b/hooks/install/gen-sbom-package-info.py
@@ -1,4 +1,4 @@ -#!/usr/bin/env python3 +#!/usr/bin/env python3.8 # # Copyright 2022 Google LLC #