SHA256
1
0
forked from pool/systemd
Dr. Werner Fink 2014-05-26 16:34:59 +00:00 committed by Git OBS Bridge
parent 144d4043c2
commit 3928f4018f
5 changed files with 45 additions and 0 deletions

View File

@ -0,0 +1,27 @@
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

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon May 26 16:34:10 UTC 2014 - werner@suse.de
- Add upstream patch
1020-udev-keyboard-also-hook-into-change-events.patch
------------------------------------------------------------------- -------------------------------------------------------------------
Mon May 26 15:25:28 UTC 2014 - werner@suse.de Mon May 26 15:25:28 UTC 2014 - werner@suse.de

View File

@ -552,6 +552,8 @@ Patch1017: 1017-udev-serialize-synchronize-block-device-event-handli.patch
Patch1018: 1018-udev-do-not-skip-the-execution-of-RUN-when-renaming-.patch Patch1018: 1018-udev-do-not-skip-the-execution-of-RUN-when-renaming-.patch
# PATCH-FIX-UPSTREAM added at 2014/05/20 # PATCH-FIX-UPSTREAM added at 2014/05/20
Patch1019: 1019-udev-avoid-use-of-uninitialized-err.patch Patch1019: 1019-udev-avoid-use-of-uninitialized-err.patch
# PATCHFIX-UPSTREAM added at 2014/05/26
Patch1020: 1020-udev-keyboard-also-hook-into-change-events.patch
%description %description
Systemd is a system and service manager, compatible with SysV and LSB Systemd is a system and service manager, compatible with SysV and LSB
@ -980,6 +982,7 @@ cp %{SOURCE7} m4/
%patch1017 -p0 %patch1017 -p0
%patch1018 -p0 %patch1018 -p0
%patch1019 -p0 %patch1019 -p0
%patch1020 -p0
# ensure generate files are removed # ensure generate files are removed
rm -f units/emergency.service rm -f units/emergency.service

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon May 26 16:34:10 UTC 2014 - werner@suse.de
- Add upstream patch
1020-udev-keyboard-also-hook-into-change-events.patch
------------------------------------------------------------------- -------------------------------------------------------------------
Mon May 26 15:25:28 UTC 2014 - werner@suse.de Mon May 26 15:25:28 UTC 2014 - werner@suse.de

View File

@ -547,6 +547,8 @@ Patch1017: 1017-udev-serialize-synchronize-block-device-event-handli.patch
Patch1018: 1018-udev-do-not-skip-the-execution-of-RUN-when-renaming-.patch Patch1018: 1018-udev-do-not-skip-the-execution-of-RUN-when-renaming-.patch
# PATCH-FIX-UPSTREAM added at 2014/05/20 # PATCH-FIX-UPSTREAM added at 2014/05/20
Patch1019: 1019-udev-avoid-use-of-uninitialized-err.patch Patch1019: 1019-udev-avoid-use-of-uninitialized-err.patch
# PATCHFIX-UPSTREAM added at 2014/05/26
Patch1020: 1020-udev-keyboard-also-hook-into-change-events.patch
%description %description
Systemd is a system and service manager, compatible with SysV and LSB Systemd is a system and service manager, compatible with SysV and LSB
@ -975,6 +977,7 @@ cp %{SOURCE7} m4/
%patch1017 -p0 %patch1017 -p0
%patch1018 -p0 %patch1018 -p0
%patch1019 -p0 %patch1019 -p0
%patch1020 -p0
# ensure generate files are removed # ensure generate files are removed
rm -f units/emergency.service rm -f units/emergency.service