This repository has been archived on 2022-03-28. You can view files and clone it, but cannot push or open issues or pull requests.
prezto/modules/dpkg/functions/deb-kbuild

18 lines
471 B
Plaintext
Raw Normal View History

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