libiio: move systemd service file to /usr/lib
Signed-off-by: Mike Williams <mike@mikebwilliams.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
173f15e62b
commit
1dd088ca16
@ -41,8 +41,8 @@ endef
|
||||
define LIBIIO_INSTALL_INIT_SYSTEMD
|
||||
$(INSTALL) -d $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
|
||||
$(INSTALL) -D -m 0644 $(@D)/debian/iiod.service \
|
||||
$(TARGET_DIR)/lib/systemd/system/iiod.service
|
||||
ln -fs /lib/systemd/system/iiod.service \
|
||||
$(TARGET_DIR)/usr/lib/systemd/system/iiod.service
|
||||
ln -fs ../../../../usr/lib/systemd/system/iiod.service \
|
||||
$(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/iiod.service
|
||||
endef
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user