Skip to contentSkip to conversation

glib-2.0 addition to yocto kirkstone image

yocto MOHAMMED HASSAN 2 participants 6 messages Jan 22, 2025 – Jan 23, 2025 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive

An update,
I notice the files are not being added in my image recipe. I have called it correctly but can't see it. Do I need to set any packageconfig variables?

Quoted 26 lines · MOHAMMED HASSAN via lists.yoctoproject.org

Hi guys,
I am facing an issue with the glib-2.0 library. I have added the package to my image baserootfs as *glib-2.0 . On *manually verifying the image folder under work directory I can see the /usr/lib and other system library file present. But they are not getting added in my final image. i.e I can see them on my target device. What should I do?

The build is successful and I don't see any errors so dont know what to share with you guys.

Regards,
Hassan

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#64607):
https://lists.yoctoproject.org/g/yocto/message/64607
Mute This Topic: https://lists.yoctoproject.org/mt/110748308/7559147
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#2 lore raw

It helps to step back and consider what your actual goal is. A library without applications is not useful on the target image. And if you install applications into target images, you do not need to worry about libraries, they will be pulled into the target image through package dependencies.

So what is the task you have?

Alex

Quoted 30 lines · MOHAMMED HASSAN via lists.yoctoproject.org

An update,
I notice the files are not being added in my image recipe. I have called it correctly but can't see it. Do I need to set any packageconfig variables?

Quoted 13 lines · MOHAMMED HASSAN via lists.yoctoproject.org

Hi guys,
I am facing an issue with the glib-2.0 library. I have added the package to my image baserootfs as glib-2.0 . On manually verifying the image folder under work directory I can see the /usr/lib and other system library file present. But they are not getting added in my final image. i.e I can see them on my target device. What should I do?

The build is successful and I don't see any errors so dont know what to share with you guys.

Regards,
Hassan

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#64608): https://lists.yoctoproject.org/g/yocto/message/64608
Mute This Topic: https://lists.yoctoproject.org/mt/110748308/1686489
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#3 lore raw

Well, I believe bluez5 should add it but it isn't happening for now. *So I wanted to add it manually to my build.*
So i needed suggestions on how to do it.

Quoted 54 lines · Alexander Kanavin

It helps to step back and consider what your actual goal is. A library without applications is not useful on the target image. And if you install applications into target images, you do not need to worry about libraries, they will be pulled into the target image through package dependencies.

So what is the task you have?

Alex

Quoted 3 lines · MOHAMMED HASSAN via lists.yoctoproject.org

An update,
I notice the files are not being added in my image recipe. I have called

it correctly but can't see it. Do I need to set any packageconfig variables?

Quoted 5 lines

On Wed, Jan 22, 2025 at 10:47 AM MOHAMMED HASSAN via

lists.yoctoproject.org <[email protected]>

Quoted 3 lines · wrote:
Quoted 3 lines

Hi guys,
I am facing an issue with the glib-2.0 library. I have added the

package to my image baserootfs as glib-2.0 . On manually verifying the image folder under work directory I can see the /usr/lib and other system library file present. But they are not getting added in my final image. i.e I can see them on my target device. What should I do?

Quoted 2 lines
Quoted 2 lines

The build is successful and I don't see any errors so dont know what to

share with you guys.

Quoted 9 lines
Quoted 8 lines

Regards,
Hassan

Quoted 3 lines

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#64608):

https://lists.yoctoproject.org/g/yocto/message/64608

Quoted 3 lines

Mute This Topic: https://lists.yoctoproject.org/mt/110748308/1686489
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [

[email protected]]

Quoted 2 lines

-=-=-=-=-=-=-=-=-=-=-=-

#4 lore raw

Generally, you need to modify your image recipe to declare what packages need to be in the target image.

Note that ${WORKDIR}/image is a slightly confusing name: it shows what a particular recipe installs and packages, but it has no influence what goes into actual target images.

Alex

Quoted 51 lines · MOHAMMED HASSAN

Well, I believe bluez5 should add it but it isn't happening for now. So I wanted to add it manually to my build. So i needed suggestions on how to do it.

Quoted 44 lines · Alexander Kanavin

It helps to step back and consider what your actual goal is. A library without applications is not useful on the target image. And if you install applications into target images, you do not need to worry about libraries, they will be pulled into the target image through package dependencies.

So what is the task you have?

Alex

Quoted 30 lines · MOHAMMED HASSAN via lists.yoctoproject.org

An update,
I notice the files are not being added in my image recipe. I have called it correctly but can't see it. Do I need to set any packageconfig variables?

Quoted 13 lines · MOHAMMED HASSAN via lists.yoctoproject.org

Hi guys,
I am facing an issue with the glib-2.0 library. I have added the package to my image baserootfs as glib-2.0 . On manually verifying the image folder under work directory I can see the /usr/lib and other system library file present. But they are not getting added in my final image. i.e I can see them on my target device. What should I do?

The build is successful and I don't see any errors so dont know what to share with you guys.

Regards,
Hassan

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#64608): https://lists.yoctoproject.org/g/yocto/message/64608
Mute This Topic: https://lists.yoctoproject.org/mt/110748308/1686489
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#5 lore raw

Does it mean I need to add the packageconfig variables or any more changes will be needed?

Quoted 76 lines · Alexander Kanavin

Generally, you need to modify your image recipe to declare what packages need to be in the target image.

Note that ${WORKDIR}/image is a slightly confusing name: it shows what a particular recipe installs and packages, but it has no influence what goes into actual target images.

Alex

Quoted 2 lines · MOHAMMED HASSAN

Well, I believe bluez5 should add it but it isn't happening for now. So

I wanted to add it manually to my build.

Quoted 5 lines

So i needed suggestions on how to do it.

On Wed, Jan 22, 2025 at 2:10 PM Alexander Kanavin <

Quoted 9 lines · [email protected]> wrote:
Quoted 9 lines

It helps to step back and consider what your actual goal is. A library without applications is not useful on the target image. And if you install applications into target images, you do not need to worry about libraries, they will be pulled into the target image through package dependencies.

So what is the task you have?

Quoted 8 lines
Quoted 8 lines

Alex

Quoted 3 lines · MOHAMMED HASSAN via lists.yoctoproject.org

An update,
I notice the files are not being added in my image recipe. I have

called it correctly but can't see it. Do I need to set any packageconfig variables?

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

On Wed, Jan 22, 2025 at 10:47 AM MOHAMMED HASSAN via

lists.yoctoproject.org <[email protected]>

Quoted 3 lines · wrote:
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

Hi guys,
I am facing an issue with the glib-2.0 library. I have added the

package to my image baserootfs as glib-2.0 . On manually verifying the image folder under work directory I can see the /usr/lib and other system library file present. But they are not getting added in my final image. i.e I can see them on my target device. What should I do?

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

The build is successful and I don't see any errors so dont know what

to share with you guys.

Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 8 lines

Regards,
Hassan

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#64608):

https://lists.yoctoproject.org/g/yocto/message/64608

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

Mute This Topic: https://lists.yoctoproject.org/mt/110748308/1686489
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [

[email protected]]

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

-=-=-=-=-=-=-=-=-=-=-=-

#6 lore raw

I don’t know. The problem description is not clear enough for me to give suggestions, and I do not have time to figure out what you need to do in a long exchange of messages.

It helps to provide three clear descriptions like is typically asked when writing bug reports:

1. What you did. Which settings did you change and what commands you issued. Also, what is your goal.

2. What happened. What was the command output and what are any relevant logs or files.

3. What was the expectation, and how does it mismatch point two.

Alex

Quoted 84 lines · MOHAMMED HASSAN

Does it mean I need to add the packageconfig variables or any more changes will be needed?

Quoted 76 lines · Alexander Kanavin

Generally, you need to modify your image recipe to declare what packages need to be in the target image.

Note that ${WORKDIR}/image is a slightly confusing name: it shows what a particular recipe installs and packages, but it has no influence what goes into actual target images.

Alex

Quoted 2 lines · MOHAMMED HASSAN

Well, I believe bluez5 should add it but it isn't happening for now. So

I wanted to add it manually to my build.

Quoted 5 lines

So i needed suggestions on how to do it.

On Wed, Jan 22, 2025 at 2:10 PM Alexander Kanavin <

Quoted 9 lines · [email protected]> wrote:
Quoted 9 lines

It helps to step back and consider what your actual goal is. A library without applications is not useful on the target image. And if you install applications into target images, you do not need to worry about libraries, they will be pulled into the target image through package dependencies.

So what is the task you have?

Quoted 8 lines
Quoted 8 lines

Alex

Quoted 3 lines · MOHAMMED HASSAN via lists.yoctoproject.org

An update,
I notice the files are not being added in my image recipe. I have

called it correctly but can't see it. Do I need to set any packageconfig variables?

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

On Wed, Jan 22, 2025 at 10:47 AM MOHAMMED HASSAN via

lists.yoctoproject.org <[email protected]>

Quoted 3 lines · wrote:
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

Hi guys,
I am facing an issue with the glib-2.0 library. I have added the

package to my image baserootfs as glib-2.0 . On manually verifying the image folder under work directory I can see the /usr/lib and other system library file present. But they are not getting added in my final image. i.e I can see them on my target device. What should I do?

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

The build is successful and I don't see any errors so dont know

what to share with you guys.

Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 8 lines

Regards,
Hassan

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#64608):

https://lists.yoctoproject.org/g/yocto/message/64608

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

Mute This Topic: https://lists.yoctoproject.org/mt/110748308/1686489
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [

[email protected]]

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

-=-=-=-=-=-=-=-=-=-=-=-