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