sync with upstream and lookahead

This commit is contained in:
nazunalika 2021-11-30 11:53:24 -07:00
parent 3c4814464d
commit 8f8309a6c3
Signed by: label
GPG Key ID: 6735C0E1BD65D048
3 changed files with 33 additions and 8 deletions

View File

@ -131,6 +131,8 @@ enable upower.service
enable udisks2.service
enable packagekit-offline-update.service
enable PackageKit.service
# https://bugzilla.redhat.com/show_bug.cgi?id=2011240
enable power-profiles-daemon.service
# Initial Setup reconfiguration service
enable initial-setup-reconfiguration.service
@ -197,6 +199,16 @@ enable iscsid.socket
enable iscsiuio.socket
enable iscsi-onboot.service
# Enable preset for low-memory-monitor
# Enable greenboot
# https://bugzilla.redhat.com/show_bug.cgi?id=2005552
enable greenboot-grub2-set-counter.service
enable greenboot-grub2-set-success.service
enable greenboot-healthcheck.service
enable greenboot-rpm-ostree-grub2-check-fallback.service
enable greenboot-status.service
enable greenboot-task-runner.service
enable redboot-auto-reboot.service
enable redboot-task-runner.service
# https://bugzilla.redhat.com/show_bug.cgi?id=2013299
enable low-memory-monitor.service

View File

@ -131,6 +131,8 @@ enable upower.service
enable udisks2.service
enable packagekit-offline-update.service
enable PackageKit.service
# https://bugzilla.redhat.com/show_bug.cgi?id=2011240
enable power-profiles-daemon.service
# Initial Setup reconfiguration service
enable initial-setup-reconfiguration.service
@ -197,6 +199,16 @@ enable iscsid.socket
enable iscsiuio.socket
enable iscsi-onboot.service
# Enable preset for low-memory-monitor
# Enable greenboot
# https://bugzilla.redhat.com/show_bug.cgi?id=2005552
enable greenboot-grub2-set-counter.service
enable greenboot-grub2-set-success.service
enable greenboot-healthcheck.service
enable greenboot-rpm-ostree-grub2-check-fallback.service
enable greenboot-status.service
enable greenboot-task-runner.service
enable redboot-auto-reboot.service
enable redboot-task-runner.service
# https://bugzilla.redhat.com/show_bug.cgi?id=2013299
enable low-memory-monitor.service

View File

@ -250,13 +250,14 @@ install -d -m 0755 %{buildroot}%{_prefix}/lib/sysctl.d/
install -m 0644 %{SOURCE304} %{buildroot}/%{_prefix}/lib/sysctl.d/
# lookahead replacements
# TODO: Is there a cleaner way?
%if 0%{?rllh}
install -m 0644 %{SOURCE400} %{buildroot}/%{_prefix}/lib/systemd/system-preset/
install -m 0644 %{SOURCE401} %{buildroot}/%{_prefix}/lib/systemd/system-preset/
install -m 0644 %{SOURCE402} %{buildroot}/%{_prefix}/lib/systemd/system-preset/
install -m 0644 %{SOURCE403} %{buildroot}/%{_prefix}/lib/systemd/system-preset/
install -m 0644 %{SOURCE403} %{buildroot}/%{_prefix}/lib/systemd/user-preset/
install -m 0644 %{SOURCE404} %{buildroot}/%{_prefix}/lib/sysctl.d/
install -m 0644 %{SOURCE400} %{buildroot}/%{_prefix}/lib/systemd/system-preset/85-display-manager.preset
install -m 0644 %{SOURCE401} %{buildroot}/%{_prefix}/lib/systemd/system-preset/90-default.preset
install -m 0644 %{SOURCE402} %{buildroot}/%{_prefix}/lib/systemd/system-preset/90-default-user.preset
install -m 0644 %{SOURCE403} %{buildroot}/%{_prefix}/lib/systemd/system-preset/99-default-disable.preset
install -m 0644 %{SOURCE403} %{buildroot}/%{_prefix}/lib/systemd/user-preset/99-default-disable.preset
install -m 0644 %{SOURCE404} %{buildroot}/%{_prefix}/lib/sysctl.d/50-redhat.conf
%endif
# systemd section