Giter Site home page Giter Site logo

kernel-obs-build's Introduction

kernel-obs-build

OBS build kernels for non-SUSE distributions

The OBS can use the distribution's kernel for build VMs, however it needs to be prepared for this task. So for newer SUSE distributions, there is a package kernel-obs-build, which does exactly that.

Basically the original kernel is copied to

/.build.kernel.kvm  # KVM worker version, usually kernel-default

and an initrd .build.initrd.kvm is created.

These spec files here try to do the same for non-SUSE distributions.

Note that I have split kernel-obs-build into two packages: kernel-obs-build and dracut-obs-build, with the former BuildRequiring the latter. This is to avoid the need of root rights for rpm building, which needs admin access to your build service installation.

So how to use this? Create a package kernel-obs-build in your project, add the .spec and .changes files and commit. The two packages should now build one after another. Then edit your project config with osc meta prjconf -e yourproject and add the line VMInstall: obs-kernel-build. From now on, the distro kernel is used for building.

Good Luck :-)

Notes

  • your build service installation needs to be new enough to support the multibuild feature
  • previous versions tried to build XEN kernels/initrds, too, but I never succeeded in actually getting them to work, at least with CentOS-7, so I dropped them. The OBS reference installation also uses only KVM workers, so just go for that :-)

kernel-obs-build's People

Contributors

seife avatar

Stargazers

 avatar

Watchers

 avatar

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.