UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Explorer
Explorer
4,218 Views
Registered: ‎03-13-2014

Petalinux shell problem

Petalinux needs the shell to be bash. I have changed my default shell to bash using the chsh -s /bin/bash command. However the tools do not run, for example

 

david@ubuntu:/media/disk2/projects/Avnet-Digilent-ZedBoard-2014.2$ petalinux-create -t modules -n mymodule --enable
INFO: Create modules: mymodule
INFO: New modules successfully created in /media/disk2/projects/Avnet-Digilent-ZedBoard-2014.2/components/modules/mymodule
INFO: Enabling created component...
ERROR: Failed to oldconfig linux/rootfs!
/bin/sh: 1: arithmetic expression: expecting primary: ""
/bin/sh: 1: pushd: not found
/bin/sh: 1: popd: not found
make: *** [oldconfig] Error 127
ERROR: Failed to config component linux/rootfs
ERROR: Failed to enable the component because of configuration failure.
ERROR: However, failed to enable created component.

 

seems scripts use /bin/sh and that is not bash !!!

 

using UBUNTU 14.04  32bit as my Linux

 

Any suggestions

 

Dave

 

 

0 Kudos