forked from rpms/leapp-repository
79ca77ccf4
- Do not terminate the upgrade dracut module execution if /sysroot/root/tmp_leapp_py3/.leapp_upgrade_failed exists - Several minor improvements in messages printed in console output - Several minor improvements in report and error messages - Fix the parsing of the lscpu output - Fix evaluation of PES data - Target by default always "GA" channel repositories unless a different channel is specified for the leapp execution - Fix creation of the post upgrade report about changes in states of systemd services - Update the device driver deprecation data, fixing invalid fields for some AMD CPUs - Update the default kernel cmdline - Wait for the storage initialization when /usr is on separate file system - covering SAN - Resolves: RHEL-27847, RHEL-35240
38 lines
1.1 KiB
Diff
38 lines
1.1 KiB
Diff
From 1fb7e78bfa86163c27c309d6244298d4b3075762 Mon Sep 17 00:00:00 2001
|
|
From: Matej Matuska <mmatuska@redhat.com>
|
|
Date: Fri, 2 Feb 2024 12:32:15 +0100
|
|
Subject: [PATCH 10/34] Make the reboot required text more visible in the
|
|
console output
|
|
|
|
The "A reboot is required to continue. Please reboot your system."
|
|
message is printed before the reports summary and thus is easily
|
|
overlooked by users.
|
|
|
|
This patch adds a second such message after the report summary to
|
|
improve this.
|
|
|
|
Jira: RHEL-22736
|
|
---
|
|
commands/upgrade/__init__.py | 5 +++++
|
|
1 file changed, 5 insertions(+)
|
|
|
|
diff --git a/commands/upgrade/__init__.py b/commands/upgrade/__init__.py
|
|
index c42b7cba..cc5fe647 100644
|
|
--- a/commands/upgrade/__init__.py
|
|
+++ b/commands/upgrade/__init__.py
|
|
@@ -113,6 +113,11 @@ def upgrade(args, breadcrumbs):
|
|
|
|
if workflow.failure:
|
|
sys.exit(1)
|
|
+ elif not args.resume:
|
|
+ sys.stdout.write(
|
|
+ 'Reboot the system to continue with the upgrade.'
|
|
+ ' This might take a while depending on the system configuration.\n'
|
|
+ )
|
|
|
|
|
|
def register(base_command):
|
|
--
|
|
2.42.0
|
|
|