Debian Codegraph @

HOWTO

raw
1 Here are the few commands you need to know in order to work with
2 module-assistant.
3
4 Updating the cached data
5 ========================
6
7 Do this every time after running "apt-get update", "dselect update", etc.
8 Run:
9
10 module-assistant update
11
12 Listing available packages
13 ==========================
14
15 For example, we look for available packages of ALSA. Run:
16
17 module-assistant list alsa
18
19 To extend the list to module packages precompiled by Debian maintainers,
20 replace "list" with "search".
21
22 To list all packages, just say "module-assistant list" (or
23 "module-assistant search"). If you wish to limit the list to the
24 packages of which you have the source installed, use "li" instead of
25 "list".
26
27 Preparing to compile the own packages
28 =====================================
29
30 Run:
31
32 module-assistant prepare
33
34 Building and installing packages for the own kernel
35 ===================================================
36
37 Assuming that there is no precompiled ALSA package available for your
38 kernel. Run:
39
40 module-assistant auto-install alsa
41
42 And be patient...
43
44 For more commands and options, see the manpage of module-assistant.
45
46 How to build and sign whole series of modules:
47 ==============================================
48
49 export SIGNCHANGES=1
50 export KPKG_DEST_DIR=/my/package/repository
51 export GNUPGHOME=~username/.gnupg
52 module-assistant get cdfs
53 module-assistant build cdfs -k "`ls -d /usr/src/linux-headers*`" -vt
54
55 alternatively, you can specify DEBSIGNCOMMAND and write your own script
56 to sign the changes files.