Merge pull request #4020 from HiassofT/le10-install-hwdb

add hwdb.d installations from packages, make o2.cz BT remote config globally available
This commit is contained in:
Christian Hewitt 2019-12-01 11:49:00 +04:00 committed by GitHub
commit c00c2b5561
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 2 deletions

View File

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

View File

@ -1,2 +0,0 @@
evdev:input:b0005v0217p0000e0110*
KEYBOARD_KEY_c0041=enter

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