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>
|
|
|
|
#
|
|
|
|
|
2011-10-12 05:13:58 +02:00
|
|
|
MAKEFLAGS='' # Temporarily unset MAKEFLAGS ( '-j3' will fail ).
|
|
|
|
appendage='-custom' # This shows up in $ (uname -r ).
|
|
|
|
revision=$(date +"%Y%m%d") # This shows up in the .deb file name.
|
|
|
|
|
|
|
|
make-kpkg clean
|
|
|
|
|
|
|
|
time fakeroot make-kpkg --append-to-version "$appendage" --revision \
|
|
|
|
"$revision" kernel_image kernel_headers
|
|
|
|
|