diff options
author | Saul Wold <Saul.Wold@windriver.com> | 2023-02-10 07:32:55 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-02-15 10:21:34 +0000 |
commit | 7c97bfbed4b96b652e6d71c3bb78e42b0c7c010e (patch) | |
tree | 9218b2e5e80746b57332ee0e4b1bedda2d8f3bb8 /meta/recipes-core/busybox | |
parent | adbb395e7a34669e903a758f4cd55d80f9da2fc3 (diff) | |
download | poky-7c97bfbed4b96b652e6d71c3bb78e42b0c7c010e.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.
(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>
Diffstat (limited to 'meta/recipes-core/busybox')
-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 | |||
21 | /* Arbitrary. Was sb->st_size, but that breaks .gz etc */ | 21 | /* Arbitrary. Was sb->st_size, but that breaks .gz etc */ |
22 | size_t len = (64*1024*1024 - 4096); | 22 | size_t len = (64*1024*1024 - 4096); |
23 | 23 | ||
24 | + if (strstr(fname, ".debug") == NULL) | 24 | + if (strstr(fname, ".debug") != NULL) |
25 | + return TRUE; | 25 | + return TRUE; |
26 | + | 26 | + |
27 | if (strrstr(fname, ".ko") == NULL) | 27 | if (strrstr(fname, ".ko") == NULL) |