ketchup (1) Linux Manual Page
ketchup – Utility to update the kernel source
Synopsis
ketchup [options] <ver>Description
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 (/home/baruch/.ketchup)
- cache directory
- cache directory
- -d –directory (.)
- directory to update
- directory to update
- -f –full-tarball
- if unpacking a tarball, download the latest
- if unpacking a tarball, download the latest
- -g –gpg-path (/usr/bin/gpg)
- path for GnuPG
- path for GnuPG
- -G –no-gpg
- disable GPG signature verification
- disable GPG signature verification
- -k –kernel-url (http://www.kernel.org/pub/linux/kernel)
- base url for kernel.org mirror
- base url for kernel.org mirror
- -l –list-trees
- list supported trees
- list supported trees
- -m –show-makefile
- output version in makefile <arg>
- output version in makefile <arg>
- -n –dry-run
- don’t download or apply patches
- don’t download or apply patches
- -p –show-previous
- output version previous to <arg>
- output version previous to <arg>
- -q –quiet
- reduce output
- reduce output
- -r –rename-directory
- rename updated directory to linux-<v>
- rename updated directory to linux-<v>
- -s –show-latest
- output the latest version of <arg>
- output the latest version of <arg>
- -u –show-url
- output URL for <arg>
- 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_tree option specifies the kernel version to work with if one is not given on the command line.
- The default_tree option specifies the kernel version to work with if one is not given on the command line.
- precommand
- The precommand option specifies a command to run before synchronising the kernel tree to the required version.
- The precommand option specifies a command to run before synchronising the kernel tree to the required version.
- postcommand
- The postcommand option specifies a command to run after synchronising the kernel tree to the required version.
Author
ketchup was written by Matt Mackall <mpm [at] selenic.com>.This manual page was written by Baruch Even <baruch [at] debian.org>, for the Debian project (but may be used by others). Description text taken from a former packaging attempt of Jack Wasey <debian [at] jackwasey.com>.
