petalinux-package --sysroot Command Examples - 2021.2 English

PetaLinux Tools Documentation: Reference Guide

Document ID
UG1144
Release Date
2021-10-27
Version
2021.2 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>