Meego Wiki
Views

Getting started with OBS

From MeeGo wiki
(Difference between revisions)
Jump to: navigation, search
(unnecessary)
(Pre-requisites: osc install)
Line 9: Line 9:
* You need to be running one of the supported OSes (see list here: http://download.opensuse.org/repositories/openSUSE:/Tools/)
* You need to be running one of the supported OSes (see list here: http://download.opensuse.org/repositories/openSUSE:/Tools/)
-
* Install osc (apt-get install osc) - need to add note about whether a repo needs to be added to your build machine to be able to find this package.
+
* Install osc (for example, <code>apt-get install osc</code> may work out-of-the-box on recent versions of Ubuntu & Debian)
-
 
+
=Setting up your home project=
=Setting up your home project=

Revision as of 14:08, 22 June 2011

The Meego Online Build System (OBS) seems rather complicated, this page will attempt to make it nice and easy to get started.

It's a work in progress, feel free to add and modify!


Contents

Pre-requisites

  • Install osc (for example, apt-get install osc may work out-of-the-box on recent versions of Ubuntu & Debian)

Setting up your home project

Your home project is like a home directory in which you can create sub-projects, repositories, etc.


Setting up a sub-project

  • In the overview tab, click on Actions and select "Create subproject".

Adding files to a sub-project and building them

From the terminal:

  • Checkout your empty project (like SVN)
  • Add files to your local copy
    • For Meego this will be a .spec file and a tarball containing your source code, etc.
    • For Harmattan this will be a .dsc file, source tarball plus debian.tar.gz (this allows one to keep the debian directory out of the source)
  • Commit the files
    • At this point the OBS will try to build your project remotely
    • To build locally you can do the following: osc build

Using the webinterface:

  • Add the correct files as listed above and they will be automatically built for you
Personal tools