mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 12:29:55 +00:00
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. (From OE-Core rev: 339c3c3abe8d405cfe7b3f34db9b3547bcaaf878) Signed-off-by: Saul Wold <saul.wold@windriver.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
adbb395e7a
commit
7c97bfbed4
@@ -21,7 +21,7 @@ index bb42bbe..aa5a2de 100644
|
|||||||
/* Arbitrary. Was sb->st_size, but that breaks .gz etc */
|
/* Arbitrary. Was sb->st_size, but that breaks .gz etc */
|
||||||
size_t len = (64*1024*1024 - 4096);
|
size_t len = (64*1024*1024 - 4096);
|
||||||
|
|
||||||
+ if (strstr(fname, ".debug") == NULL)
|
+ if (strstr(fname, ".debug") != NULL)
|
||||||
+ return TRUE;
|
+ return TRUE;
|
||||||
+
|
+
|
||||||
if (strrstr(fname, ".ko") == NULL)
|
if (strrstr(fname, ".ko") == NULL)
|
||||||
|
|||||||
Reference in New Issue
Block a user