a SDK generated with -cpopulate_sdk and then tried to install it on a different host ./oecore-x86_64-aarch64-toolchain-nodistro.0.sh OpenEmbedded SDK installer version nodistro.0 =========================================================== Enter target directory for SDK (default: /usr/local/oecore-x86_64): You are about to install the SDK to "/usr/local/oecore-x86_64". Proceed[Y/n]? Extracting SDK..................................done Setting it up...done SDK has been successfully set up and is ready to be used. Each time you wish to use the SDK in a new shell session, you need to source the environment setup script e.g. $ . /usr/local/oecore-x86_64//usr/local/oecore-x86_64/environment-setup-aarch64-oe-linux Here the problem is that /usr/local/oecore-x86_64 is repeated twice in that help message which makes the patch not work.
Qi has sent a fix for this the other day.
Fixed in oe-core b388468deda8d81df80d1509226196a5390183a8.
Re-opening as the same problem occurs for the extensible SDK (meta/classes/populate_sdk_ext.bbclass)
Okay I tried replicating this and it all seemed to work: $ ./poky-glibc-x86_64-core-image-minimal-corei7-64-toolchain-ext-2.0.sh [...] Each time you wish to use the SDK in a new shell session, you need to source the environment setup script e.g. $ . /home/ross/poky_sdk/environment-setup-corei7-64-poky-linux $ ./poky-glibc-x86_64-core-image-minimal-corei7-64-toolchain-2.0.sh [...] Each time you wish to use the SDK in a new shell session, you need to source the environment setup script e.g. $ . /opt/poky/2.0/environment-setup-corei7-64-poky-linux Both the normal SDK and extensible SDK have the right paths in the output with current jethro, so closing.
Verified on master: 505a82673ac2487df5ea343a6422c2fc47018831 30022925 -rw-r--r-- 1 yocto yocto 9417 oct 26 19:42 poky-glibc-x86_64-core-image-minimal-i586-toolchain-2.0.host.manifest 30022927 -rwxr-xr-x 1 yocto yocto 139175032 oct 26 19:43 poky-glibc-x86_64-core-image-minimal-i586-toolchain-2.0.sh 30022914 -rw-r--r-- 1 yocto yocto 7170 oct 26 19:42 poky-glibc-x86_64-core-image-minimal-i586-toolchain-2.0.target.manifest yocto@yocto-PowerEdge-R720:~/yocto/BBB/Bug8431/build/tmp/deploy/sdk$ ./poky-glibc-x86_64-core-image-minimal-i586-toolchain-2.0.sh Poky (Yocto Project Reference Distro) SDK installer version 2.0 =============================================================== Enter target directory for SDK (default: /opt/poky/2.0): /opt/poky/2.0_local You are about to install the SDK to "/opt/poky/2.0_local". Proceed[Y/n]? y [sudo] password for yocto: Extracting SDK.....................done Setting it up...done SDK has been successfully set up and is ready to be used. Each time you wish to use the SDK in a new shell session, you need to source the environment setup script e.g. $ . /opt/poky/2.0_local/environment-setup-i586-poky-linux and with 2.0RC2 build ./poky-glibc-x86_64-core-image-sato-core2-64-toolchain-2.0.sh Poky (Yocto Project Reference Distro) SDK installer version 2.0 =============================================================== Enter target directory for SDK (default: /opt/poky/2.0): /opt/poky/2.0_AB You are about to install the SDK to "/opt/poky/2.0_AB". Proceed[Y/n]? y [sudo] password for yocto: Extracting SDK.............................................................................done Setting it up...done SDK has been successfully set up and is ready to be used. Each time you wish to use the SDK in a new shell session, you need to source the environment setup script e.g. $ . /opt/poky/2.0_AB/environment-setup-core2-64-poky-linux