#!/bin/bash cd /usr/src/linux make-kpkg clean INSTALL_MOD_STRIP=1 CONCURRENCY_LEVEL=3 make-kpkg --initrd \ --append-to-version=-custom kernel_image kernel_headers modules_image
I put the script in my path and called it build-kernel, so I could use it with
sudo build-kernel
This made things easy.
No comments:
Post a Comment