From patchwork Sun Nov 30 14:18:05 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Petazzoni X-Patchwork-Id: 416114 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ozlabs.org (Postfix) with ESMTP id 777F0140160 for ; Mon, 1 Dec 2014 01:20:31 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id ED50B91EB7; Sun, 30 Nov 2014 14:20:29 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ay4ZZ00mMMoI; Sun, 30 Nov 2014 14:20:26 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 5F3A391E6D; Sun, 30 Nov 2014 14:19:56 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from silver.osuosl.org (silver.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id BCA241C2A63 for ; Sun, 30 Nov 2014 14:19:27 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id B878B31AA2 for ; Sun, 30 Nov 2014 14:19:27 +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 bP-vEJaS4JJr for ; Sun, 30 Nov 2014 14:19:27 +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 43CA42F60A for ; Sun, 30 Nov 2014 14:19:27 +0000 (UTC) Received: by mail.free-electrons.com (Postfix, from userid 106) id 883B62AB7; Sun, 30 Nov 2014 15:19:30 +0100 (CET) Received: from localhost (pib31-1-78-237-111-234.fbx.proxad.net [78.237.111.234]) by mail.free-electrons.com (Postfix) with ESMTPSA id 3D7455DB; Sun, 30 Nov 2014 15:19:30 +0100 (CET) From: Thomas Petazzoni To: buildroot@uclibc.org Date: Sun, 30 Nov 2014 15:18:05 +0100 Message-Id: <1417357142-14307-18-git-send-email-thomas.petazzoni@free-electrons.com> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1417357142-14307-1-git-send-email-thomas.petazzoni@free-electrons.com> References: <1417357142-14307-1-git-send-email-thomas.petazzoni@free-electrons.com> Cc: Thomas Petazzoni Subject: [Buildroot] [PATCHv3 17/74] netatalk: use _INSTALL_INIT_SYSV mechanism 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" Also makes the installation of the init script unconditional. Signed-off-by: Thomas Petazzoni Acked-by: "Yann E. MORIN" --- package/netatalk/netatalk.mk | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/package/netatalk/netatalk.mk b/package/netatalk/netatalk.mk index 5ea55c2..6c1b640 100644 --- a/package/netatalk/netatalk.mk +++ b/package/netatalk/netatalk.mk @@ -50,12 +50,9 @@ else NETATALK_CONF_OPTS += --disable-cups endif -define NETATALK_INSTALL_EXTRA_FILES - [ -f $(TARGET_DIR)/etc/init.d/S50netatalk ] || \ - $(INSTALL) -m 0755 -D package/netatalk/S50netatalk \ - $(TARGET_DIR)/etc/init.d/S50netatalk +define NETATALK_INSTALL_INIT_SYSV + $(INSTALL) -m 0755 -D package/netatalk/S50netatalk \ + $(TARGET_DIR)/etc/init.d/S50netatalk endef -NETATALK_POST_INSTALL_TARGET_HOOKS += NETATALK_INSTALL_EXTRA_FILES - $(eval $(autotools-package))