From ed4847e430c91858435b3a0c7d7f95b5a955a8d7 Mon Sep 17 00:00:00 2001 From: Matthias Reichl Date: Sat, 23 Nov 2019 12:48:48 +0100 Subject: [PATCH 1/2] script/install: also install hwdb.d files from packages Signed-off-by: Matthias Reichl --- scripts/install | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/install b/scripts/install index ed2256c3dc..d0a22ac58e 100755 --- a/scripts/install +++ b/scripts/install @@ -90,6 +90,11 @@ if [ "${TARGET}" = "target" ] ; then cp ${PKG_TMP_DIR}/udev.d/*.rules ${INSTALL}/usr/lib/udev/rules.d fi + if [ -d ${PKG_TMP_DIR}/hwdb.d ]; then + mkdir -p ${INSTALL}/usr/lib/udev/hwdb.d + cp ${PKG_TMP_DIR}/hwdb.d/*.hwdb ${INSTALL}/usr/lib/udev/hwdb.d + fi + if [ -d ${PKG_TMP_DIR}/sleep.d ]; then mkdir -p ${INSTALL}/usr/lib/systemd/system-sleep cp ${PKG_TMP_DIR}/sleep.d/* ${INSTALL}/usr/lib/systemd/system-sleep From cffbf60a6ae8b7d10c589775688ce98e994137ca Mon Sep 17 00:00:00 2001 From: chewitt Date: Mon, 6 Jan 2020 13:20:04 +0000 Subject: [PATCH 2/2] systemd: add 70-local-keyboard.hwdb to systemd package --- packages/sysutils/systemd/hwdb.d/70-local-keyboard.hwdb | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 packages/sysutils/systemd/hwdb.d/70-local-keyboard.hwdb diff --git a/packages/sysutils/systemd/hwdb.d/70-local-keyboard.hwdb b/packages/sysutils/systemd/hwdb.d/70-local-keyboard.hwdb new file mode 100644 index 0000000000..6b3397d219 --- /dev/null +++ b/packages/sysutils/systemd/hwdb.d/70-local-keyboard.hwdb @@ -0,0 +1,3 @@ +# o2.cz bluetooth remote +evdev:input:b0005v0217p0000e0110* + KEYBOARD_KEY_c0041=enter # OK button