petalinux-package --sysroot Command Examples - 2022.1 English

PetaLinux Tools Documentation: Reference Guide (UG1144)

Document ID
UG1144
Release Date
2022-04-26
Version
2022.1 English

The following examples demonstrate the proper usage of the petalinux-package --sysroot command.

  • Install default SDK to default directory.
    $ petalinux-package --sysroot
  • Install specified SDK to default directory.
    $ petalinux-package --sysroot -s <PATH-TO-SDK>
  • Install specified SDK to specified directory.
    $ petalinux-package --sysroot -s <PATH-to-SDK> -d <PATH-TO-INSTALL-DIR>