Package: omfs Version: 0.8.0-1 Using module-assistant the build of the omfs kernel module fails with:
# module-assistant -v -f -t -k /tmp/build_kernel/raw-kernel-2.6.26/debian/raw-kernel-headers-2.6.26/usr/src/linux-headers-2.6.26 -u /tmp/build_kernel build omfs Warning: sudo not found. Automatic package installations not possible! unpack Extracting the package tarball, /usr/src/omfs.tar.bz2, please wait... action tar --bzip2 -x -f /usr/src/omfs.tar.bz2 tar --bzip2 -x -f /usr/src/omfs.tar.bz2 "/usr/share/modass/overrides/omfs-source" build KVERS=2.6.26 KSRC=/tmp/build_kernel/raw-kernel-2.6.26/debian/raw-kernel-headers-2.6.26/usr/src/linux-headers-2.6.26 kdist_image fakeroot debian/rules kdist_clean dh_clean /usr/bin/make clean make[1]: Entering directory `/tmp/build_kernel/usr_src/modules/omfs' /usr/bin/make -C /lib/modules/2.6.26/build M=/tmp/build_kernel/usr_src/modules/omfs clean make: Entering an unknown directory make: *** /lib/modules/2.6.26/build: No such file or directory. Stop. : : This happens only if the kernel-headers are not installed yet. Attached you can find a patch. Hope this helps. Regards Harri
diff -ur omfs-0.8.0.orig/debian/changelog omfs-0.8.0/debian/changelog --- omfs-0.8.0.orig/debian/changelog 2008-07-20 11:19:16.000000000 +0200 +++ omfs-0.8.0/debian/changelog 2008-07-20 11:09:59.000000000 +0200 @@ -1,3 +1,10 @@ +omfs (0.8.0-1.1) unstable; urgency=low + + * Non-maintainer upload. + * set KERNELDIR for "debian/rules clean" + + -- Harald Dunkel <[EMAIL PROTECTED]> Sun, 20 Jul 2008 11:09:19 +0200 + omfs (0.8.0-1) unstable; urgency=low * New upstream release diff -ur omfs-0.8.0.orig/debian/rules omfs-0.8.0/debian/rules --- omfs-0.8.0.orig/debian/rules 2008-07-20 11:19:16.000000000 +0200 +++ omfs-0.8.0/debian/rules 2008-07-20 11:18:03.000000000 +0200 @@ -31,7 +31,7 @@ endif kdist_clean: dh_clean - $(MAKE) clean + $(MAKE) KERNELDIR="$(KSRC)" clean # prep-deb-files rewrites the debian/ files as needed. See RATIONALE for # details kdist_config: prep-deb-files