Skip to content

Conversation

@troglobit
Copy link
Contributor

Description

  • Error message in log from rauc #1080
  • Two new optional arguments to install-bundle RPC
    • verify-certificate — weather to verify bundle certificate at install, default: True
    • verify-compatible — weather to verify if bundle is compatible, default: True
  • Drop redirect of rauc console events (ANSI color coded) in favor of dedicated JSON event log

Checklist

Tick relevant boxes, this PR is-a or has-a:

  • Bugfix
    • Regression tests
    • ChangeLog updates (for next release)
  • Feature
    • YANG model change => revision updated?
    • Regression tests added?
    • ChangeLog updates (for next release)
    • Documentation added?
  • Test changes
    • Checked in changed Readme.adoc (make test-spec)
    • Added new test to group Readme.adoc and yaml file
  • Code style update (formatting, renaming)
  • Refactoring (please detail in commit messages)
  • Build related changes
  • Documentation content changes
    • ChangeLog updated (for major changes)
  • Other (please describe):

Copy link

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 fixes RAUC integration issues by updating the install-bundle RPC to use the newer D-Bus method and adds two new optional arguments for controlling certificate and compatibility verification. It also replaces ANSI color-coded console event logging with a dedicated JSON event log.

  • Replace deprecated rauc_installer_call_install_sync with rauc_installer_call_install_bundle_sync
  • Add optional verify-certificate and verify-compatible parameters to install-bundle RPC
  • Switch from console logging to JSON event logging for better log management

Reviewed Changes

Copilot reviewed 7 out of 8 changed files in this pull request and generated no comments.

Show a summary per file
File Description
src/confd/yang/confd/infix-system-software.yang Add YANG model definitions for new optional parameters
src/confd/src/infix-system-software.c Implement parameter parsing and updated RAUC D-Bus method call
doc/ChangeLog.md Document the fix for issue #1080
board/*/rootfs/etc/rauc/system.conf Add JSON event log configuration across all board types
board/common/rootfs/etc/finit.d/available/rauc.conf Remove console logging redirection

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@troglobit troglobit self-assigned this Sep 27, 2025
@troglobit troglobit enabled auto-merge September 27, 2025 08:43
The rauc event logger is a separate glib logger that by default logs to
the system console, with annoying ANSI escape sequences.  This commit
drops the default stdout/stderr redirect of these log messages and adds
a more exhaustive bundle install and event log, in json format, instead.

For more information about event logging, see the rauc documentation:
https://rauc.readthedocs.io/en/latest/advanced.html

Signed-off-by: Joachim Wiberg <[email protected]>
Signed-off-by: Joachim Wiberg <[email protected]>
Copy link
Contributor

@wkz wkz left a comment

Choose a reason for hiding this comment

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

@troglobit troglobit merged commit d38c3f3 into main Sep 28, 2025
2 checks passed
@troglobit troglobit deleted the rauc-fixes branch September 28, 2025 19:44
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