Skip to contentSkip to conversation

busybox: Fix depmod patch

PATCH New Saul Wold 1 participant 1 message Feb 10, 2023

lore
Share & tools
lore

Saul Wold

author
#0 lore raw

PATCH 1/1 busybox: Fix depmod patch

The original patch was actually allowing .debug modules though which was in-correct. This change blocks the parsing of .debug modules (which is correct). As noted in [YOCTO #15022] this should address the empty modules.dep when using the BusyBox depmod.

---
 .../busybox/busybox/0001-depmod-Ignore-.debug-directories.patch | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-core/busybox/busybox/0001-depmod-Ignore-.debug-directories.patch +1 -1
index 354f83a4a5f..d76118f85b2 100644
@@ -21,7 +21,7 @@ index bb42bbe..aa5a2de 100644
  	/* Arbitrary. Was sb->st_size, but that breaks .gz etc */
  	size_t len = (64*1024*1024 - 4096);
  
-+	if (strstr(fname, ".debug") == NULL)
++	if (strstr(fname, ".debug") != NULL)
 +		return TRUE;
 +
  	if (strrstr(fname, ".ko") == NULL)
Signature · 1 line
2.39.0