Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH v2] readline: install configuration file from package recipe
@ 2015-11-17 17:20 Jérôme Pouiller
  2015-11-17 21:13 ` Gustavo Zacarias
  2015-11-17 21:29 ` Thomas Petazzoni
  0 siblings, 2 replies; 3+ messages in thread
From: Jérôme Pouiller @ 2015-11-17 17:20 UTC (permalink / raw)
  To: 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 <jezz@sysmic.org>
---
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))
-- 
2.1.4

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [Buildroot] [PATCH v2] readline: install configuration file from package recipe
  2015-11-17 17:20 [Buildroot] [PATCH v2] readline: install configuration file from package recipe Jérôme Pouiller
@ 2015-11-17 21:13 ` Gustavo Zacarias
  2015-11-17 21:29 ` Thomas Petazzoni
  1 sibling, 0 replies; 3+ messages in thread
From: Gustavo Zacarias @ 2015-11-17 21:13 UTC (permalink / raw)
  To: buildroot

On 17/11/15 14:20, J?r?me Pouiller wrote:

> /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 <jezz@sysmic.org>

Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Buildroot] [PATCH v2] readline: install configuration file from package recipe
  2015-11-17 17:20 [Buildroot] [PATCH v2] readline: install configuration file from package recipe Jérôme Pouiller
  2015-11-17 21:13 ` Gustavo Zacarias
@ 2015-11-17 21:29 ` Thomas Petazzoni
  1 sibling, 0 replies; 3+ messages in thread
From: Thomas Petazzoni @ 2015-11-17 21:29 UTC (permalink / raw)
  To: buildroot

Dear J?r?me Pouiller,

On Tue, 17 Nov 2015 18:20:45 +0100, J?r?me Pouiller wrote:
> /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 <jezz@sysmic.org>
> ---
> v2:
>   Send patch using -M

Applied to next, thanks!

Thanks for this /etc/inputrc and /etc/issue fixes. It's definitely good
to strip down a bit the skeleton.

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-11-17 21:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-17 17:20 [Buildroot] [PATCH v2] readline: install configuration file from package recipe Jérôme Pouiller
2015-11-17 21:13 ` Gustavo Zacarias
2015-11-17 21:29 ` Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox