test: enable systemd-oomd.service
Enable the service to ensure dbus-org.freedesktop.oom1.service exists
and D-Bus activation works.
See #18469
(cherry picked from commit
d338b1713aabcdc2f90d907c72f8fada085bb15e)
Gbp-Pq: Name test-enable-systemd-oomd.service.patch
units: don't install dbus-org.freedesktop.oom1.service alias
The systemd-oomd.service unit contains
[Install]
WantedBy=multi-user.target
Alias=dbus-org.freedesktop.oom1.service
which means the symlink is supposed to be created dynamically when the
service is enabled.
(cherry picked from commit
794aa5f57f616d1fd3d0ad803f5e7594c33391a0)
Gbp-Pq: Name units-don-t-install-dbus-org.freedesktop.oom1.service-ali.patch
test: explicitly configure oomd stuff via dropins
so we don't get overridden by distro-shipped ones.
Fixes: #22030
(cherry picked from commit
fd5e5a87fb2b5de6a25a00acd35dc23775b6b595)
Gbp-Pq: Name test-explicitly-configure-oomd-stuff-via-dropins.patch
oomd: move oomctl to bindir
We don't really need oomctl during early boot, so bindir seems like a
more suitable place for the binary.
(cherry picked from commit
cfd4c84addbaa31ea2a24275f9c56a70e464bac0)
Gbp-Pq: Name oomd-move-oomctl-to-bindir.patch