From e5a723f35d57d25a084a9e907e07d281cb17d3c0 Mon Sep 17 00:00:00 2001 From: John Ernberg Date: Wed, 27 May 2026 22:41:25 +0200 Subject: [PATCH] package/pkg-generic: Add /usr/share/info/dir to $(2)_DROP_FILES_OR_DIRS This is the file the original commit d8898380984f ("package/pkg-generic.mk: Remove Info documents dir entry") wanted to delete. However, it only works for host packages. Target packages are (usually) installed with prefix /usr, so the info dir is /usr/share/info. Simply remove both of them, even if one of them only exists for host packages and the other only for target packages. Signed-off-by: John Ernberg Signed-off-by: Arnout Vandecappelle --- package/pkg-generic.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/pkg-generic.mk b/package/pkg-generic.mk index dd440e4062..83f3506913 100644 --- a/package/pkg-generic.mk +++ b/package/pkg-generic.mk @@ -863,7 +863,7 @@ endif endif # Globally remove following conflicting and useless files -$(2)_DROP_FILES_OR_DIRS += /share/info/dir +$(2)_DROP_FILES_OR_DIRS += /share/info/dir /usr/share/info/dir ifeq ($$($(2)_TYPE),host) $(2)_POST_INSTALL_HOOKS += REMOVE_CONFLICTING_USELESS_FILES_IN_HOST