Browse Source

- target-files: fix /etc/profile.d

master
vanhofen 4 years ago
parent
commit
c6637b9dcf
  1. 8
      make/target-files.mk

8
make/target-files.mk

@ -23,6 +23,10 @@ files-etc: \
$(TARGET_sysconfdir)/protocols \ $(TARGET_sysconfdir)/protocols \
$(TARGET_sysconfdir)/services $(TARGET_sysconfdir)/services
PHONY += $(TARGET_sysconfdir)/profile.d
# -----------------------------------------------------------------------------
$(TARGET_sysconfdir)/default/rcS: $(TARGET_sysconfdir)/default/rcS:
$(INSTALL_DATA) -D $(TARGET_FILES)/files-etc/default/rcS $(@) $(INSTALL_DATA) -D $(TARGET_FILES)/files-etc/default/rcS $(@)
@ -86,7 +90,7 @@ endif
$(TARGET_sysconfdir)/profile.d: $(TARGET_sysconfdir)/profile.d:
$(foreach p,$(wildcard $(TARGET_FILES)/files-etc/profile.d/*.sh),\ $(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: $(TARGET_sysconfdir)/services:
$(INSTALL_DATA) -D $(TARGET_FILES)/files-etc/services $(@) $(INSTALL_DATA) -D $(TARGET_FILES)/files-etc/services $(@)
@ -99,5 +103,7 @@ $(TARGET_sysconfdir)/protocols:
files-var-etc: \ files-var-etc: \
$(TARGET_localstatedir)/etc/fstab $(TARGET_localstatedir)/etc/fstab
# -----------------------------------------------------------------------------
$(TARGET_localstatedir)/etc/fstab: $(TARGET_localstatedir)/etc/fstab:
$(INSTALL_DATA) -D $(TARGET_FILES)/files-etc/fstab-var $(@) $(INSTALL_DATA) -D $(TARGET_FILES)/files-etc/fstab-var $(@)

Loading…
Cancel
Save