I have one more question, why when I have added the "python-node-semver" to my 
image

IMAGE_INSTALL:append = " python3-node-semver"

it was not by default part of the host SDK!! is this something special for the 
python packages?

Regards,

Salahaldeen

On Thu, Feb 15, 2024 at 10:39 PM, Altous, Salahaldeen wrote:

> 
> 
> 
> Hi Ross,
> 
> 
> 
> On Thu, Feb 15, 2024 at 04:04 AM, Ross Burton wrote:
> 
> 
>> On 15 Feb 2024, at 07:27, Altous, Salahaldeen via lists.yoctoproject.org
>> <Salahaldeen.Altous=leica-camera....@lists.yoctoproject.org> wrote:
>> 
>>> Hello,
>>> 
>>> I am using one application which is using a python3 module
>>> (python3-node-semver), I was trying to provide the application developer
>>> with the yocto SDK but I cannot locate this module in the new generate
>>> SDK, I have tried to add this manually by adding these lines to machine
>>> config like this
>>> 
>>> IMAGE_INSTALL:append = " python3-node-semver"
>>> TOOLCHAIN_HOST_TASK += " python3-node-semver "
>>> 
>>> https://layers.openembedded.org/layerindex/recipe/333689/
>>> 
>>> but still not working, python3-node-semver is available on the target but
>>> not in the host SDK!! Any idea what this happening?
>> 
>> If you want a recipe to be available in the _host_ part of the SDK then
>> you need to add nativesdk-python3-node-semver to TOOLCHAIN_HOST_TASK.
> 
> 
> 
> thanks for your quick help, I will use nativesdk-python3-node-semver
> 
> 
>> You _should_ have got an error from trying to install a target package
>> into the host SDK.
> 
> 
> 
> Yes, I have seen some error but was not self explained
> 
> 
> 
> do_populate_sdk: Unable to install packages.
> 
> 
> 
> ....
> 
> 
> 
> ** opkg_prepare_url_for_install: Couldn't find anything to satisfy
> 'python3-node-semver'.*
> 
> 
> 
> Regards,
> 
> 
> 
> Salahaldeen
> 
> 
>> 
>> Ross
> 
> 
> Hi Ross
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#62509): https://lists.yoctoproject.org/g/yocto/message/62509
Mute This Topic: https://lists.yoctoproject.org/mt/104369867/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to