summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2013-12-02 10:49:28 (GMT)
committer Peter Korsgaard <peter@korsgaard.com>2013-12-03 08:10:43 (GMT)
commita34cad761baa82e50c855fe96de68de816399204 (patch)
treeb88c7c95b3dc149f6886fd791065f8063f8050ab
parent1a0b170a55126115d883f6cde9871e06a80f9cc2 (diff)
downloadbuildroot-a34cad761baa82e50c855fe96de68de816399204.tar.gz
buildroot-a34cad761baa82e50c855fe96de68de816399204.tar.bz2
sysklogd: install to /sbin
Install syslogd/klogd to /sbin instead of /usr/sbin to really win over busybox and avoid the ugly noise when booting without busybox installed. Also drop uninstall hook and manpage installation. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r--package/sysklogd/sysklogd.mk18
1 files changed, 2 insertions, 16 deletions
diff --git a/package/sysklogd/sysklogd.mk b/package/sysklogd/sysklogd.mk
index 8ffdc0f..615b084 100644
--- a/package/sysklogd/sysklogd.mk
+++ b/package/sysklogd/sysklogd.mk
@@ -27,28 +27,14 @@ define SYSKLOGD_BUILD_CMDS
endef
define SYSKLOGD_INSTALL_TARGET_CMDS
- $(INSTALL) -D -m 0500 $(@D)/syslogd $(TARGET_DIR)/usr/sbin/syslogd
- $(INSTALL) -D -m 0500 $(@D)/klogd $(TARGET_DIR)/usr/sbin/klogd
- $(INSTALL) -D -m 0644 $(@D)/sysklogd.8 $(TARGET_DIR)/usr/share/man/man8/sysklogd.8
- $(INSTALL) -D -m 0644 $(@D)/syslogd.8 $(TARGET_DIR)/usr/share/man/man8/syslogd.8
- $(INSTALL) -D -m 0644 $(@D)/syslog.conf.5 $(TARGET_DIR)/usr/share/man/man5/syslog.conf.5
- $(INSTALL) -D -m 0644 $(@D)/klogd.8 $(TARGET_DIR)/usr/share/man/man8/klogd.8
+ $(INSTALL) -D -m 0500 $(@D)/syslogd $(TARGET_DIR)/sbin/syslogd
+ $(INSTALL) -D -m 0500 $(@D)/klogd $(TARGET_DIR)/sbin/klogd
if [ ! -f $(TARGET_DIR)/etc/syslog.conf ]; then \
$(INSTALL) -D -m 0644 package/sysklogd/syslog.conf \
$(TARGET_DIR)/etc/syslog.conf; \
fi
endef
-define SYSKLOGD_UNINSTALL_TARGET_CMDS
- rm -f $(TARGET_DIR)/usr/sbin/syslogd
- rm -f $(TARGET_DIR)/usr/sbin/klogd
- rm -f $(TARGET_DIR)/usr/share/man/man8/sysklogd.8
- rm -f $(TARGET_DIR)/usr/share/man/man8/syslogd.8
- rm -f $(TARGET_DIR)/usr/share/man/man5/syslog.conf.5
- rm -f $(TARGET_DIR)/usr/share/man/man8/klogd.8
- rm -f $(TARGET_DIR)/etc/syslog.conf
-endef
-
define SYSKLOGD_CLEAN_CMDS
$(MAKE) -C $(@D) clean
endef