summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Whitaker <mageia@martin-whitaker.me.uk>2019-06-14 21:40:35 +0100
committerThomas Backlund <tmb@mageia.org>2019-06-18 23:30:11 +0300
commit90f53b9f02c707186abf7227c621f0389decb7c9 (patch)
tree3c8bd2b3e7fe682a7e2dfa2b399741539ac30b7b
parent0ccda1f13ec87d514fa591f2fa12009646aa04b1 (diff)
downloaddrakx-90f53b9f02c707186abf7227c621f0389decb7c9.tar
drakx-90f53b9f02c707186abf7227c621f0389decb7c9.tar.gz
drakx-90f53b9f02c707186abf7227c621f0389decb7c9.tar.bz2
drakx-90f53b9f02c707186abf7227c621f0389decb7c9.tar.xz
drakx-90f53b9f02c707186abf7227c621f0389decb7c9.zip
Enable udevd in rescue system to support lvm2 (mga#24878).
-rw-r--r--rescue/NEWS2
-rw-r--r--rescue/list.xml7
-rwxr-xr-xrescue/tree/usr/bin/mageia-rescue4
3 files changed, 13 insertions, 0 deletions
diff --git a/rescue/NEWS b/rescue/NEWS
index f5bf6b98a..832ebe18b 100644
--- a/rescue/NEWS
+++ b/rescue/NEWS
@@ -1,3 +1,5 @@
+- start udevd to support lvm2 (mga#24878)
+
Version 1.61 - 11 May 2019 by Thomas Backlund
- update filelist for new systemd
diff --git a/rescue/list.xml b/rescue/list.xml
index 0177a0b6e..d1d7cfb79 100644
--- a/rescue/list.xml
+++ b/rescue/list.xml
@@ -348,6 +348,13 @@
scsi_id
</from>
+<from dir="/usr/lib/udev/hwdb.d">
+ 20-pci-classes.hwdb
+ 20-pci-vendor-model.hwdb
+ 20-usb-classes.hwdb
+ 20-usb-vendor-model.hwdb
+</from>
+
<from dir="/usr/lib/udev/rules.d">
10-dm.rules
11-dm-lvm.rules
diff --git a/rescue/tree/usr/bin/mageia-rescue b/rescue/tree/usr/bin/mageia-rescue
index c9dd35661..5d21bc355 100755
--- a/rescue/tree/usr/bin/mageia-rescue
+++ b/rescue/tree/usr/bin/mageia-rescue
@@ -1,5 +1,9 @@
#!/bin/sh
+systemctl start systemd-udevd
+udevadm trigger --type=subsystems --action=add
+udevadm trigger --type=devices --action=add
+
# disable the weird echoprt in cooked mode for user interaction:
stty sane