Install boot-manager.service to $(libdir) rather than /lib
authorFrancisco Redondo Marchena <francisco.marchena@codethink.co.uk>
Mon, 23 Jul 2012 10:28:18 +0000 (11:28 +0100)
committerJannis Pohlmann <jannis.pohlmann@codethink.co.uk>
Mon, 23 Jul 2012 13:51:47 +0000 (14:51 +0100)
Installing to /lib causes troubly when building the boot manager as part
of the Yocto-based GENIVI Excalibur baseline.

boot-manager/Makefile.am

index 422388c..08bce99 100644 (file)
@@ -80,7 +80,7 @@ dbus_service_DATA = $(dbus_service_in_files:.service.in=.service)
        sed -e "s,\@libdir\@,$(libdir),g"                               \
            -e "s,\@BOOT_MANAGER_VERSION_API\@,$(BOOT_MANAGER_VERSION_API),g" < $< > $@
 
-systemd_servicedir = /lib/systemd/system
+systemd_servicedir = $(libdir)/systemd/system
 
 systemd_service_in_files =                                             \
        boot-manager.service.in