Skip to content

rebase - #400

Merged
sindhu-krishnan merged 2 commits into
topic/chrony-nw-eventfrom
develop
Aug 14, 2026
Merged

rebase#400
sindhu-krishnan merged 2 commits into
topic/chrony-nw-eventfrom
develop

Conversation

@sindhu-krishnan

Copy link
Copy Markdown
Contributor

No description provided.

NareshM1702 and others added 2 commits August 10, 2026 11:43
Reason for change: Bind dropbear according to DeviceType RFC for prod
images only
Test Procedure: build and test ssh
Risks: Low
Priority: P1
Signed-off by : nareshkumar_m@comcast.com
… commercial (#399)

Reason for change:Default params are missing XB-10 commercial
Test Procedure: verify the logic and functionality
Risks: High
Priority: P1

---------

Co-authored-by: Shirish Shrivastava <163453477+sshriv323@users.noreply.github.com>
Co-authored-by: Amaresh-Kotekal <Amaresh_Kotekal@comcast.com>
Co-authored-by: Santosh Nayak <70348540+snayak002c@users.noreply.github.com>
Copilot AI lite review requested due to automatic review settings August 14, 2026 06:08
@sindhu-krishnan
sindhu-krishnan requested review from a team as code owners August 14, 2026 06:08
@github-actions

Copy link
Copy Markdown

📋 PR Format Reminder

  • Title: rebase — expected TICKET-123 : description
    (Multiple tickets OK: RDKCOM-5492 RDKBDEV-3336 : ... | Include US ticket + subtask for user-stories)
  • Description missing:
    • Reason for change
    • Test Procedure
    • Risks (Low / Medium / High)
    • Priority (P0 / P1 / P2)

Expected:

TICKET-123 : brief description

Reason for change: why
Test Procedure: how to verify
Risks: Low / Medium / High
Priority: P0 / P1 / P2

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

Updates device configuration defaults and adjusts dropbear/sshd startup logic to choose between prod vs dev authorization keys based on build type and an RFC-provided device type.

Changes:

  • Modify service_sshd.sh to select dev/prod authorized_keys based on BUILD_TYPE and RFC DeviceType.
  • Add GatewayManager factory default parameters to system_defaults_bci.

Reviewed changes

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

File Description
source/scripts/init/service.d/service_sshd.sh Changes the logic that determines whether dropbear uses dev vs prod authorized keys.
source/scripts/init/defaults/system_defaults_bci Adds GatewayManager-related factory default values for the BCI profile.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment on lines +152 to +157
# Use prod keys only when both the build and deviceType RFC are prod; dev keys otherwise
USE_DEVKEYS="-f authorized_keys_dev"
DEVICETYPE=$(dmcli eRT getv Device.DeviceInfo.X_RDKCENTRAL-COM_RFC.Identity.DeviceType | grep value | cut -d ":" -f 3 | tr -d ' ' | tr -s ' ' | tr '[:lower:]' '[:upper:]')
if [ "$BUILD_TYPE" = "prod" -a "$DEVICETYPE" = "PROD" ]; then
USE_DEVKEYS=""
fi
@sindhu-krishnan
sindhu-krishnan merged commit a69b4af into topic/chrony-nw-event Aug 14, 2026
13 of 14 checks passed
@github-actions github-actions Bot locked and limited conversation to collaborators Aug 14, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants