Optional Command Line Arguments

Short Option

-o OUTPUT_FOLDER

Long Option

--output=OUTPUT_FOLDER

Value Type

OUTPUT_FOLDER must be a valid UNIX directory path

Defaults

${PWD} (Value of the present working directory)

Required

No, but recommended.

Description

Specifies <OUTPUT_FOLDER> as the absolute path to folder for output.

Short Option

N/A

Long Option

--create-tar=CREATE_TAR

Value Type

CREATE_TAR must be an option in list: [yes, no]

Defaults

No

Required

No

Description

Specifies to create filesystem tarball compressed as BunZip2.

Short Option

N/A

Long Option

--create-image=CREATE_IMAGE

Value Type

CREATE_IMAGE must be an option in list: [yes, no]

Defaults

Yes

Required

No

Description

Specifies to create ext4 filesystem image.

Short Option

N/A

Long Option

--copytarget-source-type=COPYTARGET_SOURCE_TYPE

Value Type

COPYTARGET_SOURCE_TYPE must be a string with printable characters

Defaults

pdk_sdk_installed_path

Required

No

Description

Specifies the type of source path in the copytarget manifest, from which files must be copied to the target filesystem directory.

For more information, see CopyTarget.

Short Option

-f FILESYSTEM_WORK_FOLDER

Long Option

--filesystem-working-directory=FILESYSTEM_WORK_FOLDER

Value Type

FILESYSTEM_WORK_FOLDER must be a valid UNIX directory path

Defaults

None.

Required

No

Description

Allows user to override the folder in which the target filesystem is extracted and worked on. If option is not provided, target filesystem is extracted to BUILD_KIT_TMP_DIR/targetfs.

Where BUILD_KIT_TMP_DIR is the temporary work directory created by the tool for storing temporary files and it is deleted once the output filesystem image/tarball is generated.

Short Option

N/A

Long Option --log-level=LOG_LEVEL
Value Type LOG_LEVEL must be an option in list: ['debug', 'info', 'warning', 'error', 'critical']
Defaults info
Required No
Description Allows you to choose the verbosity of the build_fs tool.
  1. critical: Shows only critical errors
  2. error: Shows all errors in addition to messages above
  3. warning: Shows all warnings in addition to messages above
  4. info: Shows all info messages in addition to messages above
  5. debug: Shows all debug information in addition to messages above