From 9704c56af1c7b5b5c2f7e547478309a9850f803d Mon Sep 17 00:00:00 2001 From: Danomi Manchego Date: Mon, 13 Jul 2020 22:24:59 -0400 Subject: [PATCH] Makefile: add /etc/bash_completion.d to non-bash purge 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 Signed-off-by: Thomas Petazzoni (cherry picked from commit 18072ecc24b8f288cf131e0d3dcceb0bb6c955c8) Signed-off-by: Peter Korsgaard --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index c6e0529498..413e565dae 100644 --- a/Makefile +++ b/Makefile @@ -757,6 +757,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