dentproject / dentOS

dentOS SwitchDev based NOS
Other
200 stars 58 forks source link

Migrate to Yocto based build system #244

Open taraschornyiplv opened 11 months ago

KanjiMonster commented 9 months ago

I gave this thing a bit of thought, and the big steps I see are:

Some questions to answer would be:

Some complications:

Going away from infra is probably unavoidable, but still a lot of work.

I would try to avoid putting the ONL and platform code directly into the Yocto layer. Having separate subprojects for these would make is easier to re-use it in other projects or istributions, do CI testing etc. And you would need to wrap the code in an appropriate build system anyways (make, meson, ninja, etc).

aravind1379 commented 7 months ago

Hi, I heard there is a meeting where the yocto plan will be presented on Dec 11th. We at Amazon are working on Yocto solution for Dent, and I just want to make sure we are duplicating efforts. How can we participate in this review ? Thanks in advance.

taskin0003 commented 7 months ago

Jan, Jonas, Taras,

Could you please include Aravind in your Yocto planning discussions?

Thanks,

Taskin


From: aravind1379 @.> Sent: Wednesday, November 22, 2023 12:25:20 PM To: dentproject/dentOS @.> Cc: taskin0003 @.>; Assign @.> Subject: Re: [dentproject/dentOS] Migrate to Yocto based build system (Issue #244)

Hi, I heard there is a meeting where the yocto plan will be presented on Dec 11th. We at Amazon are working on Yocto solution for Dent, and I just want to make sure we are duplicating efforts. How can we participate in this review ? Thanks in advance.

— Reply to this email directly, view it on GitHubhttps://github.com/dentproject/dentOS/issues/244#issuecomment-1823461602, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AOITEXB7U7E5EMT4JOK2LSDYFZNSZAVCNFSM6AAAAAA23Q6O5KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMRTGQ3DCNRQGI. You are receiving this because you were assigned.Message ID: @.***>

KanjiMonster commented 7 months ago

@aravind1379 reminder to drop me an email

aravind1379 commented 7 months ago

Me, Jordan, and Taskin will join the feature and roadmap meeting on Dec 7, 2023 09:00 AM Mountain Time (US and Canada)

aravind1379 commented 7 months ago

And Jordan will be ready to present a plan for yocto on Dent.

KanjiMonster commented 7 months ago

Great to hear. Unfortunately I will only be able to attend for about 30 minutes, so if we could squeeze that in first I would be very grateful.

jklare commented 7 months ago

Hi,

since it will also be hard for me to attend this session and I would also be very interested, would it be possible to move this to next week?

Cheers, Jan

On 6. Dec 2023, at 10:47, Jonas Gorski @.***> wrote:

Great to hear. Unfortunately I will only be able to attend for about 30 minutes, so if we could squeeze that in first I would be very grateful.

— Reply to this email directly, view it on GitHub https://github.com/dentproject/dentOS/issues/244#issuecomment-1842534322, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA4AT3YWKEDBYGA75Y4YP5TYIA5JXAVCNFSM6AAAAAA23Q6O5KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNBSGUZTIMZSGI. You are receiving this because you are subscribed to this thread.

-- BISDN GmbH Körnerstraße 7-10 10785 Berlin Germany

Phone: +49-30-6108-1-6100

Managing Directors:  Dr.-Ing. Hagen Woesner, Andreas Köpsel

Commercial register:  Amtsgericht Berlin-Charlottenburg HRB 141569 B VAT ID No: DE283257294

KanjiMonster commented 7 months ago

Next week is testing, so the next features meeting would be in two weeks, and I assume many will be on vacation by then (at least I will be). Maybe we could record the presentation and discussion? Then we could at least see what you guys did and plan to do.

paulmenzel commented 7 months ago

Has this been further discussed in the background? Have @KanjiMonster’s questions been answered?

The biggest thing is, if “onlpdump interface” is going to be supported, or everything is put in the Linux kernel.

Another question is, if all kinds of “security” and “reliability” features should be thought of. A/B partitions, updates, verification, …. Like what Chromium OS/ChromeOS and Android are doing.

sonoble commented 7 months ago

Hi, I attended the features and roadmap meeting this morning but there were only three of us. I was hoping to get a better idea of the history/focus of the Yocto work as I was driving the initial work on the onlbuilder to Yocto conversion when I was at Amazon. Are you still based off of my initial work or have you completely restarted everything from scratch?

aravind1379 commented 7 months ago

Jan and Jonas, Let us know when we can review your document on the roadmap to provide our input. Thank you,

KanjiMonster commented 7 months ago

I pushed our first draft as a PR at https://github.com/dentproject/hldd/pull/1 (<- edited by Jan Klare to keep all links consistent) for now, since we weren't quite sure where to put it. PR so it can easily commented on.

jklare commented 7 months ago

I moved the hldd project to the DENT github namespace now and also updated the link of the PR Jonas send before. Let's continue editing here: https://github.com/dentproject/hldd/pull/1.