$ setup.sh --machines=nxp-imx8 --dl-layers --accept-eula=yes && source environment-setup-x86_64-wrlinuxsdk-linux && source oe-init-build-env build $ { echo foobar } $ export -f foobar $ bitbake -c menuconfig linux-yocto Can not launch menucofig WARNING: exit code 2 from a shell command.
$ setup.sh --machines=nxp-imx8 --dl-layers --accept-eula=yes && source environment-setup-x86_64-wrlinuxsdk-linux && source oe-init-build-env build $ function foobar { echo foobar } $ export -f foobar $ bitbake -c menuconfig linux-yocto