summaryrefslogtreecommitdiffstats
path: root/package/redis/redis.mk
diff options
context:
space:
mode:
authorMartin Bark <martin@barkynet.com>2015-07-23 12:20:27 +0100
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-07-23 23:15:43 +0200
commita26dd768366452283f749a2f1560b3be3b525dcb (patch)
tree086842eaddf48204950ccba5c91a0b0b0b1a6795 /package/redis/redis.mk
parentbb1dae2da8f7488d0a8603793310a0ad58c4be1d (diff)
downloadbuildroot-a26dd768366452283f749a2f1560b3be3b525dcb.tar.gz
buildroot-a26dd768366452283f749a2f1560b3be3b525dcb.zip
package/redis: Install /etc/redis.conf to target
Copy redis.conf from the redis release package but adjust some values to sensible defaults using 0003-redis.conf-sane-defaults.patch The file 0003-redis.conf-sane-defaults.patch originates from the redis package in Arch Linux. Signed-off-by: Martin Bark <martin@barkynet.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/redis/redis.mk')
-rw-r--r--package/redis/redis.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/redis/redis.mk b/package/redis/redis.mk
index 0135cf991f..04c2d6a48a 100644
--- a/package/redis/redis.mk
+++ b/package/redis/redis.mk
@@ -26,6 +26,8 @@ endef
define REDIS_INSTALL_TARGET_CMDS
$(TARGET_MAKE_ENV) $(MAKE) $(REDIS_BUILDOPTS) -C $(@D) \
LDCONFIG=true install
+ $(INSTALL) -D -m 0644 $(@D)/redis.conf \
+ $(TARGET_DIR)/etc/redis.conf
endef
$(eval $(generic-package))
OpenPOWER on IntegriCloud