From mboxrd@z Thu Jan 1 00:00:00 1970 From: Adolf Belka To: development@lists.ipfire.org Subject: [PATCH v2 1/4] alsa: Fix bug#13087 remove services entry Date: Mon, 08 May 2023 19:07:20 +0200 Message-ID: <20230508170723.3525876-1-adolf.belka@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============6310057644817299259==" List-Id: --===============6310057644817299259== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable - alsa has an initscript but it is not starting and stopping a traditional da= emon 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 ex= plicitly 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 --- lfs/alsa | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/lfs/alsa b/lfs/alsa index 2d89af880..db7afe4b1 100644 --- a/lfs/alsa +++ b/lfs/alsa @@ -37,11 +37,11 @@ DL_FILE =3D $(THISAPP).tar.bz2 DL_FROM =3D $(URL_IPFIRE) DIR_APP =3D $(DIR_SRC)/$(THISAPP) PROG =3D alsa -PAK_VER =3D 15 +PAK_VER =3D 16 =20 DEPS =3D =20 -SERVICES =3D alsa +SERVICES =3D =20 TARGET =3D $(DIR_INFO)/$(THISAPP) =20 @@ -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) --=20 2.40.1 --===============6310057644817299259==--