02-10-2021 11:25 PM
I have created a petalinux project with zynq as template. I was able to run petalinux-build without any problems but when I try to run petalinux-build --sdk. I get the following error message.
ERROR: petalinux-image-minimal-1.0-r0 do_populate_sdk: The postinstall intercept hook 'update_gio_module_cache' failed, details in /storage/SYSC/hitesh1.v/petalinux-workspace/peta-try/build/tmp/work/zynq_generic-xilinx-linux-gnueabi/petalinux-image-minimal/1.0-r0/temp/log.do_populate_sdk
I have added the entire do_populate_sdk log file for you reference in the attachments.
Any leads regarding this would be appreciated
05-20-2021 07:14 PM
Make sure default shell.
I guess it's dash. If it's dash, change to bash.
ls -lA /bin/sh
ln -s /bin/bash /bin/sh
Hope this helps.