Skip to content

RDKOSS-1091: Changes to support Hash Equivalence - #193

Merged
vbabypublic merged 2 commits into
support/1.9.0from
feature/RDKOSS-1091-Hasheq
Aug 7, 2026
Merged

RDKOSS-1091: Changes to support Hash Equivalence #193
vbabypublic merged 2 commits into
support/1.9.0from
feature/RDKOSS-1091-Hasheq

Conversation

@h1712

@h1712 h1712 commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

Reason for change : To avoid file permission change thus avoiding sstate sig validation error
Test procuedure : Build and verify with Hash equivalence enabled
Risk: Low

@h1712
h1712 requested a review from a team as a code owner August 7, 2026 13:38
Copilot AI review requested due to automatic review settings August 7, 2026 13:38
@h1712
h1712 requested a review from a team as a code owner August 7, 2026 13:38

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 updates two BitBake helper classes to make syslog-ng and logrotate metadata generation more deterministic when Hash Equivalence is enabled, aiming to prevent sstate signature validation errors caused by filesystem metadata differences.

Changes:

  • Run the metadata-generation tasks under fakeroot to stabilize ownership/permission metadata in ${D}.
  • Replace os.makedirs() with bb.utils.mkdirhier() and explicitly chown created directories to root.

Reviewed changes

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

File Description
classes/syslog-ng-config-gen.bbclass Adjusts syslog-ng metadata task to create directories via BitBake utilities and set deterministic ownership under fakeroot.
classes/logrotate_config.bbclass Adjusts logrotate metadata task similarly to avoid ownership/permission drift impacting hash equivalence.

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

Comment thread classes/syslog-ng-config-gen.bbclass
Comment thread classes/logrotate_config.bbclass
@h1712
h1712 changed the base branch from develop to support/1.9.0 August 7, 2026 16:28
@vbabypublic
vbabypublic merged commit 5e7dc4f into support/1.9.0 Aug 7, 2026
5 checks passed
@github-actions github-actions Bot locked and limited conversation to collaborators Aug 7, 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.

3 participants