From patchwork Thu Nov 27 21:57:19 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Petazzoni X-Patchwork-Id: 415706 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from fraxinus.osuosl.org (fraxinus.osuosl.org [140.211.166.137]) by ozlabs.org (Postfix) with ESMTP id DD59114017D for ; Fri, 28 Nov 2014 09:02:55 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 2D4DCA3A77; Thu, 27 Nov 2014 22:02:55 +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 KUZt_Hhp51jn; Thu, 27 Nov 2014 22:02:54 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 1A578A3A8B; Thu, 27 Nov 2014 22:02:54 +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 14B4B1C2451 for ; Thu, 27 Nov 2014 22:02:53 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 1025F8E2B5 for ; Thu, 27 Nov 2014 22:02:53 +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 PYQKZWW2Ug7t for ; Thu, 27 Nov 2014 22:02:52 +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 982E68715A for ; Thu, 27 Nov 2014 22:02:52 +0000 (UTC) Received: by mail.free-electrons.com (Postfix, from userid 106) id 3984148E8; Thu, 27 Nov 2014 23:02:57 +0100 (CET) Received: from localhost (unknown [151.16.38.253]) by mail.free-electrons.com (Postfix) with ESMTPSA id CFB674877; Thu, 27 Nov 2014 22:58:29 +0100 (CET) From: Thomas Petazzoni To: buildroot@uclibc.org Date: Thu, 27 Nov 2014 22:57:19 +0100 Message-Id: <1417125452-18705-62-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 61/74] input-event-daemon: install configuration file 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/input-event-daemon/input-event-daemon.mk | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/package/input-event-daemon/input-event-daemon.mk b/package/input-event-daemon/input-event-daemon.mk index 0bafdc4..67b8cc4 100644 --- a/package/input-event-daemon/input-event-daemon.mk +++ b/package/input-event-daemon/input-event-daemon.mk @@ -18,9 +18,8 @@ endef define INPUT_EVENT_DAEMON_INSTALL_TARGET_CMDS $(INSTALL) -m 755 -D $(@D)/input-event-daemon \ $(TARGET_DIR)/usr/bin/input-event-daemon - [ -f $(TARGET_DIR)/etc/input-event-daemon.conf ] || \ - $(INSTALL) -m 644 -D $(@D)/docs/sample.conf \ - $(TARGET_DIR)/etc/input-event-daemon.conf + $(INSTALL) -m 644 -D $(@D)/docs/sample.conf \ + $(TARGET_DIR)/etc/input-event-daemon.conf endef define INPUT_EVENT_DAEMON_INSTALL_INIT_SYSV