Skip to content

RDKEMW-18230: Create vdevice manifest with middleware compontents#28

Open
agampa263 wants to merge 4 commits into
developfrom
topic/RDKEMW-18230
Open

RDKEMW-18230: Create vdevice manifest with middleware compontents#28
agampa263 wants to merge 4 commits into
developfrom
topic/RDKEMW-18230

Conversation

@agampa263
Copy link
Copy Markdown
Contributor

Reason for change: Create vdevice manifest with middleware compontents
Test Procedure: verify the builds are passed without any failures
Risks: Low
version: minor
Priority: P1

Signed-off-by:AkshayKumar_Gampa AkshayKumar_Gampa@comcast.com

Copilot AI review requested due to automatic review settings June 4, 2026 12:57
@agampa263 agampa263 requested a review from a team as a code owner June 4, 2026 12:57
@github-advanced-security
Copy link
Copy Markdown

You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool.

What Enabling Code Scanning Means:

  • The 'Security' tab will display more code scanning analysis results (e.g., for the default branch).
  • Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results.
  • You will be able to see the analysis results for the pull request's branch on this overview once the scans have completed and the checks have passed.

For more information about GitHub Code Scanning, check out the documentation.

Copy link
Copy Markdown

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

This PR updates the Yocto setup-environment bootstrap script to support vdevice builds by optionally using a product-layer-provided local.conf.sample as the initial conf/local.conf.

Changes:

  • Detect vdevice product layers and locate a conf/template/local.conf.sample to use as a custom local.conf template.
  • When generating a new build directory config, copy the vdevice local.conf.sample into conf/local.conf.
  • Ensure the new temporary variable is cleaned up at script end (but currently misses cleanup on the early-return path).

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

Comment thread setup-environment Outdated
Comment on lines +129 to +133
#add this change to build vdevice and changes will apply only for vdevice
_CUSTOM_LOCALCONF=
if [[ "${MANIFEST_PATH_PRODUCT_LAYER}" == *"vdevice"* ]] && [ -f "${MANIFEST_PATH_PRODUCT_LAYER}/conf/template/local.conf.sample" ]; then
_CUSTOM_LOCALCONF="${MANIFEST_PATH_PRODUCT_LAYER}/conf/template/local.conf.sample"
fi
Comment thread setup-environment Outdated
mv ${_PWD_PREV}/../manifest_vars.conf ${_BUILDDIR}/conf/manifest_vars.conf
fi

#add this change to build vdevice and changes will apply only for vdevice
Comment thread setup-environment Outdated
return 0
fi

#add this change to build vdevice and changes will apply only for vdevice
Copilot AI review requested due to automatic review settings June 4, 2026 13:49
Copy link
Copy Markdown

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

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

Comment thread setup-environment Outdated
Comment on lines +129 to +133
#add this change to build vdevice and changes will apply only for vdevice
_CUSTOM_LOCALCONF=
if [[ "${MANIFEST_PATH_PRODUCT_LAYER}" == *"vdevice"* ]] && [ -f "${MANIFEST_PATH_PRODUCT_LAYER}/conf/template/local.conf.sample" ]; then
_CUSTOM_LOCALCONF="${MANIFEST_PATH_PRODUCT_LAYER}/conf/template/local.conf.sample"
fi
Comment thread setup-environment Outdated
mv ${_PWD_PREV}/../manifest_vars.conf ${_BUILDDIR}/conf/manifest_vars.conf
fi

#add this change to build vdevice and changes will apply only for vdevice
Comment thread setup-environment Outdated
return 0
fi

#add this change to build vdevice and changes will apply only for vdevice
Copilot AI review requested due to automatic review settings June 4, 2026 14:40
Copy link
Copy Markdown

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

Copilot reviewed 1 out of 1 changed files in this pull request and generated 1 comment.

Comment thread setup-environment
# instead of the default TEMPLATECONF template. Other product layers continue to use default behavior.
# This allows vdevice-specific configurations to be maintained in the product layer itself.

if [[ "${MANIFEST_PATH_PRODUCT_LAYER}" == *"vdevice"* ]] && [ -f "${MANIFEST_PATH_PRODUCT_LAYER}/conf/template/local.conf.sample" ]; then
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