[v2,1/4] alsa: Fix bug#13087 remove services entry
Commit Message
- alsa has an initscript but it is not starting and stopping a traditional daemon service.
The initscript loads some alsa modules and then restores the asound.state file
- This patch updates the PAK_VER number and removes the services entry and explicitly
adds alsa in for the initscript installation.
- Additionally this patch also adds the installation of a backup include file for alsa
which savces the soundcards status file asound.state
Fixes: Bug#13087
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
---
lfs/alsa | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
@@ -37,11 +37,11 @@ DL_FILE = $(THISAPP).tar.bz2
DL_FROM = $(URL_IPFIRE)
DIR_APP = $(DIR_SRC)/$(THISAPP)
PROG = alsa
-PAK_VER = 15
+PAK_VER = 16
DEPS =
-SERVICES = alsa
+SERVICES =
TARGET = $(DIR_INFO)/$(THISAPP)
@@ -104,6 +104,9 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
cd $(DIR_APP)/alsa-firmware-$(FVER) && make $(MAKETUNING) $(EXTRA_MAKE)
cd $(DIR_APP)/alsa-firmware-$(FVER) && make install
# install initscript
- $(call INSTALL_INITSCRIPTS,$(SERVICES))
+ $(call INSTALL_INITSCRIPTS,alsa)
+ # install backup include file
+ install -v -m 644 ${DIR_SRC}/config/backup/includes/alsa \
+ /var/ipfire/backup/addons/includes/alsa
@rm -rf $(DIR_SRC)/alsa*
@$(POSTBUILD)