NVIDIA Build-FS Architecture
NVIDIA Build-FS tool is a Python program that takes in a json CONFIG file as input and outputs an ext4 filesystem image.
NVIDIA Build-FS parses the input CONFIG file to determine the target OS desired and initializes OS specific class objects to process the filesystem creation process.
The filesystem creation process contains four stages, which are:
- Pre-build
- Build
- Post-build
- Process-output
These stages are present for all supported operating systems, but the implementation varies depending on the OS.
OS |
Linux |
pre-build |
|
build |
|
post-build |
|
process-output |
Create chosen target filesystems outputs:
|
All Build-FS helper scripts/temporary files used in the process of generating the
filesystem image are stored under the /tmp/
directory of the target
filesystem during its required lifetime and are deleted before the final target filesystem
image is created.