Skip to content

Conversation

@Jairaj-quic
Copy link
Contributor

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.

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.
@quic-bmanoj
Copy link

LGTM


S = "${UNPACKDIR}"

DEPENDS += "glib-2.0 libdiag qrtr"
Copy link
Member

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.

Copy link
Contributor Author

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.

Copy link
Contributor

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
Copy link
Member

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?

Copy link
Contributor Author

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

Copy link
Contributor

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

Copy link
Contributor

@lumag lumag left a 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.

@ricardosalveti
Copy link
Contributor

Why do we need this proprietary version? How would you compare with the version available at https://github.com/linux-msm/diag?

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.

5 participants