Skip to contentSkip to conversation

Building SDK from Feeds

DISCUSSION Charlie Johnston 3 participants 6 messages Jun 21, 2023

lore
Share & tools
lore
#0 lore raw

Hello,

I'm trying to build an SDK (or even just meta-toolchain) from feeds. For context, there are some dev packages in our feeds that aren't in our OpenEmbedded build that I'd like to include in the SDK. The normal process I use for building an image from feeds is to build the packages from OE locally, build a package index, and then build the image using those feeds and our internal feed server. I'm having trouble figuring out all the architectures and packages that need built to do the same for the SDK.

Trial and error got me to a few of the dummysdk architectures and packages, but is there any documentation on the required packages to build the SDK that I would need to include in a feed? Has anyone tried to do this before?

Thanks,
Charlie Johnston
e. [email protected]

#1 lore raw
Quoted 4 lines · Charlie Johnston

Hello,

I'm trying to build an SDK (or even just meta-toolchain) from feeds. For context, there are some dev packages in our feeds that aren't in our OpenEmbedded build that I'd like to include in the SDK. The normal process I use for building an image from feeds is to build the packages from OE locally, build a package index, and then build the image using those feeds and our internal feed server.

How do you do that? do you have a customized image builder ?

I'm having trouble figuring out all the architectures and packages
that need built to do the same for the SDK.

Quoted 15 lines

Trial and error got me to a few of the dummysdk architectures and packages, but is there any documentation on the required packages to build the SDK that I would need to include in a feed? Has anyone tried to do this before?

Thanks,
Charlie Johnston
e. [email protected]

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#183189): https://lists.openembedded.org/g/openembedded-core/message/183189
Mute This Topic: https://lists.openembedded.org/mt/99680369/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#2 lore raw
Quoted 8 lines · Khem Raj
Quoted 4 lines · Charlie Johnston

Hello,

I'm trying to build an SDK (or even just meta-toolchain) from feeds. For context, there are some dev packages in our feeds that aren't in our OpenEmbedded build that I'd like to include in the SDK. The normal process I use for building an image from feeds is to build the packages from OE locally, build a package index, and then build the image using those feeds and our internal feed server.

How do you do that? do you have a customized image builder ?

We use BUILD_IMAGES_FROM_FEEDS and IPK_FEED_URIS.

Quoted 18 lines

I'm having trouble figuring out all the architectures and packages
that need built to do the same for the SDK.

Quoted 15 lines

Trial and error got me to a few of the dummysdk architectures and packages, but is there any documentation on the required packages to build the SDK that I would need to include in a feed? Has anyone tried to do this before?

Thanks,
Charlie Johnston
e. [email protected]

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#183189): https://urldefense.com/v3/__https://lists.openembedded.org/g/openembedded-core/message/183189__;!!FbZ0ZwI3Qg!qa6SDHssPBrq2FqBFAP20IFtUc_1ZwFNBZ2Eb2GwiHfbMH_EXNtRBhK_4PcthoywMYetFi01E63xO929zE0$
Mute This Topic: https://urldefense.com/v3/__https://lists.openembedded.org/mt/99680369/1997914__;!!FbZ0ZwI3Qg!qa6SDHssPBrq2FqBFAP20IFtUc_1ZwFNBZ2Eb2GwiHfbMH_EXNtRBhK_4PcthoywMYetFi01E63xeX1JCHE$
Group Owner: [email protected]
Unsubscribe: https://urldefense.com/v3/__https://lists.openembedded.org/g/openembedded-core/unsub__;!!FbZ0ZwI3Qg!qa6SDHssPBrq2FqBFAP20IFtUc_1ZwFNBZ2Eb2GwiHfbMH_EXNtRBhK_4PcthoywMYetFi01E63x2Ls-m1k$ [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#3 lore raw
Quoted 5 lines · Charlie Johnston
Quoted 3 lines · Khem Raj
Quoted 1 line · Charlie Johnston
Quoted 7 lines
Quoted 5 lines
Quoted 3 lines

Hello,

I'm trying to build an SDK (or even just meta-toolchain) from feeds. For context, there are some dev packages in our feeds that aren't in our OpenEmbedded build that I'd like to include in the SDK. The normal process I use for building an image from feeds is to build the packages from OE locally, build a package index, and then build the image using those feeds and our internal feed server.

How do you do that? do you have a customized image builder ?

We use BUILD_IMAGES_FROM_FEEDS and IPK_FEED_URIS.

Do you have some documentation on how you do it ?

I see. I think you need nativesdk packages in feeds as well to start with. It will also need
dev and staticdev packages

Quoted 20 lines
Quoted 19 lines

I'm having trouble figuring out all the architectures and packages
that need built to do the same for the SDK.

Quoted 15 lines

Trial and error got me to a few of the dummysdk architectures and packages, but is there any documentation on the required packages to build the SDK that I would need to include in a feed? Has anyone tried to do this before?

Thanks,
Charlie Johnston
e. [email protected]

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#183189): https://urldefense.com/v3/__https://lists.openembedded.org/g/openembedded-core/message/183189__;!!FbZ0ZwI3Qg!qa6SDHssPBrq2FqBFAP20IFtUc_1ZwFNBZ2Eb2GwiHfbMH_EXNtRBhK_4PcthoywMYetFi01E63xO929zE0$
Mute This Topic: https://urldefense.com/v3/__https://lists.openembedded.org/mt/99680369/1997914__;!!FbZ0ZwI3Qg!qa6SDHssPBrq2FqBFAP20IFtUc_1ZwFNBZ2Eb2GwiHfbMH_EXNtRBhK_4PcthoywMYetFi01E63xeX1JCHE$
Group Owner: [email protected]
Unsubscribe: https://urldefense.com/v3/__https://lists.openembedded.org/g/openembedded-core/unsub__;!!FbZ0ZwI3Qg!qa6SDHssPBrq2FqBFAP20IFtUc_1ZwFNBZ2Eb2GwiHfbMH_EXNtRBhK_4PcthoywMYetFi01E63x2Ls-m1k$ [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#4 lore raw

Just to note, there's now an additional option of setting up an SDK environment from sstate cache using bitbake, added about a year ago. No need to build and distributed gigantic shell archives, or maintain package feeds.

Alex

Quoted 45 lines · Khem Raj
Quoted 5 lines · Charlie Johnston
Quoted 3 lines · Khem Raj
Quoted 1 line · Charlie Johnston
Quoted 7 lines
Quoted 5 lines
Quoted 3 lines

Hello,

I'm trying to build an SDK (or even just meta-toolchain) from feeds. For context, there are some dev packages in our feeds that aren't in our OpenEmbedded build that I'd like to include in the SDK. The normal process I use for building an image from feeds is to build the packages from OE locally, build a package index, and then build the image using those feeds and our internal feed server.

How do you do that? do you have a customized image builder ?

We use BUILD_IMAGES_FROM_FEEDS and IPK_FEED_URIS.

Do you have some documentation on how you do it ?

I see. I think you need nativesdk packages in feeds as well to start with. It will also need
dev and staticdev packages

Quoted 5 lines
Quoted 5 lines

I'm having trouble figuring out all the architectures and packages
that need built to do the same for the SDK.

Quoted 1 line
Quoted 9 lines
Quoted 8 lines
Quoted 8 lines

Trial and error got me to a few of the dummysdk architectures and packages, but is there any documentation on the required packages to build the SDK that I would need to include in a feed? Has anyone tried to do this before?

Thanks,
Charlie Johnston
e. [email protected]

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

#5 lore raw

Here's how we configure building from feeds in our distro:
https://github.com/ni/meta-nilrt/blob/nilrt/master/hardknott/conf/distro/nilrt.inc#L156-L167

Alex, are you referring to the the improvements you made to meta-ide-support? I hadn't seen those yet as I've mostly been using kirkstone. I'll have to try that, I'm curious if the way it populates sysroot might be extendable to pulling from our internal source feeds on top of the sstate-based build.

Thanks,
Charlie

Quoted 53 lines · Alexander Kanavin

Just to note, there's now an additional option of setting up an SDK environment from sstate cache using bitbake, added about a year ago. No need to build and distributed gigantic shell archives, or maintain package feeds.

Alex

Quoted 45 lines · Khem Raj
Quoted 5 lines · Charlie Johnston
Quoted 3 lines · Khem Raj
Quoted 1 line · Charlie Johnston
Quoted 7 lines
Quoted 5 lines
Quoted 3 lines

Hello,

I'm trying to build an SDK (or even just meta-toolchain) from feeds. For context, there are some dev packages in our feeds that aren't in our OpenEmbedded build that I'd like to include in the SDK. The normal process I use for building an image from feeds is to build the packages from OE locally, build a package index, and then build the image using those feeds and our internal feed server.

How do you do that? do you have a customized image builder ?

We use BUILD_IMAGES_FROM_FEEDS and IPK_FEED_URIS.

Do you have some documentation on how you do it ?

I see. I think you need nativesdk packages in feeds as well to start with. It will also need
dev and staticdev packages

Quoted 5 lines
Quoted 5 lines

I'm having trouble figuring out all the architectures and packages
that need built to do the same for the SDK.

Quoted 1 line
Quoted 9 lines
Quoted 8 lines
Quoted 8 lines

Trial and error got me to a few of the dummysdk architectures and packages, but is there any documentation on the required packages to build the SDK that I would need to include in a feed? Has anyone tried to do this before?

Thanks,
Charlie Johnston
e. [email protected]

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#183195): https://urldefense.com/v3/__https://lists.openembedded.org/g/openembedded-core/message/183195__;!!FbZ0ZwI3Qg!rf1gi_eNAVFuC1y6eKRZVEma755kRRubI98-8onFX0JwkIa21g7pkRCeSNTv54BbOqYuD3ojEwENtgfWGtr51cu_$
Mute This Topic: https://urldefense.com/v3/__https://lists.openembedded.org/mt/99680369/1686489__;!!FbZ0ZwI3Qg!rf1gi_eNAVFuC1y6eKRZVEma755kRRubI98-8onFX0JwkIa21g7pkRCeSNTv54BbOqYuD3ojEwENtgfWGodz7O_P$
Group Owner: [email protected]
Unsubscribe: https://urldefense.com/v3/__https://lists.openembedded.org/g/openembedded-core/unsub__;!!FbZ0ZwI3Qg!rf1gi_eNAVFuC1y6eKRZVEma755kRRubI98-8onFX0JwkIa21g7pkRCeSNTv54BbOqYuD3ojEwENtgfWGg7UWWQh$ [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-