From 938a23b9fccde3acf16cbdccbdb4e167f92c80bc Mon Sep 17 00:00:00 2001 From: Matthias Reichl Date: Fri, 13 Sep 2019 23:42:16 +0200 Subject: [PATCH] scripts/install: copy system.d files recursively This allows installing drop-ins. Signed-off-by: Matthias Reichl --- scripts/install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index 8323fc84ec..ed2256c3dc 100755 --- a/scripts/install +++ b/scripts/install @@ -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