Skip to content

Conversation

@lumag
Copy link
Contributor

@lumag lumag commented Dec 10, 2025

Historically we have been using RRECOMMENDS for ${PN}-firmware packagegroup so that selection of the firmware packages can be hand-tuned (which is extremely useful for firmware initramfs images).

For Hexagon DSP packagegroups we don't need such a hand-tuning (if the binaries are being pulled in, the image can handle few extra MB in the rootfs). On the other hand havign RRECOMMENDS here can leave the image without DSP binaries: if there is a version mismatch between linux-firmware and hexagon-dsp-binaries, the binaries will be silently left out of the rootfs.

Change RRECOMMENDS to RDEPENDS in order ot make sure that DSP binaries are always actually pulled into the rootfs if the image requires installation of the ${PN}-hexagon-dsp-binaries.

koenkooi
koenkooi previously approved these changes Dec 10, 2025
Copy link
Contributor

@koenkooi koenkooi left a comment

Choose a reason for hiding this comment

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

Fundamentally, RDEPENDS is a better fit since it won't function without these, as RRECOMMENDS implies that it would work.

vkraleti
vkraleti previously approved these changes Dec 10, 2025
If the user didn't provide dspso.bin for repacking, OE will skip
generating (empty) packages. This limits our ability to always DEPEND on
them. Currently it's not an issue, since packagegroups use RRECOMMENDS
to pull in DSP packages. Generate empty packages in order to be able to
fulfill dependencies when we switch to RDEPEND.

Signed-off-by: Dmitry Baryshkov <[email protected]>
Historically we have been using RRECOMMENDS for ${PN}-firmware
packagegroup so that selection of the firmware packages can be
hand-tuned (which is extremely useful for firmware initramfs images).

For Hexagon DSP packagegroups we don't need such a hand-tuning
(if the binaries are being pulled in, the image can handle few extra MB
in the rootfs). On the other hand havign RRECOMMENDS here can leave the
image without DSP binaries: if there is a version mismatch between
linux-firmware and hexagon-dsp-binaries, the binaries will be silently
left out of the rootfs.

Change RRECOMMENDS to RDEPENDS in order ot make sure that DSP binaries
are always actually pulled into the rootfs if the image requires
installation of the ${PN}-hexagon-dsp-binaries.

Signed-off-by: Dmitry Baryshkov <[email protected]>
@lumag lumag dismissed stale reviews from vkraleti and koenkooi via 9aa0455 December 10, 2025 15:38
@github-actions
Copy link

Test run workflow

Test jobs for commit 9aa0455

@test-reporting-app
Copy link

test-reporting-app bot commented Dec 10, 2025

Test Results

 14 files  + 3   28 suites  +7   37m 34s ⏱️ + 11m 59s
 50 tests + 3   50 ✅ + 7  0 💤 ±0  0 ❌  - 4 
304 runs  +82  304 ✅ +86  0 💤 ±0  0 ❌  - 4 

Results for commit 9aa0455. ± Comparison against base commit 7577fc8.

This pull request removes 2 and adds 5 tests. Note that renamed tests count towards both.
lava ‑ auto-login-action
lava ‑ minimal-boot
0_dragonboard-820c-smoke-test ‑ dmesg
0_dragonboard-820c-smoke-test ‑ ip
0_dragonboard-820c-smoke-test ‑ pwd
0_dragonboard-820c-smoke-test ‑ uname
lava ‑ 0_dragonboard-820c-smoke-test

♻️ This comment has been updated with latest results.

@github-actions
Copy link

Test run workflow

Test jobs for commit 9aa0455

@lumag lumag requested review from koenkooi and vkraleti December 11, 2025 05:19
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