From patchwork Fri Aug 26 20:49:02 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Petazzoni X-Patchwork-Id: 663242 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3sLY7B4pbwz9sD5 for ; Sat, 27 Aug 2016 06:49:10 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 04A00A61A5; Fri, 26 Aug 2016 20:49:09 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Zx_jSA8mGs8B; Fri, 26 Aug 2016 20:49:07 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id A7640A619E; Fri, 26 Aug 2016 20:49:07 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id 3493E1C2643 for ; Fri, 26 Aug 2016 20:49:07 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 2D23830A51 for ; Fri, 26 Aug 2016 20:49:07 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Wm57lNMwAbqn for ; Fri, 26 Aug 2016 20:49:05 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail.free-electrons.com (down.free-electrons.com [37.187.137.238]) by silver.osuosl.org (Postfix) with ESMTP id 8F2CB2F1C7 for ; Fri, 26 Aug 2016 20:49:05 +0000 (UTC) Received: by mail.free-electrons.com (Postfix, from userid 110) id A2D1C32A; Fri, 26 Aug 2016 22:49:04 +0200 (CEST) Received: from localhost (132.230.147.77.rev.sfr.net [77.147.230.132]) by mail.free-electrons.com (Postfix) with ESMTPSA id 39D9BB1; Fri, 26 Aug 2016 22:49:04 +0200 (CEST) From: Thomas Petazzoni To: Buildroot List , Paul Cercueil Date: Fri, 26 Aug 2016 22:49:02 +0200 Message-Id: <1472244542-14604-1-git-send-email-thomas.petazzoni@free-electrons.com> X-Mailer: git-send-email 2.7.4 Cc: Thomas Petazzoni Subject: [Buildroot] [PATCH] libiio: do not install systemd service file, no longer available X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" 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 --- package/libiio/libiio.mk | 7 ------- 1 file changed, 7 deletions(-) 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))