55f6ad2cc1
- Drop 1007-add-msft-compability-rules.patch, breaks boot and links in /dev/disk/by-id, will need proper rework (bnc#826528). - 0160-mount-when-learning-about-the-root-mount-from-mounti.patch Another case where we are trying to umount the root directory at shutdown. - 0185-core-only-attempt-to-connect-to-a-session-bus-if-one.patch only attempt to connect to a session bus if one likely exists - Drop 1007-add-msft-compability-rules.patch, breaks boot and links in /dev/disk/by-id, will need proper rework (bnc#826528). - 0160-mount-when-learning-about-the-root-mount-from-mounti.patch Another case where we are trying to umount the root directory at shutdown. - 0185-core-only-attempt-to-connect-to-a-session-bus-if-one.patch only attempt to connect to a session bus if one likely exists (forwarded request 180965 from rmilasan) OBS-URL: https://build.opensuse.org/request/show/180966 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/systemd?expand=0&rev=148
30 lines
1015 B
Diff
30 lines
1015 B
Diff
Index: systemd-204/rules/80-hotplug-cpu-mem.rules
|
|
===================================================================
|
|
--- /dev/null
|
|
+++ systemd-204/rules/80-hotplug-cpu-mem.rules
|
|
@@ -0,0 +1,9 @@
|
|
+# do not edit this file, it will be overwritten on update
|
|
+
|
|
+# Hotplug physical CPU
|
|
+SUBSYSTEM=="cpu", ACTION=="add", TEST=="online", ATTR{online}=="0", \
|
|
+ ATTR{online}="1"
|
|
+
|
|
+# Hotplug physical memory
|
|
+SUBSYSTEM=="memory", ACTION=="add", TEST=="state", ATTR{state}=="offline", \
|
|
+ ATTR{state}="online"
|
|
Index: systemd-204/Makefile.am
|
|
===================================================================
|
|
--- systemd-204.orig/Makefile.am
|
|
+++ systemd-204/Makefile.am
|
|
@@ -2238,6 +2238,10 @@ dist_udevrules_DATA += \
|
|
rules/73-seat-numlock.rules
|
|
|
|
# ------------------------------------------------------------------------------
|
|
+dist_udevrules_DATA += \
|
|
+ rules/80-hotplug-cpu-mem.rules
|
|
+
|
|
+# ------------------------------------------------------------------------------
|
|
if ENABLE_GUDEV
|
|
if ENABLE_GTK_DOC
|
|
SUBDIRS += \
|