Skip to content

RDKEMW-16179: Dobby patch for removing swap limits#72

Open
goruklu wants to merge 1 commit intosupport/8.4.4.0from
topic/RDKEMW-16179
Open

RDKEMW-16179: Dobby patch for removing swap limits#72
goruklu wants to merge 1 commit intosupport/8.4.4.0from
topic/RDKEMW-16179

Conversation

@goruklu
Copy link
Copy Markdown

@goruklu goruklu commented Mar 27, 2026

No description provided.

Signed-off-by: Gurdal Oruklu <gurdal_oruklu@comcast.com>
Copilot AI review requested due to automatic review settings March 27, 2026 00:40
@goruklu goruklu requested a review from a team as a code owner March 27, 2026 00:40
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

This PR repoints the Yocto middleware OPKG/IPK feed configuration to pull artifacts from a hotfix/debug location, presumably to consume a patched middleware/Dobby build.

Changes:

  • Update RELEASE_NUM to a hotfix identifier (hotfix/RDKEMW-16179).
  • Switch middleware and OSS IPK feed base paths from middleware-rel/... to middleware-dbg/....

Reviewed changes

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

File Description
conf/machine/include/middleware.inc Points the main middleware feed to a hotfix release number and middleware-dbg artifact path.
conf/machine/include/oss_mw.inc Points the OSS middleware feed to the same middleware-dbg artifact path.

💡 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 = "hotfix/RDKEMW-16179"
Copy link

Copilot AI Mar 27, 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 hotfix branch-style value (hotfix/RDKEMW-16179) instead of a release version. Because this include is shared configuration, hardcoding a temporary hotfix identifier here makes the layer non-reproducible for other releases and may break downstream consumers that expect a numeric release (and the embedded / changes the feed URL structure). Consider making this overrideable (e.g., RELEASE_NUM ?= ...) and/or introducing a separate variable for hotfix feeds so production builds can keep using the normal release number by default.

Suggested change
RELEASE_NUM = "hotfix/RDKEMW-16179"
RELEASE_NUM ?= "hotfix/RDKEMW-16179"

Copilot uses AI. Check for mistakes.
RELEASE_NUM = "hotfix/RDKEMW-16179"

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

Copilot AI Mar 27, 2026

Choose a reason for hiding this comment

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

Switching the default feed path from middleware-rel/... to middleware-dbg/... will redirect all middleware package feeds to the debug artifact area. Given this layer is named middleware-release (see conf/layer.conf), this looks like it could unintentionally pull non-release artifacts into normal builds. If this is only needed for the hotfix, consider scoping it (e.g., via a separate hotfix variable or a conditional) so the default remains the release feed.

Suggested change
MW_IPK_PATH ?= "middleware-dbg/${RELEASE_NUM}"
MW_IPK_PATH ?= "middleware-rel/${RELEASE_NUM}"
MW_IPK_DEBUG_PATH ?= "middleware-dbg/${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 27, 2026

Choose a reason for hiding this comment

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

This changes the OSS middleware feed path to middleware-dbg/${RELEASE_NUM}. If middleware-dbg is intended only for debugging/hotfix validation, consider keeping OSS feeds on middleware-rel (or gating this change behind the same condition as the hotfix) to avoid pulling debug artifacts into standard images.

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

Copilot uses AI. Check for mistakes.
Comment on lines +8 to +10
RELEASE_NUM = "hotfix/RDKEMW-16179"

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

Copilot AI Mar 27, 2026

Choose a reason for hiding this comment

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

PR title mentions a "Dobby patch for removing swap limits", but the changes here only repoint middleware/OSS IPK feed URLs to a hotfix/debug location. If the swap-limit removal is expected to happen via the artifacts in that feed, it would help to clarify this in the PR description (or rename the PR) so reviewers can verify the right behavior is being pulled in.

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