Environment Variables Available in Pre and Post Install Scripts

The following table lists out available environment variables that can be used throughout NVIDIA Build-FS and at which specific location. If a particular variable is not available for use, an indicator is marked in this table.

Variable

Description

PreInstall Scripts

PostInstall Scripts

WORK_DIR

Assigned value of the path to NVIDIA Build-FS's workspace.

Available

Available

FILESYSTEM_WORK_DIR

Assigned value of the path to target filesystem directory located on host.

Available

Available

BUILD_FS_OUTDIR

Assigned value of the path to Build-FS's output directory.

Available

Available

NV_WORKSPACE

Assigned value of the path to NVIDIA DRIVE OS installation

Available

Available