alsa-utils: add optional systemd dependency
Fixes (reported by Yann E. MORIN, [1]): /usr/bin/install -D -m 0644 .../build/alsa-utils-1.1.6/alsactl/alsa-restore.service .../target/usr/lib/systemd/system/alsa-restore.service /usr/bin/install: cannot stat '.../build/alsa-utils-1.1.6/alsactl/alsa-restore.service': No such file or directory [1] http://lists.busybox.net/pipermail/buildroot/2018-November/236355.html Signed-off-by: Peter Seiderer <ps.report@gmx.net> Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
982805a32b
commit
1970dd9c76
@ -82,7 +82,8 @@ define ALSA_UTILS_INSTALL_TARGET_CMDS
|
||||
fi
|
||||
endef
|
||||
|
||||
ifeq ($(BR2_PACKAGE_ALSA_UTILS_ALSACTL),y)
|
||||
ifeq ($(BR2_PACKAGE_ALSA_UTILS_ALSACTL)$(BR2_INIT_SYSTEMD),yy)
|
||||
ALSA_UTILS_DEPENDENCIES += systemd
|
||||
define ALSA_UTILS_INSTALL_INIT_SYSTEMD
|
||||
$(INSTALL) -D -m 0644 $(@D)/alsactl/alsa-restore.service \
|
||||
$(TARGET_DIR)/usr/lib/systemd/system/alsa-restore.service
|
||||
|
Loading…
Reference in New Issue
Block a user