Giter Site home page Giter Site logo

builds's Introduction

Build the best of OpenPOWER platform virtualization

Considering the speed of the development of new features, or even Hardware is created in the OpenPOWER ecosystem, it's a challenge to get them in the traditional stable GNU/Linux distribution scenario.

open-power-host-os/builds repository is an open source collaboration effort that aims to help administrators to build and deploy the latest and greatest capabilities in the OpenPOWER world through a build script that provides software well packaged and designed for the Supported GNU/Linux distributions

Supported GNU/Linux distributions

  • CentOS 7.2 PPC64LE

Installation

RPM Based distributions

  • Install epel repository (Extra Packages for Enterprise Linux):
# sudo yum install --downloadonly --downloaddir=. epel-release
# sudo yum localinstall epel-release-7-5.noarch.rpm # Note the version may change.
  • Install
  • mock
  • PyYAML
  • git
  • python-pygit2
  • svn
  • bzip2
# sudo yum install -y mock PyYAML git python-pygit2 svn bzip2

Settings

  • Disable SMT
# sudo ppc64_cpu --smt=off
  • Setup environment and user
# sudo python setup_environment.py LOGIN

Naturally, you need to replace LOGIN by the user name you'll use to run host-os-build.py, which should not run using root user, even if that user doesn't exists yet.

Running

  • Build a single package
# python host-os-build.py --package libvirt
  • Build all software
# python host-os-build.py --verbose

Note the --verbose parameter to get all the log messages in the console. Instead of the standard ordinary messages. Please see --help for more options.

# python host-os-build.py --help

Using the RPMs

We decided that's is a little bit intrusive to install all the produced RPMs since some of them may not fit your needs. At the end of the process you'll see a new results directory inside this project's root.

A suggested set of packages tested is the following:
  • kernel
  • qemu
  • qemu-kvm-tools
  • qemu-system-ppc
  • qemu-guest-agent
  • qemu-system-x86
  • qemu-kvm
  • qemu-debuginfo
  • qemu-common
  • qemu-img
  • libseccomp
  • libvirt-daemon-kvm
  • libvirt-lock-sanlock
  • libvirt-docs
  • libvirt-daemon-driver-nodedev
  • libvirt-daemon-driver-interface
  • libvirt-daemon-driver-network
  • libvirt-daemon-qemu
  • libvirt
  • libvirt-nss
  • libvirt-devel
  • libvirt-debuginfo
  • libvirt-client
  • libvirt-daemon-driver-nwfilter
  • libvirt-daemon-driver-secret
  • libvirt-daemon-driver-qemu
  • libvirt-daemon-config-network
  • libvirt-daemon-lxc
  • libvirt-login-shell
  • libvirt-daemon
  • libvirt-daemon-config-nwfilter
  • libvirt-daemon-driver-storage
  • libvirt-daemon-driver-lxc
  • SLOF

You can use the following command to install, for instance, libseccomp's RPM:

# sudo yum localinstall result/libseccomp-2.3.1-0.el7.centos.1.ppc64le.rpm

Note that some of those packages are debuginfo which are recommended in order to provide useful information for bugs in the case of any failures.

Also no version is informed on the list above to make it valid even for future versions with minor version changes.

Validating

There is a whole repository dedicated to testing available at https://github.com/open-power-host-os/tests

builds's People

Contributors

maurorodrigues 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.