[Buildroot] [git commit branch/2018.02.x] motion: fix config file location
Peter Korsgaard
peter at korsgaard.com
Sun Apr 8 15:01:12 UTC 2018
commit: https://git.buildroot.net/buildroot/commit/?id=fc5077516409cdf69e5d72819a75877a4e3230ae
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2018.02.x
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 <chrismcc at gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
(cherry picked from commit b773c33bf18d82e4cf7d0712dfe88a0bae61c865)
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
package/motion/motion.mk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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
More information about the buildroot
mailing list