Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: systemd preset application on cros-keyboard-map #2236

Open
wants to merge 1 commit into
base: frawhide
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 5 additions & 6 deletions anda/system/cros-keyboard-map/cros-keyboard-map.spec
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -61,6 +58,8 @@ chmod +x %buildroot%{_bindir}/um-generate-cros-keymap
%{_bindir}/um-generate-cros-keymap

%changelog
* Sat Oct 12 2024 Owen-sz <[email protected]>
- Fix the systemd preset application
* Sat Aug 24 2024 junefish <[email protected]>
- Split off into seperate git repo.
* Sat May 4 2024 Owen-sz <[email protected]>
Expand Down
Loading