Merge pull request #4137 from chewitt/hwdb_o2

add hwdb.d installations from packages, make o2.cz BT remote config globally available
This commit is contained in:
Matthias Reichl 2020-01-23 13:16:50 +01:00 committed by GitHub
commit 175b7ed46e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 0 deletions

View File

@ -0,0 +1,3 @@
# o2.cz bluetooth remote
evdev:input:b0005v0217p0000e0110*
KEYBOARD_KEY_c0041=enter # OK button

View File

@ -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