Skip to content

RDKEMW-18919 : Remove product specific systimemgr config - #125

Open
sindhu-krishnan wants to merge 6 commits into
developfrom
RDKEMW-18919
Open

RDKEMW-18919 : Remove product specific systimemgr config#125
sindhu-krishnan wants to merge 6 commits into
developfrom
RDKEMW-18919

Conversation

@sindhu-krishnan

Copy link
Copy Markdown
Contributor

Product specific systimemgr config should be removed from MW
This bbclass installs the config based on the product override for assembler builds.

@sindhu-krishnan
sindhu-krishnan requested a review from a team as a code owner June 10, 2026 08:46
Copilot AI review requested due to automatic review settings June 10, 2026 08:46

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

This PR introduces an image assembly-time mechanism in the middleware layer to generate /etc/systimemgr.conf based on active BitBake overrides, replacing/removing product-specific systimemgr configuration from MW for assembler builds.

Changes:

  • Add a new systimemgrconfig image class to the common IMAGE_CLASSES list.
  • Introduce classes/systimemgrconfig.bbclass to generate /etc/systimemgr.conf based on OVERRIDES, and (for one override) remove a systemd drop-in secure.conf.

Reviewed changes

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

File Description
conf/include/image-classes.inc Registers the new systimemgrconfig class for images.
classes/systimemgrconfig.bbclass Implements rootfs postprocessing to generate /etc/systimemgr.conf and adjust systimemgr systemd drop-ins depending on overrides.

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

Comment on lines +43 to +50
secure_conf = os.path.join(
rootfs_dir,
"lib",
"systemd",
"system",
"systimemgr.service.d",
"secure.conf"
)
# /etc/rfcdefaults/socprovisioning.ini
IMAGE_CLASSES += "socprovisioning-config"

#/etc/systimemgr.conf
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