Bug 15022 - busybox depmod completely broken by buggy patch
Summary: busybox depmod completely broken by buggy patch
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: 4.1.2
Hardware: x86 x86_64
: Medium+ normal
Target Milestone: 4.2 M3
Assignee: Saul Wold
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2023-01-27 16:03 UTC by Tony Battersby
Modified: 2025-02-14 16:48 UTC (History)
5 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tony Battersby 2023-01-27 16:03:38 UTC
The following patch is buggy:

https://git.yoctoproject.org/poky/tree/meta/recipes-core/busybox/busybox/0001-depmod-Ignore-.debug-directories.patch

I believe the "== NULL" check in the patch should be changed to "!= NULL".

The result is that running depmod creates modules.dep with a size of 0.  This fixes the problem:

SRC_URI:remove = "file://0001-depmod-Ignore-.debug-directories.patch"

This may not affect most configurations because eudev now has a dependency on kmod, so many builds might not be using depmod from busybox anymore.
Comment 2 Randy MacLeod 2025-02-14 16:46:28 UTC
bulk change to add Saul's non-WR address.
Comment 3 Randy MacLeod 2025-02-14 16:48:25 UTC
Bulk change: Remove Saul's old WR address.