package/skeleton-init-finit: fix make skeleton-init-finit-rebuild

When calling 'make skeleton-init-finit-rebuild' to (re)install any new
or modified services, we cannot remove everything installed already.
That breaks what other packages may have installed already and is not
the Buildroot way.

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
Joachim Wiberg
2023-04-27 09:59:35 +02:00
committed by Tobias Waldekranz
parent dcf3c5fe97
commit 3cd3d04bae
@@ -297,7 +297,6 @@ endif
define SKELETON_INIT_FINIT_INSTALL_TARGET_CMDS
$(call SYSTEM_RSYNC,$(SKELETON_INIT_FINIT_PKGDIR)/skeleton,$(TARGET_DIR))
rm -rf $(TARGET_DIR)/etc/finit.d/available $(TARGET_DIR)/etc/finit.d/enabled
mkdir -p $(TARGET_DIR)/etc/finit.d/available
mkdir -p $(TARGET_DIR)/etc/finit.d/enabled
for svc in getty inetd ntpd telnetd; do \