From 287735062b2ee46f2968727be54b28b60f3d0ec0 Mon Sep 17 00:00:00 2001 From: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com> Date: Sat, 12 Oct 2024 17:46:16 -0500 Subject: [PATCH] Fix systemd preset application Signed-off-by: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com> --- anda/system/cros-keyboard-map/cros-keyboard-map.spec | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/anda/system/cros-keyboard-map/cros-keyboard-map.spec b/anda/system/cros-keyboard-map/cros-keyboard-map.spec index 300f6139e6..f2330f83b2 100644 --- a/anda/system/cros-keyboard-map/cros-keyboard-map.spec +++ b/anda/system/cros-keyboard-map/cros-keyboard-map.spec @@ -42,16 +42,13 @@ install -Dm644 cros-keyboard-map.service %{buildroot}%{_unitdir}/cros-keyboard-m chmod +x %buildroot%{_bindir}/um-generate-cros-keymap %post -%systemd_post cros-keyboard-map.service -%systemd_post keyd.service +%systemd_post 88-ultramarine-chromebook-default.preset %preun -%systemd_preun cros-keyboard-map.service -%systemd_preun keyd.service +%systemd_preun 88-ultramarine-chromebook-default.preset %postun -%systemd_postun_with_restart cros-keyboard-map.service -%systemd_postun_with_restart keyd.service +%systemd_postun_with_restart 88-ultramarine-chromebook-default.preset %files %doc README.md @@ -61,6 +58,8 @@ chmod +x %buildroot%{_bindir}/um-generate-cros-keymap %{_bindir}/um-generate-cros-keymap %changelog +* Sat Oct 12 2024 Owen-sz +- Fix the systemd preset application * Sat Aug 24 2024 junefish - Split off into seperate git repo. * Sat May 4 2024 Owen-sz