1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2024-11-12 22:21:13 +00:00
prezto/plugins/dpkg/functions/dbb-build
2012-01-23 20:40:57 -05:00

11 lines
381 B
Plaintext

# Kernel-package building shortcut.
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