From 635f750dfb39bf6690ca3773cdf8efc03d1d976a 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 1425c344ca29fdd1f5dcfe8dacbdfea756e340ca Mon Sep 17 00:00:00 2001 From: Matthias Reichl Date: Sat, 23 Nov 2019 13:03:53 +0100 Subject: [PATCH 2/2] move 70-local-keyboard.hwdb from Amlogic project to systemd package The bluetooth remote configuration (missing OK button on o2.cz remote) can be useful for all LE installations so make it globally available. Signed-off-by: Matthias Reichl --- packages/sysutils/systemd/hwdb.d/70-local-keyboard.hwdb | 3 +++ .../filesystem/usr/lib/udev/hwdb.d/70-local-keyboard.hwdb | 2 -- 2 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 packages/sysutils/systemd/hwdb.d/70-local-keyboard.hwdb delete mode 100644 projects/Amlogic/filesystem/usr/lib/udev/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 diff --git a/projects/Amlogic/filesystem/usr/lib/udev/hwdb.d/70-local-keyboard.hwdb b/projects/Amlogic/filesystem/usr/lib/udev/hwdb.d/70-local-keyboard.hwdb deleted file mode 100644 index d549c3c0d9..0000000000 --- a/projects/Amlogic/filesystem/usr/lib/udev/hwdb.d/70-local-keyboard.hwdb +++ /dev/null @@ -1,2 +0,0 @@ -evdev:input:b0005v0217p0000e0110* - KEYBOARD_KEY_c0041=enter