GithubHelp home page GithubHelp logo

ryanwoodsmall / kernel-rpm Goto Github PK

View Code? Open in Web Editor NEW
10.0 4.0 5.0 733 KB

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

Roff 99.93% Shell 0.07%
linux linux-kernel kernel kernel-spec rpm rpm-spec rpm-packages

kernel-rpm's Introduction

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

kernel-rpm's People

Contributors

ryanwoodsmall avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

kernel-rpm's Issues

Any chance for a .spec for 5.10

Thanks for this project, first of all! These minimalistic specs are very helpful!

I wonder: is it possible to add a .spec for 5.10? The issue is that when I build 5.10 with the 5.4 .spec, the resulting package is over 1 GB in size for some reason. While for 5.4 it's just over 80 MB. The configs are very similar. It seems like some stuff from 5.10 build is not getting cleaned up.

Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.