diff mbox

libiio: do not install systemd service file, no longer available

Message ID 1472244542-14604-1-git-send-email-thomas.petazzoni@free-electrons.com
State Accepted
Headers show

Commit Message

Thomas Petazzoni Aug. 26, 2016, 8:49 p.m. UTC
Since the bump to libiio 0.7, the systemd service file that used to be
in debian/iiod.service no longer exists. The entire debian/ directory
has been removed from the upstream project:

  https://github.com/analogdevicesinc/libiio/commit/5d49f58982b0c15545bc70724304fbc580e6523c

Due to this, the installation of this service file fails, and causes
build failures. To address this, we simply remove the installation of
the systemd service file.

Fixes:

  http://autobuild.buildroot.net/results/ce2fc81466abd9619aa104c96234d1455de3480d/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 package/libiio/libiio.mk | 7 -------
 1 file changed, 7 deletions(-)

Comments

Thomas Petazzoni Aug. 28, 2016, 1:52 p.m. UTC | #1
Hello,

On Fri, 26 Aug 2016 22:49:02 +0200, Thomas Petazzoni wrote:
> Since the bump to libiio 0.7, the systemd service file that used to be
> in debian/iiod.service no longer exists. The entire debian/ directory
> has been removed from the upstream project:
> 
>   https://github.com/analogdevicesinc/libiio/commit/5d49f58982b0c15545bc70724304fbc580e6523c
> 
> Due to this, the installation of this service file fails, and causes
> build failures. To address this, we simply remove the installation of
> the systemd service file.
> 
> Fixes:
> 
>   http://autobuild.buildroot.net/results/ce2fc81466abd9619aa104c96234d1455de3480d/
> 
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
> ---
>  package/libiio/libiio.mk | 7 -------
>  1 file changed, 7 deletions(-)

Applied to master, thanks.

Thomas
diff mbox

Patch

diff --git a/package/libiio/libiio.mk b/package/libiio/libiio.mk
index 3cbfdd6..e8fb6b2 100644
--- a/package/libiio/libiio.mk
+++ b/package/libiio/libiio.mk
@@ -79,13 +79,6 @@  define LIBIIO_INSTALL_INIT_SYSV
 	$(INSTALL) -D -m 0755 package/libiio/S99iiod \
 		$(TARGET_DIR)/etc/init.d/S99iiod
 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)/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
 
 $(eval $(cmake-package))