Re: 2.6.3-mm3

Joshua Kwan
2004-02-23T03:34:18Z

[-- Attachment #1: Type: text/plain, Size: 846 bytes --]

On Sun, Feb 22, 2004 at 05:22:00PM -0800, Andrew Morton wrote:
> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.3/2.6.3-mm2/

Rusty's patch 'add-MODULE_VERSION-macro.patch' is missing a change that
results in modules_install installing all of the modules AND their
constituent source files into /lib/modules. The change, which did appear
in Makefile.modpost correctly, follows here.

--- scripts/Makefile.modinst~ 2004-02-22 19:31:28.000000000 -0800
+++ scripts/Makefile.modinst 2004-02-22 19:31:49.000000000 -0800
@@ -9,7 +9,7 @@

#

-__modules := $(shell cat /dev/null $(wildcard $(MODVERDIR)/*.mod))
+__modules := $(shell head -q -n1 $(wildcard $(MODVERDIR)/*.mod))
modules := $(patsubst %.o,%.ko,$(wildcard $(__modules:.ko=.o)))

ifneq ($(filter-out $(modules),$(__modules)),)

--
Joshua Kwan

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 827 bytes --]