Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/2] lxc: add optional dependency to bash-completion
@ 2019-01-12 21:08 Fabrice Fontaine
  2019-01-12 21:08 ` [Buildroot] [PATCH 2/2] lxc: bump to version 3.1.0 Fabrice Fontaine
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Fabrice Fontaine @ 2019-01-12 21:08 UTC (permalink / raw)
  To: buildroot

lxc uses the completionsdir variable from bash-completions.pc to decide
where to install things.

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 package/lxc/lxc.mk | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/package/lxc/lxc.mk b/package/lxc/lxc.mk
index c9838fb229..c758a15b9d 100644
--- a/package/lxc/lxc.mk
+++ b/package/lxc/lxc.mk
@@ -17,6 +17,10 @@ LXC_CONF_OPTS = --disable-apparmor --with-distro=buildroot \
 	--disable-werror \
 	$(if $(BR2_PACKAGE_BASH),,--disable-bash)
 
+ifeq ($(BR2_PACKAGE_BASH_COMPLETION),y)
+LXC_DEPENDENCIES += bash-completion
+endif
+
 ifeq ($(BR2_PACKAGE_GNUTLS),y)
 LXC_CONF_OPTS += --enable-gnutls
 LXC_DEPENDENCIES += gnutls
-- 
2.14.1

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

end of thread, other threads:[~2019-01-24 16:17 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-01-12 21:08 [Buildroot] [PATCH 1/2] lxc: add optional dependency to bash-completion Fabrice Fontaine
2019-01-12 21:08 ` [Buildroot] [PATCH 2/2] lxc: bump to version 3.1.0 Fabrice Fontaine
2019-01-13 13:28   ` Thomas Petazzoni
2019-01-13 13:56     ` Fabrice Fontaine
2019-01-13 13:29 ` [Buildroot] [PATCH 1/2] lxc: add optional dependency to bash-completion Thomas Petazzoni
2019-01-24 16:17 ` Peter Korsgaard

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