mirror of
https://git.yoctoproject.org/poky
synced 2026-02-10 10:43:02 +01:00
Having one monolithic packages directory makes it hard to find things and is generally overwhelming. This commit splits it into several logical sections roughly based on function, recipes.txt gives more information about the classifications used. The opportunity is also used to switch from "packages" to "recipes" as used in OpenEmbedded as the term "packages" can be confusing to people and has many different meanings. Not all recipes have been classified yet, this is just a first pass at separating things out. Some packages are moved to meta-extras as they're no longer actively used or maintained. Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
20 lines
799 B
Diff
20 lines
799 B
Diff
# this patch is from Mark Hatle <mark.hatle@windriver.com>, who ran into
|
|
# a random segfault using the latest module-init-tools (3.12) and finally
|
|
# trace back to depmod.c:grab_module, which appears that the new malloc(...)
|
|
# setups up things, but never clears the memory that was just allocated.
|
|
#
|
|
# Kevin Tian <kevin.tian@intel.com>, 2010-08-06
|
|
|
|
diff --git a/depmod.c b/depmod.c
|
|
index 647e5e6..46e03e0 100644
|
|
--- a/depmod.c
|
|
+++ b/depmod.c
|
|
@@ -313,6 +313,7 @@ static struct module *grab_module(const char *dirname, const char *filename)
|
|
|
|
new = NOFAIL(malloc(sizeof(*new)
|
|
+ strlen(dirname?:"") + 1 + strlen(filename) + 1));
|
|
+ memset(new, 0x00, sizeof(*new) + strlen(dirname?:"") + 1 + strlen(filename) + 1);
|
|
if (dirname)
|
|
sprintf(new->pathname, "%s/%s", dirname, filename);
|
|
else
|