apps: Add YNH_ARCH to app script env for easier debugging and arch check in script

This commit is contained in:
Alexandre Aubin 2021-11-02 01:38:11 +01:00
parent edc5295d51
commit 85eb43a730

View file

@ -2390,6 +2390,7 @@ def _make_environment_for_app_script(
"YNH_APP_INSTANCE_NAME": app,
"YNH_APP_INSTANCE_NUMBER": str(app_instance_nb),
"YNH_APP_MANIFEST_VERSION": manifest.get("version", "?"),
"YNH_ARCH": check_output("dpkg --print-architecture"),
}
if workdir: