Tried with echo got the vlaues same as expected but still facing same error.
fi templatesdir=$(python3 -c "import sys; print(sys.argv[1].strip('/').split('/')[-2])" "$TEMPLATECONF") *echo "templatdirvalue = $templatesdir , templateconf value = $TEMPLATECONF"* if [ "$templatesdir" != templates ] || [ ! -f "$TEMPLATECONF/../../layer.conf" ]; then *echo "templateconf value = $TEMPLATECONF"* die "TEMPLATECONF value (which is $TEMPLATECONF) must point to meta-some-layer/conf/templates/template-name" fi build@ubuntu-bionic:~/project$ source meta-eaton/setup-build-env templatdirvalue = templates , templateconf value = /home/build/project/meta-eaton/conf/templates/template-name templateconf value = /home/build/project/meta-eaton/conf/templates/template-name Error: TEMPLATECONF value (which is /home/build/project/meta-eaton/conf/templates/template-name) must point to meta-some-layer/conf/templates/template-name build@ubuntu-bionic:~/project$ cd meta-eaton/conf/templates/template-name/
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#64561): https://lists.yoctoproject.org/g/yocto/message/64561 Mute This Topic: https://lists.yoctoproject.org/mt/110623411/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-