[1/3] alsa: Fix bug#13087 remove services entry

Message ID 20230421211503.2647702-1-adolf.belka@ipfire.org
State Superseded
Headers
Series [1/3] alsa: Fix bug#13087 remove services entry |

Commit Message

Adolf Belka April 21, 2023, 9:15 p.m. UTC
  - 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.

Fixes: Bug#13087
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
---
 lfs/alsa | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
  

Patch

diff --git a/lfs/alsa b/lfs/alsa
index 2d89af880..5c74bd182 100644
--- a/lfs/alsa
+++ b/lfs/alsa
@@ -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,6 @@  $(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)
 	@rm -rf $(DIR_SRC)/alsa*
 	@$(POSTBUILD)