Re: [poky] Issue with Dynamic Linker and Python Dependency in Yocto SDK Setup
Ross Burton <[email protected]>
| Newsgroups | org.yoctoproject.lists.poky |
|---|---|
| Message-ID | <[email protected]> |
On 21 Jun 2024, at 12:49, Nicolas Wirth via lists.yoctoproject.org <[email protected]> wrote: > > Hi everyone, > I'm currently facing an issue while setting up a Yocto SDK environment using the bitbake my-image -c populate_sdk command. The SDK needs to be deployed on a machine that has no existing installations and lacks Python. To work around this, I've modified SDK_PACKAGING_FUNC to "do_compile" instead of "create_shar" to directly obtain the source files. The SDK installer needs Python. > Since I don't have Python installed, I am unable to run relocate_sdk.py. Could someone please advise on how to resolve this issue or suggest alternative approaches to correctly set up the Yocto SDK environment without Python? You could reimplement the relocation code in C and compile it into the SDK I guess. Or hack the SDK generation so that it can only be installed into a specific location, and then you won’t need to relocate it. My recommendation would be to ensure Python is on the machine. Ross