SHA256
1
0
forked from pool/systemd

Accepting request 180434 from Base:System

- Automatically online CPUs/Memory on CPU/Memory hotplug add events
  (bnc#703100, fate#311831).
  add: 1008-physical-hotplug-cpu-and-memory.patch 

  0002-journal-remember-last-direction-of-search-and-keep-o.patch
  fix possible infinite loops in the journal code, related to
  bnc #817778
- Automatically online CPUs/Memory on CPU/Memory hotplug add events
  (bnc#703100, fate#311831).
  add: 1008-physical-hotplug-cpu-and-memory.patch 

  0002-journal-remember-last-direction-of-search-and-keep-o.patch
  fix possible infinite loops in the journal code, related to
  bnc #817778 (forwarded request 180433 from rmilasan)

OBS-URL: https://build.opensuse.org/request/show/180434
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/systemd?expand=0&rev=146
This commit is contained in:
Stephan Kulow 2013-06-24 07:46:00 +00:00 committed by Git OBS Bridge
parent 2d6394d7ee
commit fb13db080f
5 changed files with 56 additions and 7 deletions

View File

@ -0,0 +1,29 @@
Index: systemd-204/Makefile.am
===================================================================
--- systemd-204.orig/Makefile.am
+++ systemd-204/Makefile.am
@@ -2242,6 +2242,10 @@ dist_udevrules_DATA += \
rules/61-msft.rules
# ------------------------------------------------------------------------------
+dist_udevrules_DATA += \
+ rules/80-hotplug-cpu-mem.rules
+
+# ------------------------------------------------------------------------------
if ENABLE_GUDEV
if ENABLE_GTK_DOC
SUBDIRS += \
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"

View File

@ -1,5 +1,12 @@
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Jun 19 08:44:52 UTC 2013 - mhrusecky@suse.com Fri Jun 21 12:40:27 UTC 2013 - rmilasan@suse.com
- Automatically online CPUs/Memory on CPU/Memory hotplug add events
(bnc#703100, fate#311831).
add: 1008-physical-hotplug-cpu-and-memory.patch
-------------------------------------------------------------------
Wed Jun 19 08:44:06 UTC 2013 - mhrusecky@suse.com
- Dropped backward compatibility - Dropped backward compatibility
- Added check for upstream rpm macros changes - Added check for upstream rpm macros changes

View File

@ -198,6 +198,8 @@ Patch1005: 1005-create-default-links-for-primary-cd_dvd-drive.patch
Patch1006: 1006-udev-always-rename-network.patch Patch1006: 1006-udev-always-rename-network.patch
# PATCH-FIX-OPENSUSE 1007-add-msft-compability-rules.patch # PATCH-FIX-OPENSUSE 1007-add-msft-compability-rules.patch
Patch1007: 1007-add-msft-compability-rules.patch Patch1007: 1007-add-msft-compability-rules.patch
# PATCH-FIX-OPENSUSE 1008-physical-hotplug-cpu-and-memory.patch
Patch1008: 1008-physical-hotplug-cpu-and-memory.patch
%description %description
Systemd is a system and service manager, compatible with SysV and LSB Systemd is a system and service manager, compatible with SysV and LSB
@ -431,6 +433,7 @@ cp %{SOURCE7} m4/
# don't apply when bootstrapping to not modify Makefile.am # don't apply when bootstrapping to not modify Makefile.am
%if ! 0%{?bootstrap} %if ! 0%{?bootstrap}
%patch1007 -p1 %patch1007 -p1
%patch1008 -p1
%endif %endif
%build %build

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Fri Jun 21 12:40:27 UTC 2013 - rmilasan@suse.com
- Automatically online CPUs/Memory on CPU/Memory hotplug add events
(bnc#703100, fate#311831).
add: 1008-physical-hotplug-cpu-and-memory.patch
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Jun 19 08:44:06 UTC 2013 - mhrusecky@suse.com Wed Jun 19 08:44:06 UTC 2013 - mhrusecky@suse.com

View File

@ -193,6 +193,8 @@ Patch1005: 1005-create-default-links-for-primary-cd_dvd-drive.patch
Patch1006: 1006-udev-always-rename-network.patch Patch1006: 1006-udev-always-rename-network.patch
# PATCH-FIX-OPENSUSE 1007-add-msft-compability-rules.patch # PATCH-FIX-OPENSUSE 1007-add-msft-compability-rules.patch
Patch1007: 1007-add-msft-compability-rules.patch Patch1007: 1007-add-msft-compability-rules.patch
# PATCH-FIX-OPENSUSE 1008-physical-hotplug-cpu-and-memory.patch
Patch1008: 1008-physical-hotplug-cpu-and-memory.patch
%description %description
Systemd is a system and service manager, compatible with SysV and LSB Systemd is a system and service manager, compatible with SysV and LSB
@ -426,6 +428,7 @@ cp %{SOURCE7} m4/
# don't apply when bootstrapping to not modify Makefile.am # don't apply when bootstrapping to not modify Makefile.am
%if ! 0%{?bootstrap} %if ! 0%{?bootstrap}
%patch1007 -p1 %patch1007 -p1
%patch1008 -p1
%endif %endif
%build %build