ci: suggest setting PMBOOTSTRAP_CMD when unable to locate pmbootstrap.py (MR 5033)

When running locally, sometimes pmbootstrap in PATH is not a symlink and
the auto-detection stuff fails. This can be resolved by setting
PMBOOTSTRAP_CMD=/path/to/pmbootstrap.py, so the error has been improved
to suggest doing this.

[ci:skip-build]: already built successfully in CI
This commit is contained in:
Clayton Craft 2024-04-24 14:38:11 -07:00 committed by Pablo Correa Gómez
parent 0d4817959d
commit 86e913235c
No known key found for this signature in database
GPG key ID: 7A342565FF635F79

View file

@ -34,7 +34,7 @@ def path_pmbootstrap():
return directory
# Symlink not set up properly
print("ERROR: 'pmbootstrap' is not a symlink to pmbootstrap.py")
print("ERROR: unable to find path to pmbootstrap.py. Try setting 'PMBOOTSTRAP_CMD'.")
sys.exit(1)