script/install: also install hwdb.d files from packages

Signed-off-by: Matthias Reichl <hias@horus.com>
This commit is contained in:
Matthias Reichl 2019-11-23 12:48:48 +01:00 committed by chewitt
parent 8a76bd17e7
commit ed4847e430

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