Copying a File to Specific FIleSystem Type
The following file attribute instructs CopyTarget to copy the file from ${WORKSPACE}/home/nvidia/file.txt
to ${TARGET_DIRECTORY}/file.txt
with permission 0644, and ownership nvidia:nvidia
; where ${TARGET_DIRECTORY}
is the target directory provided to CopyTarget and where ${WORKSPACE}
is the workspace directory provided to CopyTarget. Based on the filesystems
field, this file is copied to only "safety" or "safety-debug" filesystem-type.
fileList:
- destination: /file.txt
source:
pdk_sdk_installed_path: /home/nvidia/file.txt
perm: 644
owner: nvidia
group: nvidia
filesystems:
standard:
required: no
safety:
required: yes
jama: DRV5X-STAKEHLDREQPLCL3-2429
safety_debug:
required: yes
jama: DRV5X-STAKEHLDREQPLCL3-2429