Git Product home page Git Product logo

kernel-package's Introduction

kernel-package

Make RPMs from upstream kernel easy.

Requirements

  • python for run kernel-package
  • rpmbuild for make src.rpm
  • mock for make rpms from src.rpm
  • git for get upstream Linus sources

How to use

  1. Clone Linus git tree
  2. Change dir to clonned repo
  3. (OPTIONAL) Put custom config-local, patches to sources/ directory
  4. Start utility
  5. Make RPMs
  6. 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

Options

Use /path/to/kernel-package.py -h for get help about options

Known issues

  • Support linux-stable git tree. I don't like to support.

kernel-package's People

Contributors

ignatenkobrain avatar ashh87 avatar

Stargazers

Anthony Rabbito avatar Volodymyr Lisivka avatar Neal Gompa (ニール・ゴンパ) avatar  avatar Cody Schafer avatar

Watchers

Elia Pinto avatar Pavel Alexeev aka Pahan-Hubbitus avatar James Cloos avatar Björn Esser avatar  avatar Brian Read avatar

kernel-package's Issues

tag isn't an rc

After getting the script to run and build me a kernel package, I tried to use it to do a git bisect. Unfortunately it got to the stage where it was looking at a tag labelled v3.X, rather than v3.X-rcY, which stopped the script from working. I'm not yet quite sure what the script is really doing, so I'm not sure how to fix this one myself :(

Fails during bisect attempt

I am trying to do a bisect as per:
https://fedoraproject.org/wiki/User:Ignatenkobrain/Kernel/Bisection
However when I run the kernel-package.py I get this:

 ~/bisect/kernel-package/kernel-package.py
Traceback (most recent call last):
File "/home/brianr/bisect/kernel-package/kernel-package.py", line 350, in
main()
File "/home/brianr/bisect/kernel-package/kernel-package.py", line 338, in main
options = Options(WORK_DIR)
File "/home/brianr/bisect/kernel-package/kernel-package.py", line 76, in init
self._get_configs()
File "/home/brianr/bisect/kernel-package/kernel-package.py", line 80, in _get_configs
tree = urlgrabber.urlread("{}/tree/".format(self.git_url))
File "/usr/lib/python2.7/site-packages/urlgrabber/grabber.py", line 755, in urlread
return default_grabber.urlread(url, limit, **kwargs)
File "/usr/lib/python2.7/site-packages/urlgrabber/grabber.py", line 1211, in urlread
s = self._retry(opts, retryfunc, url, limit)
File "/usr/lib/python2.7/site-packages/urlgrabber/grabber.py", line 1064, in _retry
r = apply(func, (opts,) + args, {})
File "/usr/lib/python2.7/site-packages/urlgrabber/grabber.py", line 1194, in retryfunc
fo = PyCurlFileObject(url, filename=None, opts=opts)
File "/usr/lib/python2.7/site-packages/urlgrabber/grabber.py", line 1259, in init
self._do_open()
File "/usr/lib/python2.7/site-packages/urlgrabber/grabber.py", line 1599, in _do_open
self._do_grab()
File "/usr/lib/python2.7/site-packages/urlgrabber/grabber.py", line 1737, in _do_grab
raise e
urlgrabber.grabber.URLGrabError: [Errno 14] HTTP Error 403 - Forbidden

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.