Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rauc: improve upgrade output #821

Merged
merged 1 commit into from
Nov 12, 2024

Conversation

rical
Copy link
Contributor

@rical rical commented Nov 12, 2024

Description

Add two patches which improve upgrade output.

0003-src-install-print-bootname-when-checking-slot.patch

Prints the bootname during slot probing. This patch is sent upstream but not reviewed yet.

 40% Updating slots
 40% Checking slot rootfs.1 (secondary)
 46% Checking slot rootfs.1 (secondary) done.
 46% Copying image to rootfs.1

0004-src-main-add-warning-banner-at-start-of-installation.patch

Print a "standard warning banner" at start of install.

rauc install tftp://192.168.122.1/infix-x86_64.pkg
+------------------------------------------------------------------------------+
|                                                                              |
|      [!] Installation might take a while. DO NOT power off the device.       |
|                                                                              |
|                   Please wait while the upgrade completes.                   |
|                                                                              |
+------------------------------------------------------------------------------+
installing
  0% Installing
  0% Determining slot states
 10% Determining slot states done.

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):

The first patch 0003.. is sent upstream but not reviewed yet.

Signed-off-by: Richard Alpe <[email protected]>
@troglobit troglobit linked an issue Nov 12, 2024 that may be closed by this pull request
Copy link
Contributor

@troglobit troglobit left a comment

Choose a reason for hiding this comment

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

Nice work on this! Appreciate the effort to upstream as well 👏

@troglobit troglobit merged commit 032a51b into kernelkit:main Nov 12, 2024
4 checks passed
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.

Improve feedback of CLI upgrade
2 participants