From 29d6678fd546377459ef75cf54abeef5b969b5cf Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Fri, 27 Aug 2010 15:14:24 +0100 Subject: Major layout change to the packages directory 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 --- .../module-init-tools/files/disable_man.patch | 23 ------------- .../files/grab_module_memset.patch | 19 ----------- .../files/ignore_arch_directory.patch | 28 ---------------- .../files/modutils_extension.patch | 22 ------------ .../files/no-static-binaries.patch | 23 ------------- .../module-init-tools-cross_3.12.bb | 12 ------- .../module-init-tools/module-init-tools.inc | 24 ------------- .../module-init-tools/module-init-tools_3.12.bb | 39 ---------------------- 8 files changed, 190 deletions(-) delete mode 100644 meta/packages/module-init-tools/files/disable_man.patch delete mode 100644 meta/packages/module-init-tools/files/grab_module_memset.patch delete mode 100644 meta/packages/module-init-tools/files/ignore_arch_directory.patch delete mode 100644 meta/packages/module-init-tools/files/modutils_extension.patch delete mode 100644 meta/packages/module-init-tools/files/no-static-binaries.patch delete mode 100644 meta/packages/module-init-tools/module-init-tools-cross_3.12.bb delete mode 100644 meta/packages/module-init-tools/module-init-tools.inc delete mode 100644 meta/packages/module-init-tools/module-init-tools_3.12.bb (limited to 'meta/packages/module-init-tools') diff --git a/meta/packages/module-init-tools/files/disable_man.patch b/meta/packages/module-init-tools/files/disable_man.patch deleted file mode 100644 index daf58248b1..0000000000 --- a/meta/packages/module-init-tools/files/disable_man.patch +++ /dev/null @@ -1,23 +0,0 @@ -# disable man page build -# -# by Kevin Tian , 2010-07-21 - -diff --git a/Makefile.am b/Makefile.am -index 6f83c12..32972a8 100644 ---- a/Makefile.am -+++ b/Makefile.am -@@ -39,13 +39,12 @@ modindex_LDADD = $(LDADD) libmodtools.a - MAN5 = modprobe.conf.5 modules.dep.5 depmod.conf.5 modprobe.d.5 - MAN8 = depmod.8 insmod.8 lsmod.8 rmmod.8 modprobe.8 modinfo.8 - SGML = $(addprefix doc/, $(MAN5:%.5=%.sgml) $(MAN8:%.8=%.sgml)) --dist_man_MANS = $(MAN5) $(MAN8) - # If they haven't overridden mandir, fix it (never /man!) - mandir =$(shell if [ @mandir@ = $(prefix)/man ]; then if [ $(prefix) = / ]; then echo /usr/share/man; else echo $(prefix)/share/man; fi; else echo @mandir@; fi) - - TESTSUITE := $(shell test -e @srcdir@/tests && find @srcdir@/tests -type f ! -name '*~') - --EXTRA_DIST = generate-modprobe.conf FAQ CODING stress_modules.sh install-with-care $(SGML) $(man_MANS) $(TESTSUITE) -+EXTRA_DIST = generate-modprobe.conf FAQ CODING stress_modules.sh install-with-care - - sbin_PROGRAMS = insmod modprobe rmmod depmod modinfo - if BUILD_STATIC_UTILS diff --git a/meta/packages/module-init-tools/files/grab_module_memset.patch b/meta/packages/module-init-tools/files/grab_module_memset.patch deleted file mode 100644 index 9550255315..0000000000 --- a/meta/packages/module-init-tools/files/grab_module_memset.patch +++ /dev/null @@ -1,19 +0,0 @@ -# this patch is from Mark Hatle , 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 , 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 diff --git a/meta/packages/module-init-tools/files/ignore_arch_directory.patch b/meta/packages/module-init-tools/files/ignore_arch_directory.patch deleted file mode 100644 index 7b30824802..0000000000 --- a/meta/packages/module-init-tools/files/ignore_arch_directory.patch +++ /dev/null @@ -1,28 +0,0 @@ -# not sure the reason yet. Keep for a while and verify later. -# -# comments added by Kevin Tian , 2010-07-21 - -diff -ruN module-init-tools-3.12.orig/modprobe.8 module-init-tools-3.12/modprobe.8 ---- module-init-tools-3.12/modprobe.8.orig -+++ module-init-tools-3.12/modprobe.8 -@@ -27,6 +27,7 @@ - (see \fBmodprobe.conf\fR(5)). \fBmodprobe\fR will also use module - options specified on the kernel command line in the form of - \&.