package/pcsc-lite: enable systemd socket activation
pcsc-lite installs systemd service files, but they are not used. Enable pcscd.socket so that systemd starts the daemon when the first client connects. Signed-off-by: Pieterjan Camerlynck <pieterjan.camerlynck@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
3967abfc89
commit
4f9848d6a1
@ -37,4 +37,10 @@ ifeq ($(PACKAGE_PCSC_LITE_EMBEDDED),y)
|
||||
PCSC_LITE_CONF_OPTS += --enable-embedded
|
||||
endif
|
||||
|
||||
define PCSC_LITE_INSTALL_INIT_SYSTEMD
|
||||
mkdir -p $(TARGET_DIR)/etc/systemd/system/sockets.target.wants
|
||||
ln -sf ../../../../usr/lib/systemd/system/pcscd.socket \
|
||||
$(TARGET_DIR)/etc/systemd/system/sockets.target.wants/pcscd.socket
|
||||
endef
|
||||
|
||||
$(eval $(autotools-package))
|
||||
|
Loading…
Reference in New Issue
Block a user