I am using Ubuntu 18.04 (running on VirtualBox) and trying to create a Petalinux 2017.4 project to interface a webcam to my Zedboard. I have enabled OpenCV and Python on the project as I'm trying to capture a video stream from my webcam.
When I run the petalinux-config -c kernel command, I get the following error:
Error: OE-core's config sanity checker detected a potential misconfiguration. Either fix the cause of this error or at your own risk disable the checker (see sanity.conf).
Following is the list of potential problems / advisories:
You system needs to support the en_US.UTF-8 locale.
Summary: There was 1 ERROR message shown, returning non-zero exit code.
ERROR: bitbake failed to cleansstate kernel
ERROR: Failed to config kernel.
What I've tried so far:
1) I have tried disabling the sanity checker as mentioned in the link below but I couldn't find all 4 sanity.bbclass files as mentioned:
2) I've also tried editing the file at
/etc/default/locale
to add
LC_ALL="en_US.UTF-8" LC_CTYPE="en_US.UTF-8" LANGUAGE="en_US.UTF-8"
But I still get the same error.
3) Another solution suggested was to edit the locale.py file but I cannot find the correct code lines to edit as it does not match the one mentioned in the solution (linked below):
Any help would be greatly appreciated!