aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-installer/anaconda/files/0043-fix-hang-while-installed-system-reboot.patch
blob: 64d2c07bbfd678391f3adb5b43e5fca74880ee06 (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
29
30
31
From fabbb3751d64f56a01fca1981d0c0ff45fbd228c Mon Sep 17 00:00:00 2001
From: Hongxu Jia <hongxu.jia@windriver.com>
Date: Wed, 25 Jul 2018 10:29:23 +0800
Subject: [PATCH 43/65] fix hang while installed system reboot

The lvm2 installed to target system, and it disabled by
default which caused target system reboot hang.

Enable service lvm2-monitor.service could fix the issue.

Upstream-Status: Inappropriate [oe specific]

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
---
 data/interactive-defaults.ks | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/data/interactive-defaults.ks b/data/interactive-defaults.ks
index a2f0555..0deb059 100644
--- a/data/interactive-defaults.ks
+++ b/data/interactive-defaults.ks
@@ -2,3 +2,6 @@
 # This is not loaded if a kickstart file is provided on the command line.
 firstboot --enable
 keyboard --xlayouts='us'
+
+# Fix hang while installed system reboot
+services --enabled lvm2-monitor.service
-- 
2.7.4