Skip to content

RDKEMW-12539: Fix for Avoid hardcoding of widget names in pre-install manager#115

Open
devasena18 wants to merge 2 commits into
developfrom
topic/RDKEMW-12539
Open

RDKEMW-12539: Fix for Avoid hardcoding of widget names in pre-install manager#115
devasena18 wants to merge 2 commits into
developfrom
topic/RDKEMW-12539

Conversation

@devasena18

Copy link
Copy Markdown

No description provided.

@devasena18
devasena18 requested a review from a team as a code owner February 19, 2026 13:49
Copilot AI review requested due to automatic review settings February 19, 2026 13:49

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 configurable BitBake variable for the preinstall packages directory to avoid embedding the path in consuming components.

Changes:

  • Introduces APP_PREINSTALL_DIRECTORY with a default value in the common RDK-E config include.

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

Comment thread conf/rdke-config.inc
#Removing fstackprotector and fortify source
SECURITY_CFLAGS:remove = " -fstack-protector -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Wno-error=format-security -Wno-error=unused-result"
SECURITY_LDFLAGS:remove = " -fstack-protector"
APP_PREINSTALL_DIRECTORY ?= "/var/sky/packages"

Copilot AI Feb 19, 2026

Copy link

Choose a reason for hiding this comment

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

APP_PREINSTALL_DIRECTORY is set with ?= here, but conf/rdke-rdkm-config.inc also sets the same variable with ?= (line ~53). If both configs are included, the first ?= wins and the RDKM-specific default (/media/apps) would no longer apply. Consider switching this to ??= (weaker default) or updating the RDKM file to use an explicit override (e.g., = or a distro/machine override) so platform-specific defaults still take effect.

Suggested change
APP_PREINSTALL_DIRECTORY ?= "/var/sky/packages"
APP_PREINSTALL_DIRECTORY ??= "/var/sky/packages"

Copilot uses AI. Check for mistakes.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This file for community use. OEM specific changes should in comcast private repos.

@madanagopalt madanagopalt left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Let's use explict assignment instead of ?=

Comment thread conf/rdke-config.inc
#Removing fstackprotector and fortify source
SECURITY_CFLAGS:remove = " -fstack-protector -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Wno-error=format-security -Wno-error=unused-result"
SECURITY_LDFLAGS:remove = " -fstack-protector"
APP_PREINSTALL_DIRECTORY ?= "/var/sky/packages"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This file for community use. OEM specific changes should in comcast private repos.

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.

4 participants