Skip to contentSkip to conversation

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

PATCH New Thomas Petazzoni 1 participant 2 messages Aug 26, 2016 – Aug 28, 2016

lore
Share & tools
lore
#0 lore raw

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

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/

---
 package/libiio/libiio.mk | 7 -------
 1 file changed, 7 deletions(-)
package/libiio/libiio.mk +0 -7
index 3cbfdd6..e8fb6b2 100644
@@ -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))
Signature · 1 line
2.7.4
author Applied
#1 lore raw

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

Hello,

Quoted 10 lines · Thomas Petazzoni

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.

Quoted 8 lines

Fixes:

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

---
 package/libiio/libiio.mk | 7 -------
 1 file changed, 7 deletions(-)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com