Skip to content

Topic/rdkemw 16060#74

Open
dnnaveen151027 wants to merge 2 commits intosupport/8.4.4.0from
topic/RDKEMW-16060
Open

Topic/rdkemw 16060#74
dnnaveen151027 wants to merge 2 commits intosupport/8.4.4.0from
topic/RDKEMW-16060

Conversation

@dnnaveen151027
Copy link
Copy Markdown

No description provided.

@dnnaveen151027 dnnaveen151027 requested a review from a team as a code owner March 31, 2026 14:27
Copilot AI review requested due to automatic review settings March 31, 2026 14:27
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

Updates the middleware OPKG feed configuration to point to a different artifact release identifier and repository path, affecting where middleware IPKs are fetched from during builds.

Changes:

  • Updated RELEASE_NUM from a dotted version to a tag-like identifier (RDKEMW-16060).
  • Switched middleware feed base paths from middleware-rel/... to middleware-dbg/... for both standard and OSS middleware feeds.

Reviewed changes

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

File Description
conf/machine/include/middleware.inc Changes the release identifier and redirects the main middleware IPK feed path to middleware-dbg.
conf/machine/include/oss_mw.inc Redirects the OSS middleware IPK feed path to middleware-dbg.

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

PACKAGE_EXTRA_ARCHS:append = " ${MIDDLEWARE_ARCH}"

RELEASE_NUM = "8.4.4.8"
RELEASE_NUM = "RDKEMW-16060"
Copy link

Copilot AI Mar 31, 2026

Choose a reason for hiding this comment

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

RELEASE_NUM is now set to a non-numeric identifier ("RDKEMW-16060"). If this value is intended to be a ticket/build tag rather than a semantic release number, consider renaming the variable (or introducing a separate variable like RELEASE_TAG/MW_BUILD_ID used in the feed path) to avoid confusion and reduce the risk of downstream consumers assuming a dotted version format.

Copilot uses AI. Check for mistakes.
RELEASE_NUM = "RDKEMW-16060"

MW_IPK_PATH ?= "middleware-rel/${RELEASE_NUM}"
MW_IPK_PATH ?= "middleware-dbg/${RELEASE_NUM}"
Copy link

Copilot AI Mar 31, 2026

Choose a reason for hiding this comment

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

Changing MW_IPK_PATH from middleware-rel/... to middleware-dbg/... will redirect all consumers of this include to the debug feed. If debug feeds are only intended for specific builds, consider keeping the default as middleware-rel and selecting middleware-dbg via an overridable knob (e.g., a MW_FEED_CHANNEL variable) or by deriving it from an existing build setting, to avoid accidentally shipping debug packages in release images.

Suggested change
MW_IPK_PATH ?= "middleware-dbg/${RELEASE_NUM}"
MW_FEED_CHANNEL ?= "middleware-rel"
MW_IPK_PATH ?= "${MW_FEED_CHANNEL}/${RELEASE_NUM}"

Copilot uses AI. Check for mistakes.
PACKAGE_EXTRA_ARCHS:append = " ${MW_OSS} "
OPKG_ARCH_PRIORITY:${MW_OSS} = "205"
MW_OSS_IPK_PATH ?= "middleware-rel/${RELEASE_NUM}"
MW_OSS_IPK_PATH ?= "middleware-dbg/${RELEASE_NUM}"
Copy link

Copilot AI Mar 31, 2026

Choose a reason for hiding this comment

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

MW_OSS_IPK_PATH was switched from middleware-rel/... to middleware-dbg/..., which will redirect OSS middleware package feeds to the debug artifact location. If this should be conditional (e.g., only for debug builds), consider making the base path selectable via an overridable variable (shared with middleware.inc) to avoid affecting all builds that enable STACK_LAYER_OSS_SUPPORT.

Suggested change
MW_OSS_IPK_PATH ?= "middleware-dbg/${RELEASE_NUM}"
MW_OSS_IPK_BASE_PATH ?= "middleware-rel"
MW_OSS_IPK_PATH ?= "${MW_OSS_IPK_BASE_PATH}/${RELEASE_NUM}"

Copilot uses AI. Check for mistakes.
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.

2 participants