SHA256
1
0
forked from pool/systemd
systemd/80-hotplug-cpu-mem.rules
Franck Bui 9dd5a3a825 Accepting request 581724 from home:fbui:systemd:Factory
- BS forces us to own %{_prefix}/lib/modprobe.d
  This seems wrong but that's how the SUSE BS works.

- Upgrade to v237 (commit 78221ca750a9c266f9f8497dda59d7ee44000a6c)
  Udev rules 60-ssd-scheduler.rules and 80-hotplug-cpu-mem.rules have
  been removed from the git repo and are now maintained at the package
  level. Those rules have been rejected by upstream and are defining
  some defaults which should maintain by the kernel folks.

- Don't call "pam-config --systemd"
  pam_systemd.so has been integrated directly in the PAM stack since
  bsc#812462. So there's no need to call pam-config.

OBS-URL: https://build.opensuse.org/request/show/581724
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1017
2018-03-01 14:26:05 +00:00

13 lines
417 B
Plaintext

# 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", PROGRAM="/usr/bin/systemd-detect-virt", RESULT!="zvm", ATTR{state}=="offline", \
ATTR{state}="online", TAG+="tmpfs"
# See bnc#869603
TAG=="tmpfs", RUN+="/usr/lib/udev/remount-tmpfs"