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

Restructure packagegroups #770

Merged
merged 5 commits into from
Feb 24, 2025

Conversation

lumag
Copy link
Collaborator

@lumag lumag commented Feb 21, 2025

It makes sense to define several packagegroups for each of the boards:

  • firmware
  • hexagon-dsp-binaries
  • kernel modules
  • (maybe other)

Restructure current recipes by splitting the DSP binaries to separate packagegroups. It makes it easier to add per-board packagegroups in future.

@lumag
Copy link
Collaborator Author

lumag commented Feb 21, 2025

Ideally this should be merged after #771

Copy link

github-actions bot commented Feb 21, 2025

Test Results

 1 files  ±0   2 suites  ±0   35s ⏱️ ±0s
15 tests ±0  15 ✅ ±0  0 💤 ±0  0 ❌ ±0 
19 runs  ±0  19 ✅ ±0  0 💤 ±0  0 ❌ ±0 

Results for commit 43d876b. ± Comparison against base commit acaa9ec.

♻️ This comment has been updated with latest results.

Copy link

Test jobs for commit e9043c3

@lumag lumag force-pushed the restructure-packagegroups branch from e9043c3 to b31cb09 Compare February 22, 2025 01:45
Copy link

Test jobs for commit b31cb09

@ndechesne
Copy link
Contributor

Looks good to me. However it needs to be rebases to address merge conflicts

It makes sense to define per-machine packagegroups in a central way.
Currently we are defining only the firmware packages (and include
Hexagon DSP libraries in that packagegroup). In preparation to defining
other per-machine packagegroups rename packagegroup recipes and adjust
package names accordingly.

Signed-off-by: Dmitry Baryshkov <[email protected]>
It makes sense to include firmware packages into the initramfs. At the
same time it mostly does't make sense to include DSP libraries into the
initramfs or other similar small images.

Mass-split the single firmware packagegroup into two, -firmware and
-hexagon-dsp-binaries in order to allow for a tighter control of the
installed packages.

Signed-off-by: Dmitry Baryshkov <[email protected]>
Since Hexagon DSP binaries are no longer included into the firmware
packagegroups, they are not being pulled into the initramfs. Drop
BAD_RECOMMENDATIONS from the recipe.

Signed-off-by: Dmitry Baryshkov <[email protected]>
Since Hexagon DSP binaries are no longer included into the firmware
packagegroups, they are not being pulled into the initramfs. Drop
them from the BAD_RECOMMENDATIONS in the recipe.

Signed-off-by: Dmitry Baryshkov <[email protected]>
The initramfs-firmware-mega-image is a special include-all image,
created to catch possible file and/or package conflicts. Pull in Hexagon
DSP binaries into the image too (restoring the status quo before the
packagegroup split).

Signed-off-by: Dmitry Baryshkov <[email protected]>
@lumag lumag force-pushed the restructure-packagegroups branch from b31cb09 to 43d876b Compare February 24, 2025 12:09
@lumag
Copy link
Collaborator Author

lumag commented Feb 24, 2025

Rebased

Copy link

Test jobs for commit 43d876b

@ndechesne ndechesne merged commit f805fdb into qualcomm-linux:master Feb 24, 2025
14 checks passed
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.

3 participants