From b376a803cac9c6403ce7ddf2a4a479292ec9ba85 Mon Sep 17 00:00:00 2001 From: Kevin Tian Date: Wed, 21 Jul 2010 13:21:49 +0800 Subject: module-init-tools: upgrade to 3.12 [Patches] KEEP _ignore_arch_directory_: ignore /etc/modprobe.d/arch, not sure reason now. keep it and to be verified later REMOVE _module-init-tools-remove-index.patch_: in upstream NEW _disable_man.patch_: a simpler patch to replace below removed two REMOVE _manpagesopt_: due to above new patch REMOVE _no_man_rebuild_: ditto KEEP _modutils_extension_: poky has its own name convention and thus need such knowledge in code [Recipe] - adjust indention - remove some old lines like ${S} and EXTRA_OECONF Signed-off-by: Kevin Tian --- .../module-init-tools/files/disable_man.patch | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 meta/packages/module-init-tools/files/disable_man.patch (limited to 'meta/packages/module-init-tools/files/disable_man.patch') diff --git a/meta/packages/module-init-tools/files/disable_man.patch b/meta/packages/module-init-tools/files/disable_man.patch new file mode 100644 index 0000000000..daf58248b1 --- /dev/null +++ b/meta/packages/module-init-tools/files/disable_man.patch @@ -0,0 +1,23 @@ +# 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 -- cgit v1.2.3