mirror of
https://github.com/dcarrillo/prezto.git
synced 2025-06-14 11:51:42 +00:00
Rename dpkg functions
This commit is contained in:
17
modules/dpkg/functions/deb-kbuild
Normal file
17
modules/dpkg/functions/deb-kbuild
Normal file
@ -0,0 +1,17 @@
|
||||
#
|
||||
# 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
|
||||
|
Reference in New Issue
Block a user