PetaLinux Environment Issues - 2021.2 English

PetaLinux Tools Documentation: Reference Guide

Document ID
UG1144
Release Date
2021-10-27
Version
2021.2 English
You might sometimes encounter the following error while sourcing the tool:
$ source /opt/pkg/petalinux/settings.sh
PetaLinux environment set to /opt/pkg/autolist'
bash: /opt/pkg/autolist/tools/common/petalinux//utils/petalinux-env-check: No such file or directory

To resolve the issue, clean up .bashrc by removing the environment variables.