From patchwork Tue Nov 17 17:20:45 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?SsOpcsO0bWUgUG91aWxsZXI=?= X-Patchwork-Id: 545681 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ozlabs.org (Postfix) with ESMTP id 6512A14140B for ; Wed, 18 Nov 2015 04:20:58 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 2000D87DC1; Tue, 17 Nov 2015 17:20:57 +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 Y31NEGUAtAsZ; Tue, 17 Nov 2015 17:20:55 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 28036882A6; Tue, 17 Nov 2015 17:20:55 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 530371C1630 for ; Tue, 17 Nov 2015 17:20:53 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 4D34087DC1 for ; Tue, 17 Nov 2015 17:20: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 2eF1nc9Vir-H for ; Tue, 17 Nov 2015 17:20:49 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from lupi.sysmic.org (sysmic.org [62.210.89.17]) by whitealder.osuosl.org (Postfix) with ESMTPS id 8EE1B87A58 for ; Tue, 17 Nov 2015 17:20:49 +0000 (UTC) Received: from localhost.localdomain (unknown [212.234.226.241]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: jezz) by lupi.sysmic.org (Postfix) with ESMTPSA id 4756A4107A; Tue, 17 Nov 2015 18:20:48 +0100 (CET) From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Pouiller?= To: buildroot@busybox.net Date: Tue, 17 Nov 2015 18:20:45 +0100 Message-Id: <1447780845-22019-1-git-send-email-jezz@sysmic.org> X-Mailer: git-send-email 2.1.4 MIME-Version: 1.0 Cc: =?UTF-8?q?J=C3=A9r=C3=B4me=20Pouiller?= Subject: [Buildroot] [PATCH v2] readline: install configuration file from package recipe 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: , Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" /etc/inputrc is configuration file for readline. However, until now, it was provided by skeleton. This patch install /etc/inputrc from readline recipe. Signed-off-by: Jérôme Pouiller Acked-by: Gustavo Zacarias --- v2: Send patch using -M {system/skeleton/etc => package/readline}/inputrc | 0 package/readline/readline.mk | 6 +++++- 2 files changed, 5 insertions(+), 1 deletion(-) rename {system/skeleton/etc => package/readline}/inputrc (100%) diff --git a/system/skeleton/etc/inputrc b/package/readline/inputrc similarity index 100% rename from system/skeleton/etc/inputrc rename to package/readline/inputrc diff --git a/package/readline/readline.mk b/package/readline/readline.mk index c004899..3d31696 100644 --- a/package/readline/readline.mk +++ b/package/readline/readline.mk @@ -17,8 +17,12 @@ READLINE_LICENSE_FILES = COPYING define READLINE_PURGE_EXAMPLES rm -rf $(TARGET_DIR)/usr/share/readline endef - READLINE_POST_INSTALL_TARGET_HOOKS += READLINE_PURGE_EXAMPLES +define READLINE_INSTALL_INPUTRC + $(INSTALL) -D -m 644 package/readline/inputrc $(TARGET_DIR)/etc/inputrc +endef +READLINE_POST_INSTALL_TARGET_HOOKS += READLINE_INSTALL_INPUTRC + $(eval $(autotools-package)) $(eval $(host-autotools-package))