blob: 89f631d303610a91c493131aaf233ae67216035d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
From e60cfacef2ec8734ae15ca69f8ccbc94d5f3ffcc Mon Sep 17 00:00:00 2001
From: Hongxu Jia <hongxu.jia@windriver.com>
Date: Sat, 29 Jun 2019 12:40:30 +0800
Subject: [PATCH] reboot unconditionally
Whatever image install or live install, reboot unconditionally
Upstream-Status: Inappropriate [oe specific]
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
---
pyanaconda/core/configuration/system.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pyanaconda/core/configuration/system.py b/pyanaconda/core/configuration/system.py
index 5d99dc8b5..333e46bf8 100644
--- a/pyanaconda/core/configuration/system.py
+++ b/pyanaconda/core/configuration/system.py
@@ -66,7 +66,7 @@ class SystemSection(Section):
@property
def can_reboot(self):
"""Can we reboot the system?"""
- return self._is_boot_iso or self._is_booted_os
+ return True
@property
def can_start_user_systemd(self):
|