Skip to contentSkip to conversation

#yocto methodology to port from older yocto revisions to current

DISCUSSION Monsees, Steven C (US) 3 participants 3 messages Oct 19, 2020

lore
Share & tools
lore
#0 lore raw

Hello:

I am currently at Yocto release "Rocko 2.4.1" and I am looking into the effort to port to the latest Yocto release...

We have been using this rocko platform revision for the last few years in a project, and now want to move to the latest supported release.

Is there a preferred established methodology/guidelines when porting projects from much older established revisions of Yocto?

Is it considered better to port an established project directly to a new Yocto release, or to slowly migrate the yocto revision to the desired release ?

Thanks,
Steve

#1 lore raw

Hi Steve,

Quoted 9 lines · Steven C (US) via lists.yoctoproject.org

Hello:

I am currently at Yocto release "Rocko 2.4.1" and I am looking into the effort to port to the latest Yocto release...

We have been using this rocko platform revision for the last few years in a project, and now want to move to the latest supported release.

Is there a preferred established methodology/guidelines when porting projects from much older established revisions of Yocto?

You have a few of the changes highlighted in:
https://docs.yoctoproject.org/ref-manual/migration.html

Obviously, you'd need to do all the changes between Rocko and the version you're targetting (highly recommend dunfell (3.1) as it's an LTS).

Quoted 2 lines

Is it considered better to port an established project directly to a new Yocto release, or to slowly migrate the yocto revision to the desired release ?

I've done one upgrade only (krogoth 2.1 to thud 2.6) and it was direct, I'm not sure there's any benefit in doing incremental upgrades?

Good luck :)
Quentin

#2 lore raw

I feel that porting from an older Yocto release to a newer one is not the best approach. The delta can be very large, and it can be very painful and time consuming to handle it all at once. By the time you're done, the newer release may be already EOL or close to it. The right approach, in my opinion, is to track upstream master branches and stay as close to their tips as possible, solving any new issues as they happen in a manageable, predictable manner. Then you simply branch off releases when the corresponding branches are created upstream.

Alex

Quoted 38 lines · Quentin Schulz

Hi Steve,

Quoted 4 lines · Steven C (US) via lists.yoctoproject.org

Hello:

I am currently at Yocto release "Rocko 2.4.1" and I am looking into the

effort to port to the latest Yocto release...

Quoted 2 lines

We have been using this rocko platform revision for the last few years

in a project, and now want to move to the latest supported release.

Quoted 2 lines

Is there a preferred established methodology/guidelines when porting

projects from much older established revisions of Yocto?

Quoted 1 line

You have a few of the changes highlighted in:
https://docs.yoctoproject.org/ref-manual/migration.html

Obviously, you'd need to do all the changes between Rocko and the version you're targetting (highly recommend dunfell (3.1) as it's an LTS).

Quoted 1 line

Is it considered better to port an established project directly to a new

Yocto release, or to slowly migrate the yocto revision to the desired release ?

Quoted 1 line

I've done one upgrade only (krogoth 2.1 to thud 2.6) and it was direct, I'm not sure there's any benefit in doing incremental upgrades?

Good luck :)
Quentin