petalinux-package sysroot Command Examples - 2025.1 English - UG1144

PetaLinux Tools Documentation: Reference Guide (UG1144)

Document ID
UG1144
Release Date
2025-05-29
Version
2025.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>