ketchup1
Utility to update the kernel source
Usage
ketchup [options]
<ver>
Overview
This tool synchronises a local kernel tree with a desired kernel version and patch set from a kernel.org mirror. The default requires a GPG key on your keyring, to verify the identity of the patches and source archives. Entire kernel images are not downloaded unless necessary, so bandwidth is saved. Patches are applied and removed as necessary to attain the requested version.
Options
-a --archive (~/.ketchup)
-
cache directory
-d --directory (.)
-
directory to update
-f --full-tarball
-
if unpacking a tarball, download the latest
-g --gpg-path (/usr/bin/gpg)
-
path for GnuPG
-G --no-gpg
-
disable GPG signature verification
-k --kernel-url (http://www.kernel.org/pub/linux/kernel)
-
base url for kernel.org mirror
-l --list-trees
-
list supported trees
-m --show-makefile
-
output version in makefile <arg>
-n --dry-run
-
don't download or apply patches
-o --only-dl
-
don't apply patches
-p --show-previous
-
output version previous to <arg>
-q --quiet
-
reduce output
-r --rename-directory
-
rename updated directory to linux-<v>
-s --show-latest
-
output the latest version of <arg>
-u --show-url
-
output URL for <arg>
-w --wget (/usr/bin/wget)
-
command to use for wget
Configuration
Ketchup will read files named .ketchuprc in $HOME and in the target kernel directory, with the kernel directory taking precedence.
A .ketchuprc file uses the Python syntax and may set the following variables:
default_tree
-
The
default_treeoption specifies the kernel version to work with if one is not given on the command line.
precommand
-
The
precommandoption specifies a command to run before synchronising the kernel tree to the required version.
postcommand
-
The
postcommandoption specifies a command to run after synchronising the kernel tree to the required version.
Releases
7 releases since Debian 4.0 (Etch); the text changed 2 times.