Skip to content

RDKEMW-14533: btMgr Coverity inclusion changes#108

Closed
PreethiLakshmi91 wants to merge 1 commit into
rdkcentral:developfrom
PreethiLakshmi91:RDKEMW-14533_PL2
Closed

RDKEMW-14533: btMgr Coverity inclusion changes#108
PreethiLakshmi91 wants to merge 1 commit into
rdkcentral:developfrom
PreethiLakshmi91:RDKEMW-14533_PL2

Conversation

@PreethiLakshmi91
Copy link
Copy Markdown

Reason for change: Inclusion of coverity for BT
Test Procedure: NA
Risks: Low
Priority: P2

Reason for change: Inclusion of coverity for BT
Test Procedure: NA
Risks: Low
Priority: P2

Signed-off-by: ppalan289 <preethi_palanisamy@comcast.com>
Copilot AI review requested due to automatic review settings June 1, 2026 11:50
@PreethiLakshmi91 PreethiLakshmi91 requested a review from a team as a code owner June 1, 2026 11:50
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds a native build workflow and helper scripts intended to bootstrap dependencies (btcore + BlueZ headers) and perform a full autotools build of bluetooth_mgr in CI, supporting Coverity/native build inclusion.

Changes:

  • Added build_dependencies.sh to install apt dependencies, clone/build/install btcore, and stage BlueZ legacy headers under a local prefix.
  • Added cov_build.sh to bootstrap autotools, configure, build, and install bluetooth_mgr using the local prefix.
  • Added a GitHub Actions workflow to run the above scripts on PRs/pushes to main/develop.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 4 comments.

File Description
cov_build.sh Bootstraps autotools + configures/builds/installs bluetooth_mgr for a native CI build.
build_dependencies.sh Installs system deps, clones/builds btcore, and stages required BlueZ headers into a local prefix.
.github/workflows/native_full_build.yml New CI workflow wiring the dependency setup + native full build together.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread cov_build.sh

export PREFIX_PATH
export CPPFLAGS="-I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I${PREFIX_PATH}/include -I${PREFIX_PATH}/include/cjson -I/usr/include/cjson"
export LDFLAGS="-L${PREFIX_PATH}/lib -lbtrCore"
Comment thread cov_build.sh
Comment on lines +15 to +19
libtoolize --force
aclocal
automake --force-missing --add-missing
autoconf
autoreconf --install -f
Comment thread build_dependencies.sh
Comment on lines +41 to +43
echo "Cloning bluetooth (btcore provider)..."
rm -rf "${WORKSPACE}/src/btrcore"
git clone https://github.com/rdkcentral/bluetooth.git "${WORKSPACE}/src/btrcore"
Comment thread build_dependencies.sh
Comment on lines +65 to +70
libtoolize --force
aclocal
autoheader
automake --force-missing --add-missing
autoconf
autoreconf --install -f
@github-actions github-actions Bot locked and limited conversation to collaborators Jun 2, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants