2012-02-01 05:37:51 +01:00
|
|
|
#
|
|
|
|
# Makes a dpkg Linux kernel package.
|
|
|
|
#
|
|
|
|
# Authors:
|
|
|
|
# Daniel Bolton <dbb@9y.com>
|
|
|
|
# Sorin Ionescu <sorin.ionescu@gmail.com>
|
|
|
|
#
|
|
|
|
|
2012-02-01 06:05:33 +01:00
|
|
|
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.
|
2011-10-12 05:13:58 +02:00
|
|
|
|
|
|
|
make-kpkg clean
|
|
|
|
|
|
|
|
time fakeroot make-kpkg --append-to-version "$appendage" --revision \
|
|
|
|
"$revision" kernel_image kernel_headers
|
|
|
|
|