-
Notifications
You must be signed in to change notification settings - Fork 157
packagegroup-*: make ${PN}-hexagon-dsp-binaries RDEPEND on DSP packages #1302
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
base: master
Are you sure you want to change the base?
Conversation
koenkooi
left a comment
There was a problem hiding this 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.
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]>
8bb4fa5 to
9aa0455
Compare
Test run workflowTest jobs for commit 9aa0455
|
Test Results 14 files + 3 28 suites +7 37m 34s ⏱️ + 11m 59s 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.♻️ This comment has been updated with latest results. |
Test run workflowTest jobs for commit 9aa0455
|
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.