diff --git a/systemd.spec b/systemd.spec index ccbbca7445ad3b72cadcf7e9de4c1513f3bbe099..92ed0c2ace077e474032a26106d9a92866c6f9ce 100644 --- a/systemd.spec +++ b/systemd.spec @@ -20,7 +20,7 @@ Name: systemd Url: https://www.freedesktop.org/wiki/Software/systemd Version: 246 -Release: 12 +Release: 13 License: MIT and LGPLv2+ and GPLv2+ Summary: System and Service Manager @@ -1487,6 +1487,12 @@ fi %exclude /usr/share/man/man3/* %changelog +* Fri Dec 18 2020 overweight - 246-13 +- Type:bugfix +- ID:NA +- SUG:NA +- DESC: fix 40-openEuler.rules for memory offline + * Wed Dec 16 2020 shenyangyang - 246-12 - Type:enhancement - ID:NA diff --git a/udev-40-openEuler.rules b/udev-40-openEuler.rules index ed85acbb7d70abfdcc829aeee52da3e342258ae8..dcf0ef0e390fdda40681a9a2c96063929583c77a 100644 --- a/udev-40-openEuler.rules +++ b/udev-40-openEuler.rules @@ -4,7 +4,8 @@ SUBSYSTEM=="cpu", ACTION=="add", TEST=="online", ATTR{online}=="0", ATTR{online}="1" # Memory hotadd request -SUBSYSTEM!="memory", ACTION!="add", GOTO="memory_hotplug_end" +SUBSYSTEM!="memory", GOTO="memory_hotplug_end" +ACTION!="add", GOTO="memory_hotplug_end" PROGRAM="/bin/uname -p", RESULT=="s390*", GOTO="memory_hotplug_end" ENV{.state}="online"