scripts/install: copy system.d files recursively

This allows installing drop-ins.

Signed-off-by: Matthias Reichl <hias@horus.com>
This commit is contained in:
Matthias Reichl 2019-09-13 23:42:16 +02:00
parent 8d9dd9ec67
commit 938a23b9fc

View File

@ -82,7 +82,7 @@ if [ "${TARGET}" = "target" ] ; then
if [ -d ${PKG_TMP_DIR}/system.d ]; then
mkdir -p ${INSTALL}/usr/lib/systemd/system
cp ${PKG_TMP_DIR}/system.d/*.* ${INSTALL}/usr/lib/systemd/system
cp -Pr ${PKG_TMP_DIR}/system.d/*.* ${INSTALL}/usr/lib/systemd/system
fi
if [ -d ${PKG_TMP_DIR}/udev.d ]; then