diff options
| author | Christopher McCrory <chrismcc@gmail.com> | 2018-03-08 06:15:36 -0800 |
|---|---|---|
| committer | Thomas Petazzoni <thomas.petazzoni@bootlin.com> | 2018-04-01 22:08:14 +0200 |
| commit | b773c33bf18d82e4cf7d0712dfe88a0bae61c865 (patch) | |
| tree | 05411f395f7c4512a0cb6cd5a914ce6ad570666c | |
| parent | ce1104f6a10d0ebfdc48e1d7eea9eaf096e739fd (diff) | |
| download | buildroot-b773c33bf18d82e4cf7d0712dfe88a0bae61c865.tar.gz buildroot-b773c33bf18d82e4cf7d0712dfe88a0bae61c865.zip | |
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 <chrismcc@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
| -rw-r--r-- | package/motion/motion.mk | 2 |
1 files changed, 1 insertions, 1 deletions
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 |

