1234567891011121314151617181920 |
- #!/bin/bash
- release=$(make kernelrelease)
- export INSTALL_PATH=./${release}/boot
- export INSTALL_MOD_PATH=./${release}
- mkdir -p ${release}/boot
- make modules_install install
- rm -r ${release}/boot/vmlinux-${release}
- rm -r ${release}/lib/modules/${release}/build
- rm -r ${release}/lib/modules/${release}/source
- cp COPYING ${release}
- tar -cf - ${release} | xz -9 -e - > linux-${release}.tar.xz
- rm -rf ${release}
- gpg -o linux-${release}.tar.xz.sig -ab linux-${release}.tar.xz
|