From c6637b9dcf2edca209714dac970b8d26f00a271c Mon Sep 17 00:00:00 2001 From: vanhofen Date: Tue, 26 Jan 2021 19:54:50 +0100 Subject: [PATCH] - target-files: fix /etc/profile.d --- make/target-files.mk | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/make/target-files.mk b/make/target-files.mk index c7016cd7..53de988c 100644 --- a/make/target-files.mk +++ b/make/target-files.mk @@ -23,6 +23,10 @@ files-etc: \ $(TARGET_sysconfdir)/protocols \ $(TARGET_sysconfdir)/services +PHONY += $(TARGET_sysconfdir)/profile.d + +# ----------------------------------------------------------------------------- + $(TARGET_sysconfdir)/default/rcS: $(INSTALL_DATA) -D $(TARGET_FILES)/files-etc/default/rcS $(@) @@ -86,7 +90,7 @@ endif $(TARGET_sysconfdir)/profile.d: $(foreach p,$(wildcard $(TARGET_FILES)/files-etc/profile.d/*.sh),\ - $(shell $(INSTALL_DATA) -D $(p) $(TARGET_sysconfdir)/profile.d/$(notdir $(p)))) + $(INSTALL_DATA) -D $(p) $(TARGET_sysconfdir)/profile.d/$(notdir $(p)) $(sep)) $(TARGET_sysconfdir)/services: $(INSTALL_DATA) -D $(TARGET_FILES)/files-etc/services $(@) @@ -99,5 +103,7 @@ $(TARGET_sysconfdir)/protocols: files-var-etc: \ $(TARGET_localstatedir)/etc/fstab +# ----------------------------------------------------------------------------- + $(TARGET_localstatedir)/etc/fstab: $(INSTALL_DATA) -D $(TARGET_FILES)/files-etc/fstab-var $(@)