1KETCHUP(1) General Commands Manual KETCHUP(1)
2
3
4
6 ketchup - Utility to update the kernel source
7
9 ketchup [options] <ver>
10
12 This tool synchronises a local kernel tree with a desired kernel ver‐
13 sion and patch set from a kernel.org mirror. The default requires a GPG
14 key on your keyring, to verify the identity of the patches and source
15 archives. Entire kernel images are not downloaded unless necessary, so
16 bandwidth is saved. Patches are applied and removed as necessary to
17 attain the requested version.
18
20 -a --archive (~/.ketchup)
21
22 cache directory
23
24 -d --directory (.)
25
26 directory to update
27
28 -f --full-tarball
29
30 if unpacking a tarball, download the latest
31
32 -g --gpg-path (/usr/bin/gpg)
33
34 path for GnuPG
35
36 -G --no-gpg
37
38 disable GPG signature verification
39
40 -k --kernel-url (http://www.kernel.org/pub/linux/kernel)
41
42 base url for kernel.org mirror
43
44 -l --list-trees
45
46 list supported trees
47
48 -m --show-makefile
49
50 output version in makefile <arg>
51
52 -n --dry-run
53
54 don't download or apply patches
55
56 -o --only-dl
57
58 don't apply patches
59
60 -p --show-previous
61
62 output version previous to <arg>
63
64 -q --quiet
65
66 reduce output
67
68 -r --rename-directory
69
70 rename updated directory to linux-<v>
71
72 -s --show-latest
73
74 output the latest version of <arg>
75
76 -u --show-url
77
78 output URL for <arg>
79
80 -w --wget (/usr/bin/wget)
81
82 command to use for wget
83
85 Ketchup will read files named .ketchuprc in $HOME and in the target
86 kernel directory, with the kernel directory taking precedence.
87
88 A .ketchuprc file uses the Python syntax and may set the following
89 variables:
90
91 default_tree
92
93 The default_tree option specifies the kernel version to work
94 with if one is not given on the command line.
95
96 precommand
97
98 The precommand option specifies a command to run before synchro‐
99 nising the kernel tree to the required version.
100
101 postcommand
102
103 The postcommand option specifies a command to run after synchro‐
104 nising the kernel tree to the required version.
105
107 ketchup was written by Matt Mackall <mpm@selenic.com>.
108
109 This manual page was written by Baruch Even <baruch@debian.org>, for
110 the Debian project (but may be used by others). Description text taken
111 from a former packaging attempt of Jack Wasey <debian@jackwasey.com>.
112
113
114
115 February 16, 2010 KETCHUP(1)