forked from pool/systemd
f026ff3dde
- Add upstream patches 0001-Do-not-unescape-unit-names-in-Install-section.patch 0002-analyze-run-use-bus_open_transport_systemd-instead-o.patch - Add upstream patch 1020-udev-keyboard-also-hook-into-change-events.patch - Add upstream patches to update keyboard data base 0001-keymap-Add-Lenovo-Enhanced-USB-Keyboard.patch 0002-keymap-Asus-EeePC-touchpad-toggle-key.patch - Add upstream patches 0001-nspawn-allow-to-bind-mount-journal-on-top-of-a-non-e.patch 0002-nspawn-restore-journal-directory-is-empty-check.patch 0003-core-never-consider-failure-when-reading-drop-ins-fa.patch 0004-socket-properly-handle-if-our-service-vanished-durin.patch - Add upstream patches 0001-Do-not-unescape-unit-names-in-Install-section.patch 0002-analyze-run-use-bus_open_transport_systemd-instead-o.patch - Add upstream patch 1020-udev-keyboard-also-hook-into-change-events.patch - Add upstream patches to update keyboard data base 0001-keymap-Add-Lenovo-Enhanced-USB-Keyboard.patch 0002-keymap-Asus-EeePC-touchpad-toggle-key.patch - Add upstream patches 0001-nspawn-allow-to-bind-mount-journal-on-top-of-a-non-e.patch 0002-nspawn-restore-journal-directory-is-empty-check.patch 0003-core-never-consider-failure-when-reading-drop-ins-fa.patch OBS-URL: https://build.opensuse.org/request/show/235517 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/systemd?expand=0&rev=189
28 lines
865 B
Diff
28 lines
865 B
Diff
From 49804365ea1242456c9763058a59cf68479e07ea Mon Sep 17 00:00:00 2001
|
|
From: Kay Sievers <kay@vrfy.org>
|
|
Date: Mon, 26 May 2014 09:30:21 +0800
|
|
Subject: [PATCH] udev: keyboard - also hook into "change" events
|
|
|
|
Re-apply the keymaps when "udevadm trigger" is called. Hooking into
|
|
"add" only would just remove all keymap content from the udev database
|
|
instead of applying the new config.
|
|
---
|
|
rules/60-keyboard.rules | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git rules/60-keyboard.rules rules/60-keyboard.rules
|
|
index 4e0f366..22f71e7 100644
|
|
--- rules/60-keyboard.rules
|
|
+++ rules/60-keyboard.rules
|
|
@@ -1,6 +1,6 @@
|
|
# do not edit this file, it will be overwritten on update
|
|
|
|
-ACTION!="add", GOTO="keyboard_end"
|
|
+ACTION=="remove", GOTO="keyboard_end"
|
|
KERNEL!="event*", GOTO="keyboard_end"
|
|
ENV{ID_INPUT_KEY}=="", GOTO="keyboard_end"
|
|
|
|
--
|
|
1.7.9.2
|
|
|