Skip to content

kernel spec, config for vanilla kernel rpms from kernel.org

Notifications You must be signed in to change notification settings

ryanwoodsmall/kernel-rpm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 

Repository files navigation

kernel-rpm

kernel spec, config (based on fedora src.rpm) for upstream vanilla kernel rpms from kernel.org

built for and run/tested only on centos 7 x86_64

build

install deps and fetch files:

sudo yum -y install yum-utils rpm-build rpmdevtools
for i in ~/SPECS/kernel-* ; do
  spectool -g -A -R $i
  sudo yum-builddep -y $i
done

for 4.19:

mkdir -p ${HOME}/rpmbuild/{SPECS,SOURCES}
curl -kLo ${HOME}/rpmbuild/SPECS/kernel.spec https://raw.githubusercontent.com/ryanwoodsmall/kernel-rpm/master/rpm/SPECS/kernel-4.19.spec
spectool -g -A -R ${HOME}/rpmbuild/SPECS/kernel.spec
( time ( rpmbuild -ba --clean ${HOME}/rpmbuild/SPECS/kernel.spec ) ) 2>&1 | tee /tmp/kernelbuild.out

todo

  • detect and generate EFI grub.cfg
    • /boot/efi/EFI/centos/grub.cfg on default c7
  • probably need updated linux-firmware.spec from fedora as well

About

kernel spec, config for vanilla kernel rpms from kernel.org

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published