]>
Commit | Line | Data |
---|---|---|
fef4fb4a LO |
1 | Scripts placed in this directory get called one at a time by run-parts(8). |
2 | The scripts are expected to perform some sort of sanity checks on the | |
3 | finished build. Scripts will be called once for each flavour. | |
4 | ||
5 | Some environment variables are exported to make life a little easier: | |
6 | ||
7 | DPKG_ARCH : The dpkg architecture (e.g. "amd64") | |
8 | KERN_ARCH : The kernel architecture (e.g. "x86_64") | |
9 | FLAVOUR : The specific flavour for this run (e.g. "generic") | |
10 | VERSION : The full version of this build (e.g. 2.6.22-1) | |
11 | REVISION : The exact revision of this build (e.g. 1.3) | |
12 | PREV_REVISION : The revision prior to this one | |
13 | ABI_NUM : The specific ABI number for this build (e.g. 2) | |
14 | PREV_ABI_NUM : The previous ABI number. Can be the same as ABI_NUM. | |
15 | BUILD_DIR : The directory where this build took place | |
16 | INSTALL_DIR : The directory where the package is prepared | |
17 | SOURCE_DIR : Where the main kernel source is | |
18 | ||
19 | Scripts are expected to have a zero exit status when no problems occur, | |
20 | and non-zero when an error occurs that should stop the build. Scripts | |
21 | should print whatever info they deem needed to deduce the problem. |