summaryrefslogtreecommitdiffstats
path: root/rules/fake-overlayfs.make
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2010-07-26 15:07:12 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2010-07-27 15:24:01 +0200
commit0c8885e73a668ccbb425d7579b607e4c1630a821 (patch)
tree68bce3831202f5fff5eb04ee38dc367abca4e992 /rules/fake-overlayfs.make
parent9eb68dfafbaa859e57d831ed69a25e8225e16654 (diff)
downloadptxdist-0c8885e73a668ccbb425d7579b607e4c1630a821.tar.gz
ptxdist-0c8885e73a668ccbb425d7579b607e4c1630a821.tar.xz
[fake-overlayfs] install rc.d link with the init script
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/fake-overlayfs.make')
-rw-r--r--rules/fake-overlayfs.make6
1 files changed, 6 insertions, 0 deletions
diff --git a/rules/fake-overlayfs.make b/rules/fake-overlayfs.make
index 92e911d99..f8f508f9a 100644
--- a/rules/fake-overlayfs.make
+++ b/rules/fake-overlayfs.make
@@ -93,6 +93,12 @@ $(STATEDIR)/fake-overlayfs.targetinstall:
@$(call install_replace, fake-overlayfs, /etc/init.d/fake-overlayfs, \
@OVERLAY_DIRLIST@, $(FAKE_OVERLAYFS_DIRS))
+ifneq ($(call remove_quotes,$(PTXCONF_FAKE_OVERLAYFS_BBINIT_LINK)),)
+ @$(call install_link, fake-overlayfs, \
+ ../init.d/fake-overlayfs, \
+ /etc/rc.d/$(PTXCONF_FAKE_OVERLAYFS_BBINIT_LINK))
+endif
+
@$(call install_finish,fake-overlayfs)
@$(call touch)