Giter Site home page Giter Site logo

uoitsci / sbuild-formula Goto Github PK

View Code? Open in Web Editor NEW

This project forked from saltstack-formulas/sbuild-formula

1.0 2.0 0.0 7 KB

Saltstack Formula to configure sbuild

Home Page: http://docs.saltstack.com/en/latest/topics/development/conventions/formulas.html

License: Other

SaltStack 100.00%

sbuild-formula's Introduction

sbuild

This formula makes it easy to configure sbuild and the associated build chroots. It relies on schroot-formula and debootstrap-formula to setup the required build chroots.

Available states

Create chroots described in pillar data below sbuild:chroots. The chroot description is an extension of the pillar data used by schroot-formula and debootstrap-formula (check their documentation to learn the basics) with the following changes:

  • The chroot name (as registered in schroot) is generated with the <identifier>-<architecture>-sbuild template (where identifier is the name of the top-level key).
  • dist_aliases defaults to True
  • short_alias defaults to False
  • The default schroot configuration is modified so that users in the sbuild group have full access to the chroots and so that builds use a temporary aufs overly.

Here's a quick sample:

sbuild:
  basedir: /srv/sbuild
  chroots:
    sid:                          # the base distribution
      vendor: debian              # the name of the vendor
      architectures:
        - amd64
        - i386
      extra_dists:                # extra APT repositories to enable
        - experimental
      with_source: True           # include deb-src entries in sources.list
    jessie:
      ...

Ensure that sbuild is installed and that the base directory hosting chroots exists. In general, there's no reason to use this state directly. The fact that it is separated from sbuild is only due to an implementation detail.

Configuration

See the pillar.example file to have an idea of everything that can be customized in this formula.

sbuild-formula's People

Contributors

nmadhok avatar rhertzog avatar

Stargazers

 avatar

Watchers

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