Package refused to build without initscript.
Best,
Matthias
Signed-off-by: Matthias Fischer <matthias.fischer(a)ipfire.org>
---
lfs/mpd | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/lfs/mpd b/lfs/mpd
index cf2862974..3213b27f6 100644
--- a/lfs/mpd
+++ b/lfs/mpd
@@ -77,7 +77,8 @@ $(subst %,%_MD5,$(objects)) :
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
@$(PREBUILD)
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE)
- cd $(DIR_APP) && ./configure --prefix=/usr \
+ cd $(DIR_APP) && ./configure \
+ --prefix=/usr \
--disable-ipv6 \
--sysconfdir=/etc \
--disable-sqlite \
@@ -91,6 +92,10 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
--disable-icu
cd $(DIR_APP) && make $(MAKETUNING)
cd $(DIR_APP) && make install
+
+ #install initscripts
+ $(call INSTALL_INITSCRIPT,mpd)
+
@rm -rf $(DIR_APP)
touch /var/log/mpd.error.log
touch /var/log/mpd.log
--
2.11.0