Skip to contentSkip to conversation

package/alsa-utils: fix systemd install

PATCH In review Bernd Kuhls 2 participants 2 messages Jan 2 – Jan 11

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/alsa-utils: fix systemd install

Buildroot commit e859686460a30af0868d68810645c2208562039f bumped alsa- utils to 1.2.15.1 including upstream commit
https://github.com/alsa-project/alsa-utils/commit/f047a8a66917960ef5a9ff0e41de507f0e58f381
which moved the systemd files to alsactl/conf subdirectory.

Adjust ALSA_UTILS_INSTALL_INIT_SYSTEMD accordingly to fix build error.

Fixes:
https://autobuild.buildroot.net/results/31a/31a409308924fd7f60dd94db3c10e2a25c73020a/

---
 package/alsa-utils/alsa-utils.mk | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
package/alsa-utils/alsa-utils.mk +2 -2
index 9af2d0136e..82f4b12e8d 100644
@@ -85,9 +85,9 @@ ifeq ($(BR2_PACKAGE_ALSA_UTILS_ALSACTL)$(BR2_INIT_SYSTEMD),yy)
 ALSA_UTILS_DEPENDENCIES += systemd
 ALSA_UTILS_CONF_OPTS += --with-systemdsystemunitdir=/usr/lib/systemd/system
 define ALSA_UTILS_INSTALL_INIT_SYSTEMD
-	$(INSTALL) -D -m 0644 $(@D)/alsactl/alsa-restore.service \
+	$(INSTALL) -D -m 0644 $(@D)/alsactl/conf/alsa-restore.service \
 		$(TARGET_DIR)/usr/lib/systemd/system/alsa-restore.service
-	$(INSTALL) -D -m 0644 $(@D)/alsactl/alsa-state.service \
+	$(INSTALL) -D -m 0644 $(@D)/alsactl/conf/alsa-state.service \
 		$(TARGET_DIR)/usr/lib/systemd/system/alsa-state.service
 	$(INSTALL) -d -m 0755 $(TARGET_DIR)/usr/lib/systemd/system/alsa-restore.service.d
 	printf '[Install]\nWantedBy=multi-user.target\n' \
Signature · 6 lines
2.47.3

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 11 lines · Bernd Kuhls

Buildroot commit e859686460a30af0868d68810645c2208562039f bumped alsa- utils to 1.2.15.1 including upstream commit
https://github.com/alsa-project/alsa-utils/commit/f047a8a66917960ef5a9ff0e41de507f0e58f381
which moved the systemd files to alsactl/conf subdirectory.

Adjust ALSA_UTILS_INSTALL_INIT_SYSTEMD accordingly to fix build error.

Fixes:
https://autobuild.buildroot.net/results/31a/31a409308924fd7f60dd94db3c10e2a25c73020a/

Applied to master, thanks.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot