From patchwork Thu Nov 27 21:57:15 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Petazzoni X-Patchwork-Id: 415701 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from silver.osuosl.org (silver.osuosl.org [140.211.166.136]) by ozlabs.org (Postfix) with ESMTP id CDB4D14017D for ; Fri, 28 Nov 2014 09:02:26 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 1938734123; Thu, 27 Nov 2014 22:02:26 +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 ZnCzATUs2YE9; Thu, 27 Nov 2014 22:02:24 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 937E434118; Thu, 27 Nov 2014 22:02:24 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 207DD1C2451 for ; Thu, 27 Nov 2014 22:02:23 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 1C3358E2B5 for ; Thu, 27 Nov 2014 22:02:23 +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 ulOhfsrdMd0b for ; Thu, 27 Nov 2014 22:02:22 +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 whitealder.osuosl.org (Postfix) with ESMTP id A9C858715A for ; Thu, 27 Nov 2014 22:02:22 +0000 (UTC) Received: by mail.free-electrons.com (Postfix, from userid 106) id 260ED48DB; Thu, 27 Nov 2014 23:02:27 +0100 (CET) Received: from localhost (unknown [151.16.38.253]) by mail.free-electrons.com (Postfix) with ESMTPSA id 3E8484751; Thu, 27 Nov 2014 22:58:26 +0100 (CET) From: Thomas Petazzoni To: buildroot@uclibc.org Date: Thu, 27 Nov 2014 22:57:15 +0100 Message-Id: <1417125452-18705-58-git-send-email-thomas.petazzoni@free-electrons.com> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1417125452-18705-1-git-send-email-thomas.petazzoni@free-electrons.com> References: <1417125452-18705-1-git-send-email-thomas.petazzoni@free-electrons.com> Cc: Thomas Petazzoni Subject: [Buildroot] [PATCHv2 57/74] rpcbind: install init script unconditionally 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" As discussed, users should use a rootfs overlay or a post-build script instead of a custom skeleton to override files installed by Buildroot, so there is no point in having conditions when installing init scripts or configuration files. Signed-off-by: Thomas Petazzoni --- package/rpcbind/rpcbind.mk | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/package/rpcbind/rpcbind.mk b/package/rpcbind/rpcbind.mk index b7c2261..55de3fc 100644 --- a/package/rpcbind/rpcbind.mk +++ b/package/rpcbind/rpcbind.mk @@ -17,9 +17,8 @@ RPCBIND_DEPENDENCIES += libtirpc RPCBIND_CONF_OPTS += --with-rpcuser=root define RPCBIND_INSTALL_INIT_SYSV - [ -f $(TARGET_DIR)/etc/init.d/S30rpcbind ] || \ - $(INSTALL) -m 0755 -D package/rpcbind/S30rpcbind \ - $(TARGET_DIR)/etc/init.d/S30rpcbind + $(INSTALL) -m 0755 -D package/rpcbind/S30rpcbind \ + $(TARGET_DIR)/etc/init.d/S30rpcbind endef $(eval $(autotools-package))