-
Notifications
You must be signed in to change notification settings - Fork 153
recipes-test: Add recipe for diag-router #1273
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
Add new recipe for diag-router to fetch Qualcomm Diagnostics router Userspace Application from QArtifactory. This Application routes diagnostics traffic from all peripherals to different destinations.
|
LGTM |
|
|
||
| S = "${UNPACKDIR}" | ||
|
|
||
| DEPENDS += "glib-2.0 libdiag qrtr" |
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.
DEPENDS are build-time prerequisites, but you are not compiling.
Only installing a prebuilt binary. Using runtime dependencies should be good enough.
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.
Sure let me check this, might be able to cut dependencies.
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.
@sbanerjee-quic it is also to let OE find out library runtime dependencies. I prefer it to listing library packages in RDEPENDS.
| install -d ${D}${bindir} | ||
|
|
||
| # Install binaries | ||
| install -m 0755 ${S}/usr/bin/diag-router ${D}${bindir}/diag-router-qti |
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.
Why are you installing as diag-router-qti?
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.
To not have conflicts with diag_git.bb
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.
Why do we need this package if we have an open-source one? Please work on improving the OSS one
lumag
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.
I'd prefer to see necessary improvements land into the open-source diag router.
|
Why do we need this proprietary version? How would you compare with the version available at https://github.com/linux-msm/diag? |
Add new recipe for diag-router to fetch Qualcomm Diagnostics router Userspace Application from QArtifactory. This Application routes diagnostics traffic from all peripherals to different destinations.