From: Christopher McCrory Date: Thu, 8 Mar 2018 14:15:36 +0000 (-0800) Subject: motion: fix config file location X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b773c33bf18d82e4cf7d0712dfe88a0bae61c865;p=buildroot.git motion: fix config file location Install the motion.config file were the program expects it to be. From the motion source code: snprintf(filename, PATH_MAX, "%s/motion/motion.conf", sysconfdir); Signed-off-by: Christopher McCrory Signed-off-by: Thomas Petazzoni --- diff --git a/package/motion/motion.mk b/package/motion/motion.mk index 2ba16fc837..0f4898674b 100644 --- a/package/motion/motion.mk +++ b/package/motion/motion.mk @@ -59,7 +59,7 @@ endif # directories: docs, examples and init scripts define MOTION_INSTALL_TARGET_CMDS $(INSTALL) -D -m 0644 $(@D)/motion-dist.conf \ - $(TARGET_DIR)/etc/motion.conf + $(TARGET_DIR)/etc/motion/motion.conf $(INSTALL) -D -m 0755 $(@D)/motion $(TARGET_DIR)/usr/bin/motion endef