Make RPMs from upstream kernel easy.
- python for run kernel-package
- rpmbuild for make src.rpm
- mock for make rpms from src.rpm
- git for get upstream Linus sources
- Clone Linus git tree
- Change dir to clonned repo
- (OPTIONAL) Put custom config-local, patches to sources/ directory
- Start utility
- Make RPMs
- Install RPMs
$ git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
$ cd linux
$ /path/to/kernel-package.py
$ mock -r fedora-19-x86_64 --rebuild sources/*.src.rpm --resultdir sources/rpms
# yum install sources/rpms/*.rpm
Use /path/to/kernel-package.py -h for get help about options
- Support linux-stable git tree. I don't like to support.