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

index e0ec6d6b344ea55762591653208c080298e6ec53..f8230b2cae58970ca14e875c0e6584ef2467dfcc 100644 (file)
@@ -67,9 +67,9 @@ endef
 
 define OPENVMTOOLS_INSTALL_INIT_SYSTEMD
        $(INSTALL) -D -m 644 package/openvmtools/vmtoolsd.service \
-               $(TARGET_DIR)/etc/systemd/system/vmtoolsd.service
+               $(TARGET_DIR)/usr/lib/systemd/system/vmtoolsd.service
        mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
-       ln -fs ../vmtoolsd.service \
+       ln -fs ../../../../usr/lib/systemd/system/vmtoolsd.service \
                $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/vmtoolsd.service
 endef