Special Environment Variables
The following tables show Environment variables that impacts Build-FS behavior. These variables can only be set via the environment configuration file. If these variables are defined in the shell environment before invoking Build-FS, they are unset by the program before reading the environment configuration file.
| Variable | REQUIRED_VARIABLES | 
|---|---|
| Value | Comma separated variable names | 
| Default | None | 
| Use case | Checks if the variables names specified as comma separated values are defined in the environment. Exits if they are not defined. | 
| 
 | |
| Variable | QEMU_PATH | 
| Value | Path to qemu-aarch64-static. | 
| Default | /usr/bin/ | 
| Use case | Specifies the location of qemu-aarch64-static binary for chrooting into the Linux filesystem. | 
| 
 | |
| Variable | BUILD_FS_DIR | 
| Value | Path to NVIDIA Build-FS directory. | 
| Default | /opt/nvidia/driveos/common/filesystems/build-fs/<NV_BUILD_FS_VERSION> | 
| Use case | Specifies NVIDIA Build-FS location. | 
| 
 | |
| Variable | COPYTARGET | 
| Value | Path to CopyTarget. | 
| Default | /opt/nvidia/driveos/common/filesystems/copytarget/1/copytarget.py | 
| Use case | Specifies the location of NVIDIA CopyTarget. | 
| 
 | |
| Variable | PYTHON3 | 
| Value | Path to Python3. | 
| Default | /usr/bin/python3 | 
| Use case | Specifies the location of Python3 required for invoking copytarget. |