annotate debian/README.Debian @ 11:b904131a3807

Allow to build with kernel 2.6.27.git and 2.6.28-rc9
author AngelCarpintero
date Mon, 22 Dec 2008 04:32:52 +0000
parents 5f21a4dddc0c
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
5f21a4dddc0c Initial checkin
KennethLavrsen
parents:
diff changeset
1 I added as little glue as possible to the vloopback source to build with the
5f21a4dddc0c Initial checkin
KennethLavrsen
parents:
diff changeset
2 Debian kernel module tools kernel-package [0] or module-assistant [1]
5f21a4dddc0c Initial checkin
KennethLavrsen
parents:
diff changeset
3
5f21a4dddc0c Initial checkin
KennethLavrsen
parents:
diff changeset
4
5f21a4dddc0c Initial checkin
KennethLavrsen
parents:
diff changeset
5 kernel-package
5f21a4dddc0c Initial checkin
KennethLavrsen
parents:
diff changeset
6 ==============
5f21a4dddc0c Initial checkin
KennethLavrsen
parents:
diff changeset
7
5f21a4dddc0c Initial checkin
KennethLavrsen
parents:
diff changeset
8 kernel-package is a utility for building Linux kernel related Debian packages
5f21a4dddc0c Initial checkin
KennethLavrsen
parents:
diff changeset
9 just by running `make-kpkg kernel_image`
5f21a4dddc0c Initial checkin
KennethLavrsen
parents:
diff changeset
10
5f21a4dddc0c Initial checkin
KennethLavrsen
parents:
diff changeset
11 Documentation on building extra kernel modules like vloopback is in the
5f21a4dddc0c Initial checkin
KennethLavrsen
parents:
diff changeset
12 kernel-package package in `/usr/share/doc/kernel-package/README.modules`
5f21a4dddc0c Initial checkin
KennethLavrsen
parents:
diff changeset
13
5f21a4dddc0c Initial checkin
KennethLavrsen
parents:
diff changeset
14 Essentially, you must download the vloopback source, which comes with the
5f21a4dddc0c Initial checkin
KennethLavrsen
parents:
diff changeset
15 necessary Debian glue [2]
5f21a4dddc0c Initial checkin
KennethLavrsen
parents:
diff changeset
16
5f21a4dddc0c Initial checkin
KennethLavrsen
parents:
diff changeset
17 Now you can add to the `make-kpkg` command line `--added-modules
5f21a4dddc0c Initial checkin
KennethLavrsen
parents:
diff changeset
18 <vloopback_location> modules_image`
5f21a4dddc0c Initial checkin
KennethLavrsen
parents:
diff changeset
19
5f21a4dddc0c Initial checkin
KennethLavrsen
parents:
diff changeset
20 No matter where you downloaded vloopback, you can use the absolute path to the
5f21a4dddc0c Initial checkin
KennethLavrsen
parents:
diff changeset
21 source for <vloopback_location>
5f21a4dddc0c Initial checkin
KennethLavrsen
parents:
diff changeset
22
5f21a4dddc0c Initial checkin
KennethLavrsen
parents:
diff changeset
23 If you downloaded vloopback to `/usr/src/modules/<vloopback_source>s`', you can
5f21a4dddc0c Initial checkin
KennethLavrsen
parents:
diff changeset
24 use just <vloopback_source> for <vloopback_location>
5f21a4dddc0c Initial checkin
KennethLavrsen
parents:
diff changeset
25
5f21a4dddc0c Initial checkin
KennethLavrsen
parents:
diff changeset
26 When `make-kpkg` is finished, you should find
5f21a4dddc0c Initial checkin
KennethLavrsen
parents:
diff changeset
27 'vloopback-modules-<kernel_version>_<vloopback_version>+<kernel_revision>_<architecture>.deb'
5f21a4dddc0c Initial checkin
KennethLavrsen
parents:
diff changeset
28 in the directory below that which you ran `make-kpkg`
5f21a4dddc0c Initial checkin
KennethLavrsen
parents:
diff changeset
29
5f21a4dddc0c Initial checkin
KennethLavrsen
parents:
diff changeset
30 Use this package however you would ordinarily use a Debian package - for
5f21a4dddc0c Initial checkin
KennethLavrsen
parents:
diff changeset
31 instance: `dpkg -i
5f21a4dddc0c Initial checkin
KennethLavrsen
parents:
diff changeset
32 vloopback-modules-<kernel_version>_<vloopback_version>+<kernel_revision>_<architecture>.deb`
5f21a4dddc0c Initial checkin
KennethLavrsen
parents:
diff changeset
33
5f21a4dddc0c Initial checkin
KennethLavrsen
parents:
diff changeset
34
5f21a4dddc0c Initial checkin
KennethLavrsen
parents:
diff changeset
35 module-assistant
5f21a4dddc0c Initial checkin
KennethLavrsen
parents:
diff changeset
36 ================
5f21a4dddc0c Initial checkin
KennethLavrsen
parents:
diff changeset
37
5f21a4dddc0c Initial checkin
KennethLavrsen
parents:
diff changeset
38 The module-assistant tool helps users & package maintainers with managing
5f21a4dddc0c Initial checkin
KennethLavrsen
parents:
diff changeset
39 external kernel modules packaged for Debian
5f21a4dddc0c Initial checkin
KennethLavrsen
parents:
diff changeset
40
5f21a4dddc0c Initial checkin
KennethLavrsen
parents:
diff changeset
41 Documentation on building modules with module-assistant is in the
5f21a4dddc0c Initial checkin
KennethLavrsen
parents:
diff changeset
42 module-assistant package in `/usr/share/doc/module-assistant/HOWTO`
5f21a4dddc0c Initial checkin
KennethLavrsen
parents:
diff changeset
43
5f21a4dddc0c Initial checkin
KennethLavrsen
parents:
diff changeset
44 Essentially, you must download the vloopback source, as with kernel-package
5f21a4dddc0c Initial checkin
KennethLavrsen
parents:
diff changeset
45
5f21a4dddc0c Initial checkin
KennethLavrsen
parents:
diff changeset
46 Then you can run `module-assistant build <vloopback_source>`
5f21a4dddc0c Initial checkin
KennethLavrsen
parents:
diff changeset
47
5f21a4dddc0c Initial checkin
KennethLavrsen
parents:
diff changeset
48 It's not yet clear to me whether you must download vloopback to
5f21a4dddc0c Initial checkin
KennethLavrsen
parents:
diff changeset
49 `/usr/src/module/<vloopback_source>`, whether you can use
5f21a4dddc0c Initial checkin
KennethLavrsen
parents:
diff changeset
50 `MODULE_LOC=<other_path> module-assistant build <vloopback_source>` if
5f21a4dddc0c Initial checkin
KennethLavrsen
parents:
diff changeset
51 vloopback is downloaded to `<other_path>/<vloopback_source` or whether you can
5f21a4dddc0c Initial checkin
KennethLavrsen
parents:
diff changeset
52 run `module-assistant build <other_path>/<vloopback_source>`
5f21a4dddc0c Initial checkin
KennethLavrsen
parents:
diff changeset
53
5f21a4dddc0c Initial checkin
KennethLavrsen
parents:
diff changeset
54 Consult the module-assistant documentation or contact the module-assistant
5f21a4dddc0c Initial checkin
KennethLavrsen
parents:
diff changeset
55 maintainer for more information
5f21a4dddc0c Initial checkin
KennethLavrsen
parents:
diff changeset
56
5f21a4dddc0c Initial checkin
KennethLavrsen
parents:
diff changeset
57 -- Jack Bates <ms419@freezone.co.uk>
5f21a4dddc0c Initial checkin
KennethLavrsen
parents:
diff changeset
58
5f21a4dddc0c Initial checkin
KennethLavrsen
parents:
diff changeset
59 [0] http://packages.debian.org/kernel-package
5f21a4dddc0c Initial checkin
KennethLavrsen
parents:
diff changeset
60 [1] http://packages.debian.org/module-assistant
5f21a4dddc0c Initial checkin
KennethLavrsen
parents:
diff changeset
61 [2] http://www.lavrsen.dk/twiki/bin/view/Motion/VideoFourLinuxLoopbackDevice