* Re: [yocto] How I can update the Yocto SDK incrementally/partially? [not found] <xhAk.1728376109213832144.otFZ@lists.yoctoproject.org> @ 2024-10-08 9:38 ` Yoann Congal 2024-10-08 9:43 ` Alexander Kanavin 2024-10-08 11:18 ` salahaldeen.altous 2024-10-09 2:49 ` ChenQi 1 sibling, 2 replies; 9+ messages in thread From: Yoann Congal @ 2024-10-08 9:38 UTC (permalink / raw) To: yocto, salahaldeen.altous [-- Attachment #1: Type: text/plain, Size: 1204 bytes --] Le mar. 8 oct. 2024 à 11:27, salahaldeen.altous@yahoo.com via lists.yoctoproject.org <salahaldeen.altous=yahoo.com@lists.yoctoproject.org> a écrit : > Hi All, > > I have the need to update the yocto SDK incrementally without the need to > rebuild it every time from scratch. > I have the package management ipk enabled in my configuration. > > can I use opkg install after sourcing the SDK script? which requirement I > need to get it running? > updating the rootfs on the target is working fine, but updating the SDK is > not working > That sounds like the eSDK : https://docs.yoctoproject.org/sdk-manual/extensible.html#applying-updates-to-an-installed-extensible-sdk Have you tried it? Regards, > Salahaldeen > > -=-=-=-=-=-=-=-=-=-=-=- > Links: You receive all messages sent to this group. > View/Reply Online (#63963): > https://lists.yoctoproject.org/g/yocto/message/63963 > Mute This Topic: https://lists.yoctoproject.org/mt/108885909/4316185 > Group Owner: yocto+owner@lists.yoctoproject.org > Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [ > yoann.congal@smile.fr] > -=-=-=-=-=-=-=-=-=-=-=- > > -- Yoann Congal Smile ECS - Tech expert [-- Attachment #2: Type: text/html, Size: 2591 bytes --] ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [yocto] How I can update the Yocto SDK incrementally/partially? 2024-10-08 9:38 ` [yocto] How I can update the Yocto SDK incrementally/partially? Yoann Congal @ 2024-10-08 9:43 ` Alexander Kanavin 2024-10-08 12:04 ` salahaldeen.altous 2024-10-08 11:18 ` salahaldeen.altous 1 sibling, 1 reply; 9+ messages in thread From: Alexander Kanavin @ 2024-10-08 9:43 UTC (permalink / raw) To: yocto, yoann.congal; +Cc: salahaldeen.altous I think you should rather teach your customer to use yocto properly, rather than exchange SDKs and pre-built ipks with them. Write a proper recipe for the component, and explain to them how to use it. Alex On Tue, 8 Oct 2024 at 11:38, Yoann Congal via lists.yoctoproject.org <yoann.congal=smile.fr@lists.yoctoproject.org> wrote: > > > > Le mar. 8 oct. 2024 à 11:27, salahaldeen.altous@yahoo.com via lists.yoctoproject.org <salahaldeen.altous=yahoo.com@lists.yoctoproject.org> a écrit : >> >> Hi All, >> >> I have the need to update the yocto SDK incrementally without the need to rebuild it every time from scratch. >> I have the package management ipk enabled in my configuration. >> >> can I use opkg install after sourcing the SDK script? which requirement I need to get it running? >> updating the rootfs on the target is working fine, but updating the SDK is not working > > > That sounds like the eSDK : https://docs.yoctoproject.org/sdk-manual/extensible.html#applying-updates-to-an-installed-extensible-sdk > Have you tried it? > > >> Regards, >> Salahaldeen >> >> >> > > > -- > Yoann Congal > Smile ECS - Tech expert > > -=-=-=-=-=-=-=-=-=-=-=- > Links: You receive all messages sent to this group. > View/Reply Online (#63965): https://lists.yoctoproject.org/g/yocto/message/63965 > Mute This Topic: https://lists.yoctoproject.org/mt/108885909/1686489 > Group Owner: yocto+owner@lists.yoctoproject.org > Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [alex.kanavin@gmail.com] > -=-=-=-=-=-=-=-=-=-=-=- > ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [yocto] How I can update the Yocto SDK incrementally/partially? 2024-10-08 9:43 ` Alexander Kanavin @ 2024-10-08 12:04 ` salahaldeen.altous 2024-10-08 12:13 ` Alexander Kanavin 0 siblings, 1 reply; 9+ messages in thread From: salahaldeen.altous @ 2024-10-08 12:04 UTC (permalink / raw) To: Alexander Kanavin, yocto [-- Attachment #1: Type: text/plain, Size: 1653 bytes --] Hi Alex, I would be happy if everyone can learn yocto. but in the real world is different. We have application developer who is only looking to work with SDK without knowing how to build with yocto. One option is to use also eSDK but in my case is not applicable. Regards, Salahaldeen On Tue, Oct 8, 2024 at 02:43 AM, Alexander Kanavin wrote: > > I think you should rather teach your customer to use yocto properly, > rather than exchange SDKs and pre-built ipks with them. Write a proper > recipe for the component, and explain to them how to use it. > > Alex > > On Tue, 8 Oct 2024 at 11:38, Yoann Congal via lists.yoctoproject.org > <yoann.congal=smile.fr@lists.yoctoproject.org> wrote: > >> >> >> >> Le mar. 8 oct. 2024 à 11:27, salahaldeen.altous@yahoo.com via >> lists.yoctoproject.org >> <salahaldeen.altous=yahoo.com@lists.yoctoproject.org> a écrit : >> >>> >>> Hi All, >>> >>> I have the need to update the yocto SDK incrementally without the need to >>> rebuild it every time from scratch. >>> I have the package management ipk enabled in my configuration. >>> >>> can I use opkg install after sourcing the SDK script? which requirement I >>> need to get it running? >>> updating the rootfs on the target is working fine, but updating the SDK is >>> not working >> >> >> That sounds like the eSDK : https://docs.yoctoproject.org/sdk-manual/extensible.html#applying-updates-to-an-installed-extensible-sdk >> >> Have you tried it? >> >> >> >>> Regards, >>> Salahaldeen >>> >>> >>> >> >> >> -- >> Yoann Congal >> Smile ECS - Tech expert >> >> >> > > [-- Attachment #2: Type: text/html, Size: 1956 bytes --] ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [yocto] How I can update the Yocto SDK incrementally/partially? 2024-10-08 12:04 ` salahaldeen.altous @ 2024-10-08 12:13 ` Alexander Kanavin 0 siblings, 0 replies; 9+ messages in thread From: Alexander Kanavin @ 2024-10-08 12:13 UTC (permalink / raw) To: salahaldeen.altous; +Cc: yocto On Tue, 8 Oct 2024 at 14:04, salahaldeen.altous@yahoo.com via Lists.Yoctoproject.Org <salahaldeen.altous=yahoo.com@lists.yoctoproject.org> wrote: > I would be happy if everyone can learn yocto. but in the real world is different. > We have application developer who is only looking to work with SDK without knowing how to build with yocto. > > One option is to use also eSDK but in my case is not applicable. They don't have to 'learn yocto' or use gigantic esdk tarballs or even regular sdk tarballs. They only need to replicate a yocto environment (blindly following your instructions) and then set up a SDK environment directly from there (again blindly following your instructions). Then things will work exactly as they do with SDK tarball, except you don't need to pass tarballs and ipks around, and they can easily add things they need to the SDK environment: https://docs.yoctoproject.org/sdk-manual/extensible.html#installing-the-extensible-sdk "Setting up the Extensible SDK environment directly in a Yocto build. This avoids having to produce, test, distribute and maintain separate SDK installer archives, which can get very large. There is only one environment for the regular Yocto build and the SDK and less code paths where things can go not according to plan. It’s easier to update the SDK: it simply means updating the Yocto layers with git fetch or layer management tooling. The SDK extensibility is better than in the second option: just run bitbake again to add more things to the sysroot, or add layers if even more things are required." ... and then there are specifics about what commands you need to issue to make it happen. I still don't agree with all these 'application developers' who can't be bothered to learn at least a little bit about how their work is integrated into a complete system, but you can help them self-isolate from that if they really insist. Alex ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [yocto] How I can update the Yocto SDK incrementally/partially? 2024-10-08 9:38 ` [yocto] How I can update the Yocto SDK incrementally/partially? Yoann Congal 2024-10-08 9:43 ` Alexander Kanavin @ 2024-10-08 11:18 ` salahaldeen.altous 2024-10-08 11:44 ` Alexander Kanavin 1 sibling, 1 reply; 9+ messages in thread From: salahaldeen.altous @ 2024-10-08 11:18 UTC (permalink / raw) To: Yoann Congal, yocto [-- Attachment #1: Type: text/plain, Size: 1389 bytes --] On Tue, Oct 8, 2024 at 02:38 AM, Yoann Congal wrote: > > > > Le mar. 8 oct. 2024 à 11:27, salahaldeen.altous@yahoo.com via lists.yoctoproject.org > ( http://lists.yoctoproject.org ) <salahaldeen.altous= yahoo.com@lists.yoctoproject.org > > a écrit : > >> Hi All, >> >> I have the need to update the yocto SDK incrementally without the need to >> rebuild it every time from scratch. >> I have the package management ipk enabled in my configuration. >> >> can I use opkg install after sourcing the SDK script? which requirement I >> need to get it running? >> updating the rootfs on the target is working fine, but updating the SDK is >> not working >> > > > That sounds like the eSDK : https://docs.yoctoproject.org/sdk-manual/extensible.html#applying-updates-to-an-installed-extensible-sdk > > Have you tried it? > I was planning to used the normal SDK becuase the eSDK is 5 times bigger for my custom board ~13 GB, I was looking for similar function to install only few packages on the top of the normally SDK without rebuilding again. This would be helpful for the application developer who have no possibility to bitbake a new SDK !! and receiveing incremental updates. Regards, Salahaldeen Altous > > > > > >> Regards, >> Salahaldeen >> >> >> > > > > > -- > Yoann Congal > Smile ECS - Tech expert > > [-- Attachment #2: Type: text/html, Size: 2496 bytes --] ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [yocto] How I can update the Yocto SDK incrementally/partially? 2024-10-08 11:18 ` salahaldeen.altous @ 2024-10-08 11:44 ` Alexander Kanavin 0 siblings, 0 replies; 9+ messages in thread From: Alexander Kanavin @ 2024-10-08 11:44 UTC (permalink / raw) To: yocto, salahaldeen.altous; +Cc: Yoann Congal On Tue, 8 Oct 2024 at 13:18, salahaldeen.altous@yahoo.com via lists.yoctoproject.org <salahaldeen.altous=yahoo.com@lists.yoctoproject.org> wrote: > I was planning to used the normal SDK becuase the eSDK is 5 times bigger for my custom board ~13 GB, I was looking for similar function to install only few packages on the top of the normally SDK without rebuilding again. This would be helpful for the application developer who have no possibility to bitbake a new SDK !! and receiveing incremental updates. They need to start using yocto simply. You can share sstate with them so they don't have to rebuild everything. Alex ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [yocto] How I can update the Yocto SDK incrementally/partially? [not found] <xhAk.1728376109213832144.otFZ@lists.yoctoproject.org> 2024-10-08 9:38 ` [yocto] How I can update the Yocto SDK incrementally/partially? Yoann Congal @ 2024-10-09 2:49 ` ChenQi 2024-10-09 6:48 ` salahaldeen.altous 1 sibling, 1 reply; 9+ messages in thread From: ChenQi @ 2024-10-09 2:49 UTC (permalink / raw) To: yocto, salahaldeen.altous If I understand it correctly, you want to update your SDK from some binary package feeds. I'd say it's possible, because it's basically about installing packages into some directory and doing some relocation, but you'll need to write some tool to do the update work and place that tool in your SDK. There's no official tool in Yocto as far as I know. Not sure if someone else has written such a tool. Regards, Qi On 10/8/24 16:28, salahaldeen.altous@yahoo.com via lists.yoctoproject.org wrote: > Hi All, > > I have the need to update the yocto SDK incrementally without the need > to rebuild it every time from scratch. > I have the package management ipk enabled in my configuration. > > can I use opkg install after sourcing the SDK script? which > requirement I need to get it running? > updating the rootfs on the target is working fine, but updating the > SDK is not working > > Regards, > Salahaldeen > > -=-=-=-=-=-=-=-=-=-=-=- > Links: You receive all messages sent to this group. > View/Reply Online (#63963): https://lists.yoctoproject.org/g/yocto/message/63963 > Mute This Topic: https://lists.yoctoproject.org/mt/108885909/7304865 > Group Owner: yocto+owner@lists.yoctoproject.org > Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [Qi.Chen@eng.windriver.com] > -=-=-=-=-=-=-=-=-=-=-=- > ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [yocto] How I can update the Yocto SDK incrementally/partially? 2024-10-09 2:49 ` ChenQi @ 2024-10-09 6:48 ` salahaldeen.altous 2024-10-09 7:06 ` ChenQi 0 siblings, 1 reply; 9+ messages in thread From: salahaldeen.altous @ 2024-10-09 6:48 UTC (permalink / raw) To: Chen Qi, yocto [-- Attachment #1: Type: text/plain, Size: 1405 bytes --] Hi Qi, On Tue, Oct 8, 2024 at 07:50 PM, Chen Qi wrote: > > If I understand it correctly, you want to update your SDK from some > binary package feeds. I'd say it's possible, because it's basically > about installing packages into some directory and doing some relocation, > but you'll need to write some tool to do the update work and place that > tool in your SDK. There's no official tool in Yocto as far as I know. > Not sure if someone else has written such a tool. this is also my thought, and I was think to use opkg after sourcing the sdk script. But was not working source path/to/sdk/environment-setup-aarch64-oe-linux opkg list * file_mkdir_hier: Cannot create directory `//usr/local/oe-sdk-hardcoded-buildpath': Permission denied. I am missing something here!! Regards, Salahaldeen > > > Regards, > Qi > > On 10/8/24 16:28, salahaldeen.altous@yahoo.com via > lists.yoctoproject.org wrote: > >> Hi All, >> >> I have the need to update the yocto SDK incrementally without the need >> to rebuild it every time from scratch. >> I have the package management ipk enabled in my configuration. >> >> can I use opkg install after sourcing the SDK script? which >> requirement I need to get it running? >> updating the rootfs on the target is working fine, but updating the >> SDK is not working >> >> Regards, >> Salahaldeen >> >> > > [-- Attachment #2: Type: text/html, Size: 1624 bytes --] ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [yocto] How I can update the Yocto SDK incrementally/partially? 2024-10-09 6:48 ` salahaldeen.altous @ 2024-10-09 7:06 ` ChenQi 0 siblings, 0 replies; 9+ messages in thread From: ChenQi @ 2024-10-09 7:06 UTC (permalink / raw) To: salahaldeen.altous, yocto [-- Attachment #1: Type: text/plain, Size: 2096 bytes --] For things to work, the package manager will need to have some certain abilities. For example, it can accept a parameter which points to the database it uses (e.g., --dbpath). I think RPM/dnf have all the ability to make things work. I'm not familiar with opkg though. Even with RPM/dnf, updating SDK from binary package feeds still needs some tool which invokes rpm/dnf, because you'll need to do some relocation or some mapping or creating some temp root directory, etc, in that tool. Regards, Qi On 10/9/24 14:48, salahaldeen.altous@yahoo.com via Lists.Yoctoproject.Org wrote: > Hi Qi, > > On Tue, Oct 8, 2024 at 07:50 PM, Chen Qi wrote: > > If I understand it correctly, you want to update your SDK from some > binary package feeds. I'd say it's possible, because it's basically > about installing packages into some directory and doing some > relocation, > but you'll need to write some tool to do the update work and place > that > tool in your SDK. There's no official tool in Yocto as far as I know. > Not sure if someone else has written such a tool. > > this is also my thought, and I was think to use opkg after sourcing > the sdk script. > But was not working > > source path/to/sdk/environment-setup-aarch64-oe-linux > opkg list > * file_mkdir_hier: Cannot create directory > `//usr/local/oe-sdk-hardcoded-buildpath': Permission denied. > > I am missing something here!! > > Regards, > Salahaldeen > > > Regards, > Qi > > On 10/8/24 16:28, salahaldeen.altous@yahoo.com via > lists.yoctoproject.org wrote: > > Hi All, > > I have the need to update the yocto SDK incrementally without > the need > to rebuild it every time from scratch. > I have the package management ipk enabled in my configuration. > > can I use opkg install after sourcing the SDK script? which > requirement I need to get it running? > updating the rootfs on the target is working fine, but > updating the > SDK is not working > > Regards, > Salahaldeen > [-- Attachment #2: Type: text/html, Size: 3337 bytes --] ^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2024-10-09 7:06 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <xhAk.1728376109213832144.otFZ@lists.yoctoproject.org>
2024-10-08 9:38 ` [yocto] How I can update the Yocto SDK incrementally/partially? Yoann Congal
2024-10-08 9:43 ` Alexander Kanavin
2024-10-08 12:04 ` salahaldeen.altous
2024-10-08 12:13 ` Alexander Kanavin
2024-10-08 11:18 ` salahaldeen.altous
2024-10-08 11:44 ` Alexander Kanavin
2024-10-09 2:49 ` ChenQi
2024-10-09 6:48 ` salahaldeen.altous
2024-10-09 7:06 ` ChenQi
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.