mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-09 16:01:54 -09:00
rsyslog: only install S01rsyslog if not present in fs skeleton
To allow custom configurations. Reported-by: Maxime Ripard <maxime.ripard@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
@@ -13,8 +13,9 @@ ifeq ($(BR2_PACKAGE_BUSYBOX),y)
|
||||
endif
|
||||
|
||||
define RSYSLOG_INSTALL_CONF_SCRIPT
|
||||
$(INSTALL) -m 0755 -D package/rsyslog/S01rsyslog \
|
||||
$(TARGET_DIR)/etc/init.d/S01rsyslog
|
||||
[ -f $(TARGET_DIR)/etc/init.d/S01rsyslog ] || \
|
||||
$(INSTALL) -m 0755 -D package/rsyslog/S01rsyslog \
|
||||
$(TARGET_DIR)/etc/init.d/S01rsyslog
|
||||
[ -f $(TARGET_DIR)/etc/rsyslog.conf ] || \
|
||||
$(INSTALL) -m 0644 -D $(@D)/rsyslog.conf \
|
||||
$(TARGET_DIR)/etc/rsyslog.conf
|
||||
|
||||
Reference in New Issue
Block a user