ENV_VARS (x_exec.run)

List of Environment Variables that are Accessible Inside x_exec.run

  • Description: The raw value of .pkg from .SBUILD <ALWAYS Available>

  • ALWAYS USE ${PKG} for output, example: ${PKG} (Main Binary), ${PKG}.png (Icon), ${PKG}.desktop (Desktop) etc

  • Description: The raw value of .pkg_id from .SBUILD <Empty if not Available>

  • Description: The raw value of .pkg_type from .SBUILD <Empty if not Available>

  • Description: The raw value of .pkgver OR the output produced by x_exec.pkgverfrom.SBUILD <ALWAYS Available>

  • This is the same as the raw content of ${SBUILD_PKG}.version file

  • Description: The raw value of .pkg + .pkg_type from .SBUILD <ALWAYS Available>

  • Description: The Root (Temporary) Working Directory x_exec.run is Run From <ALWAYS Available>

  • All NEEDED Files must exist in this Directory

  • Description: The SBUILD_TEMP Directory inside ${SBUILD_OUTDIR} (PATH: ${SBUILD_OUTDIR}/SBUILD_TEMP), used for storing NON-NEEDED Files <ALWAYS Available>

  • Use this dir to do Additional Steps, keep the main ${SBUILD_OUTDIR} clutter free

  • Description: User-Agent from Host <Empty if not Available>

  • If available & inherited, the Runner will use it as the User Agent Header for all HTTP Requests.

  • If used --no-hostenv, then this ENV_VAR is NOT TO BE INHERITED/INSERTED AT ALL

  • Description: Github Token from Host <Empty if not Available>

  • If available & inherited, the Runner will use it as the Token to make Github API Requests.

  • If used --no-hostenv, then this ENV_VAR is NOT TO BE INHERITED/INSERTED AT ALL

  • Description: Gitlab Token from Host <Empty if not Available>

  • If available & inherited, the Runner will use it as the Token to make Gitlab API Requests.

  • If used --no-hostenv, then this ENV_VAR is NOT TO BE INHERITED/INSERTED AT ALL

  • Description: HuggingFaceHub Token from Host <Empty if not Available>

  • If available & inherited, the Runner will use it as the Token to make HF API Requests.

  • If used --no-hostenv, then this ENV_VAR is NOT TO BE INHERITED/INSERTED AT ALL


If --no-hostenvis used, the ENV VARS below are to be created from scratch based on the fallback that's described for each.

Last updated

Was this helpful?