kodi: move systemd service file to /usr/lib
authorMike Williams <mike@mikebwilliams.com>
Fri, 20 Mar 2015 19:14:05 +0000 (15:14 -0400)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Fri, 20 Mar 2015 19:40:11 +0000 (20:40 +0100)
Signed-off-by: Mike Williams <mike@mikebwilliams.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/kodi/kodi.mk

index f40fc313fd6b873ebdec3484b33a997cda9d4976..e0d49e65c5dac2617daaa677dee75e76a21bceb6 100644 (file)
@@ -256,11 +256,11 @@ endef
 
 define KODI_INSTALL_INIT_SYSTEMD
        $(INSTALL) -D -m 644 package/kodi/kodi.service \
-               $(TARGET_DIR)/etc/systemd/system/kodi.service
+               $(TARGET_DIR)/usr/lib/systemd/system/kodi.service
 
        mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
 
-       ln -fs ../kodi.service \
+       ln -fs ../../../../usr/lib/systemd/system/kodi.service \
                $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/kodi.service
 endef