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:
Mike Williams 2015-03-20 15:14:03 -04:00 committed by Thomas Petazzoni
parent 173f15e62b
commit 1dd088ca16

View File

@ -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