diff options
author | Saul Wold <Saul.Wold@windriver.com> | 2023-02-10 07:32:55 -0800 |
---|---|---|
committer | Steve Sakoman <steve@sakoman.com> | 2023-02-25 09:25:51 -1000 |
commit | e8c4cf47ab7d7b7c7944908a4a2beae39b48eafe (patch) | |
tree | f4d0a11051019e5b4019198c2596afc61342b4bd | |
parent | 0bbcc17f68943655a95913b0d4c214c0227d24c0 (diff) | |
download | openembedded-core-e8c4cf47ab7d7b7c7944908a4a2beae39b48eafe.tar.gz |
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.
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>
(cherry picked from commit 339c3c3abe8d405cfe7b3f34db9b3547bcaaf878)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
-rw-r--r-- | meta/recipes-core/busybox/busybox/0001-depmod-Ignore-.debug-directories.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-core/busybox/busybox/0001-depmod-Ignore-.debug-directories.patch b/meta/recipes-core/busybox/busybox/0001-depmod-Ignore-.debug-directories.patch index 354f83a4a5..d76118f85b 100644 --- a/meta/recipes-core/busybox/busybox/0001-depmod-Ignore-.debug-directories.patch +++ b/meta/recipes-core/busybox/busybox/0001-depmod-Ignore-.debug-directories.patch @@ -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) |