Bug 15022

Summary: busybox depmod completely broken by buggy patch
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Tony Battersby <tonyb>
Component: coreAssignee: Saul Wold <saul.wold>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium+ CC: meta.mr.watcher, meta.watcher, randy.macleod, richard.purdie, sgw
Version: 4.1.2   
Target Milestone: 4.2 M3   
Hardware: x86   
OS: x86_64   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

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.