Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] Makefile: add /etc/bash_completion.d to non-bash purge
@ 2020-07-14  2:24 Danomi Manchego
  2020-07-14  8:12 ` Thomas Petazzoni
  2020-07-21 20:51 ` Peter Korsgaard
  0 siblings, 2 replies; 3+ messages in thread
From: Danomi Manchego @ 2020-07-14  2:24 UTC (permalink / raw)
  To: buildroot

Currently, we delete /usr/share/bash-completion when bash is not enabled.
We need to delete /etc/bash_completion.d too. For example, the jo package
installs files there:

/etc/bash_completion.d/jo.bash

Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com>
---
 Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Makefile b/Makefile
index 04c29b1..d6540ac 100644
--- a/Makefile
+++ b/Makefile
@@ -756,6 +756,7 @@ ifneq ($(BR2_PACKAGE_GDB),y)
 endif
 ifneq ($(BR2_PACKAGE_BASH),y)
 	rm -rf $(TARGET_DIR)/usr/share/bash-completion
+	rm -rf $(TARGET_DIR)/etc/bash_completion.d
 endif
 ifneq ($(BR2_PACKAGE_ZSH),y)
 	rm -rf $(TARGET_DIR)/usr/share/zsh
-- 
2.7.4

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

end of thread, other threads:[~2020-07-21 20:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-07-14  2:24 [Buildroot] [PATCH 1/1] Makefile: add /etc/bash_completion.d to non-bash purge Danomi Manchego
2020-07-14  8:12 ` Thomas Petazzoni
2020-07-21 20:51 ` Peter Korsgaard

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