1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50
|
cdfs-src for Debian
-------------------
To build the cdfs modules package, use the module-assistant utility.
Run:
m-a a-i cdfs
to generate the modules DEB package and install it
Other ways are:
- with make-kpkg (package: kernel-package):
To install, extract the
tarball in /usr/src, and create the modules packages with make-kpkg.
Then install with dpkg.
$ cd /usr/src
$ tar jxvf cdfs.tar.bz2
$ cd /usr/src/kernel-source-2.*
$ make-kpkg modules_image
$ ls -ltra ..
$ dpkg -i ../<NEW CREATED PACKAGE>
- building manually:
Alternatively, if you do not want to use make-kpkg or install the
whole kernel source, please install the essential development
packages and the kernel-headers-x.y.z-foo-bar package for your
kernel. For example:
$ apt-get install build-essential kernel-headers-x.y.z-foo-bar
# (where x.y.z-foo-bar matches exactly your kernel version, ie.
# 2.4.17-k7)
$ cd /usr/src
$ tar jxvf cdfs.tar.bz2
$ cd modules/cdfs
$ debian/rules kdist_image KSRC=/usr/src/kernel-headers-x.y.z-foo-bar KVERS=2.4.xy-foo-bar
$ cd /usr/src
$ ls -ltra
$ dpkg -i ../<NEW CREATED PACKAGE>
If you wish to patch the cdfs module into the kernel, read the
INSTALL file and use the patch.cdfs file from the debian/
subdirectory.
If you wish to generate a .changes file for the module package, use the
kdist rule instead of kdist_image or see the manpage of module-assistant
to work with it.
-- Eduard Bloch <blade@debian.org>, Thu, 15 Apr 2004 02:23:06 +0200
|