Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

onl: add packagegroups and split out platform libraries into own packages #145

Merged
merged 2 commits into from
Nov 6, 2023

Conversation

KanjiMonster
Copy link
Collaborator

To better compartmentalize the ONL platform support parts, add packagegroups for each supported platform, and split out the platform libraries from the main onl package.

This will allow adding more platforms to build, but not include in the image to make it easier to lay groundwork for adding new platform support in the future.

Copy link
Contributor

@ideaship ideaship left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Modularization is good, but I am a bit concerned about debugging or maintaining the new code in onl.inc and verifying the correctness of the modularization.

recipes-extended/onl/onl.inc Show resolved Hide resolved
recipes-extended/onl/onl.inc Show resolved Hide resolved
Add and use packagegroups to group ONL platform support for each
supported platform, to not let the list of kernel modules grow
endlessly.

This also makes it easier to add or remove platform support in the
future.

Signed-off-by: Jonas Gorski <jonas.gorski@bisdn.de>
Instead of having all all platform libraries included in the main onl
package, move them into their own packages so the onl package only
includes onlpd and its default libraries.

Add the generated platform library packages to the appropriate platform
support packagroups.

This also adds an implicit dependency for the onl package via the
libonlp-* package to the machines, which was missing until now.

Signed-off-by: Jonas Gorski <jonas.gorski@bisdn.de>
@ideaship ideaship merged commit 80ed168 into main Nov 6, 2023
1 check passed
@ideaship ideaship deleted the jogo_onl_split_libs branch November 6, 2023 10:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants