1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2024-11-20 10:51:13 +00:00
prezto/modules/dpkg/functions/dbb-build
2012-04-05 13:39:40 -04:00

18 lines
471 B
Plaintext

#
# Makes a dpkg Linux kernel package.
#
# Authors:
# Daniel Bolton <dbb@9y.com>
# Sorin Ionescu <sorin.ionescu@gmail.com>
#
MAKEFLAGS='' # Temporarily unset MAKEFLAGS ('-j3' will fail).
appendage='-custom' # Displayed in $(uname -r).
revision=$(date +"%Y%m%d") # Displayed in the dpkg package file name.
make-kpkg clean
time fakeroot make-kpkg --append-to-version "$appendage" --revision \
"$revision" kernel_image kernel_headers