Package: aufs-source Version: 0+20080514-2.1calistelEtch1 Severity: normal Tags: patch
Hello, I've tried to compile aufs module from aufs-source package with make-kpkg from kernel-package v. 11.001-0.1 on an Etch computer in the same time I compiled a 2.6.25 linux kernel with custom patches. The compilation works, but generated package (aufs-modules-...) contains files from kernel (/lib/modules/<kvers>/modules.*, like modules.seriomap) which prevent this package to be installed along its linux-image-* package. I've looked at the aufs's debian/rules Makefile, and found that the installation command should be responsible of that. I've looked at other out-of-tree module sources, but didn't find a common way to install built .ko files, so I propose you a patch inspired from ov51x-jpeg-source I know a bit. I've tested modified sources with module-assistant with success. Fred. -- System Information: Debian Release: 4.0 APT prefers etch APT policy: (990, 'etch'), (990, 'stable'), (800, 'unstable'), (800, 'testing') Architecture: amd64 (x86_64) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.22-amd64 Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15) Versions of packages aufs-source depends on: ii bzip2 1.0.3-6 high-quality block-sorting file co ii debhelper 5.0.42 helper programs for debian/rules ii make 3.81-2 The GNU version of the "make" util ii module-assistant 0.10.8 tool to make module package creati aufs-source recommends no packages. -- no debconf information
diff -Naur aufs-0+20080514.orig/debian/rules aufs-0+20080514/debian/rules --- aufs-0+20080514.orig/debian/rules 2008-05-28 14:57:53.000000000 +0200 +++ aufs-0+20080514/debian/rules 2008-05-28 14:59:13.000000000 +0200 @@ -48,9 +48,11 @@ dh_clean -k # Build the module $(MAKE) -C $(KSRC) M=$(mdir) modules - $(MAKE) -C $(KSRC) M=$(mdir) modules_install \ - INSTALL_MOD_PATH=$(CURDIR)/debian/$(PKGNAME) \ - INSTALL_MOD_DIR=kernel/fs/aufs/ + dh_installdirs lib/modules/$(KVERS)/extra/aufs + install -m 0644 aufs.ko debian/$(PACKAGE)-$(KVERS)/lib/modules/$(KVERS)/extra/aufs/ +# $(MAKE) -C $(KSRC) M=$(mdir) modules_install \ +# INSTALL_MOD_PATH=$(CURDIR)/debian/$(PKGNAME) \ +# INSTALL_MOD_DIR=kernel/fs/aufs/ dh_installdocs dh_installchangelogs dh_compress