SHA256
1
0
forked from pool/systemd

Accepting request 180433 from home:rmilasan:branches: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

OBS-URL: https://build.opensuse.org/request/show/180433
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=401
This commit is contained in:
Robert Milasan 2013-06-21 13:20:36 +00:00 committed by Git OBS Bridge
parent e9cf4e1888
commit ed3a81fc51
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
- 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
# PATCH-FIX-OPENSUSE 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
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
%if ! 0%{?bootstrap}
%patch1007 -p1
%patch1008 -p1
%endif
%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

View File

@ -193,6 +193,8 @@ Patch1005: 1005-create-default-links-for-primary-cd_dvd-drive.patch
Patch1006: 1006-udev-always-rename-network.patch
# PATCH-FIX-OPENSUSE 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
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
%if ! 0%{?bootstrap}
%patch1007 -p1
%patch1008 -p1
%endif
%build