<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://wiki.meego.com/skins/common/feed.css?270"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://wiki.meego.com/index.php?title=Special:Contributions/Fvennetier&amp;feed=atom&amp;limit=50&amp;target=Fvennetier&amp;year=&amp;month=</id>
		<title>MeeGo wiki - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="http://wiki.meego.com/index.php?title=Special:Contributions/Fvennetier&amp;feed=atom&amp;limit=50&amp;target=Fvennetier&amp;year=&amp;month="/>
		<link rel="alternate" type="text/html" href="http://wiki.meego.com/Special:Contributions/Fvennetier"/>
		<updated>2013-05-24T22:22:42Z</updated>
		<subtitle>From MeeGo wiki</subtitle>
		<generator>MediaWiki 1.16.2</generator>

	<entry>
		<id>http://wiki.meego.com/Obstag</id>
		<title>Obstag</title>
		<link rel="alternate" type="text/html" href="http://wiki.meego.com/Obstag"/>
				<updated>2012-06-12T13:26:00Z</updated>
		
		<summary type="html">&lt;p&gt;Fvennetier: Replaced content with &amp;quot;OBS Light has moved! It's now located at openSUSE:
[http://en.opensuse.org/openSUSE:OBS_Light_Obstag http://en.opensuse.org/openSUSE:OBS_Light_Obstag]&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;OBS Light has moved! It's now located at openSUSE:&lt;br /&gt;
[http://en.opensuse.org/openSUSE:OBS_Light_Obstag http://en.opensuse.org/openSUSE:OBS_Light_Obstag]&lt;/div&gt;</summary>
		<author><name>Fvennetier</name></author>	</entry>

	<entry>
		<id>http://wiki.meego.com/OBS_Light_Manual</id>
		<title>OBS Light Manual</title>
		<link rel="alternate" type="text/html" href="http://wiki.meego.com/OBS_Light_Manual"/>
				<updated>2012-06-12T12:34:48Z</updated>
		
		<summary type="html">&lt;p&gt;Fvennetier: Replaced content with &amp;quot;OBS Light has moved! It's now located at openSUSE:
[http://en.opensuse.org/openSUSE:OBS_Light_Manual http://en.opensuse.org/openSUSE:OBS_Light_Manual]&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;OBS Light has moved! It's now located at openSUSE:&lt;br /&gt;
[http://en.opensuse.org/openSUSE:OBS_Light_Manual http://en.opensuse.org/openSUSE:OBS_Light_Manual]&lt;/div&gt;</summary>
		<author><name>Fvennetier</name></author>	</entry>

	<entry>
		<id>http://wiki.meego.com/OBS_Light_FAQ</id>
		<title>OBS Light FAQ</title>
		<link rel="alternate" type="text/html" href="http://wiki.meego.com/OBS_Light_FAQ"/>
				<updated>2012-06-12T12:33:57Z</updated>
		
		<summary type="html">&lt;p&gt;Fvennetier: Replaced content with &amp;quot;OBS Light has moved! It's now located at openSUSE:
[http://en.opensuse.org/openSUSE:OBS_Light_FAQ http://en.opensuse.org/openSUSE:OBS_Light_FAQ]&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;OBS Light has moved! It's now located at openSUSE:&lt;br /&gt;
[http://en.opensuse.org/openSUSE:OBS_Light_FAQ http://en.opensuse.org/openSUSE:OBS_Light_FAQ]&lt;/div&gt;</summary>
		<author><name>Fvennetier</name></author>	</entry>

	<entry>
		<id>http://wiki.meego.com/OBS_Light_Installation</id>
		<title>OBS Light Installation</title>
		<link rel="alternate" type="text/html" href="http://wiki.meego.com/OBS_Light_Installation"/>
				<updated>2012-06-12T12:33:10Z</updated>
		
		<summary type="html">&lt;p&gt;Fvennetier: Replaced content with &amp;quot;OBS Light has moved! It's now located at openSUSE:
[http://en.opensuse.org/openSUSE:OBS_Light_Installation http://en.opensuse.org/openSUSE:OBS_Light_Installation]&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;OBS Light has moved! It's now located at openSUSE:&lt;br /&gt;
[http://en.opensuse.org/openSUSE:OBS_Light_Installation http://en.opensuse.org/openSUSE:OBS_Light_Installation]&lt;/div&gt;</summary>
		<author><name>Fvennetier</name></author>	</entry>

	<entry>
		<id>http://wiki.meego.com/OBS_Light</id>
		<title>OBS Light</title>
		<link rel="alternate" type="text/html" href="http://wiki.meego.com/OBS_Light"/>
				<updated>2012-06-12T12:31:36Z</updated>
		
		<summary type="html">&lt;p&gt;Fvennetier: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;OBS Light has moved! It's now located at openSUSE:&lt;br /&gt;
[http://en.opensuse.org/openSUSE:OBS_Light http://en.opensuse.org/openSUSE:OBS_Light]&lt;/div&gt;</summary>
		<author><name>Fvennetier</name></author>	</entry>

	<entry>
		<id>http://wiki.meego.com/OBS_Light</id>
		<title>OBS Light</title>
		<link rel="alternate" type="text/html" href="http://wiki.meego.com/OBS_Light"/>
				<updated>2012-06-12T12:21:08Z</updated>
		
		<summary type="html">&lt;p&gt;Fvennetier: Replaced content with &amp;quot;#REDIRECT [http://en.opensuse.org/openSUSE:OBS_Light]&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [http://en.opensuse.org/openSUSE:OBS_Light]&lt;/div&gt;</summary>
		<author><name>Fvennetier</name></author>	</entry>

	<entry>
		<id>http://wiki.meego.com/OBS_Light_FAQ</id>
		<title>OBS Light FAQ</title>
		<link rel="alternate" type="text/html" href="http://wiki.meego.com/OBS_Light_FAQ"/>
				<updated>2012-05-31T16:59:37Z</updated>
		
		<summary type="html">&lt;p&gt;Fvennetier: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Frequently Asked Questions =&lt;br /&gt;
== Where does ''obslight'' store its data? ==&lt;br /&gt;
All data is stored in '''~/OBSLight''' and subdirectories.&lt;br /&gt;
&lt;br /&gt;
Each OBS project has its own directory in '''~/OBSLight/ObsProjects/''', each MIC project has its own directory in '''~/OBSLight/MicProjects/'''.&lt;br /&gt;
&lt;br /&gt;
== Is there a configuration file ? ==&lt;br /&gt;
Configuration file is '''~/OBSLight/ObslightConfig'''.&lt;br /&gt;
&lt;br /&gt;
== How do I run OBS light server appliance on my Desktop ? ==&lt;br /&gt;
While running an OBS Light appliance is simple and easy and just requires 1GB of RAM allocated to the virtual machine, running an OBS server appliance can be much more demanding but running the OBS server server appliance on your desktop or laptop (a minimum 4GB of RAM is mandatory) via a virtual machine can be very handy during evaluation tests.&amp;lt;br/&amp;gt;&lt;br /&gt;
The main advantage is that you do not need a special authorisation from your IT department to start playing but you need to allocate at least 2GB to the appliance and as many CPU cores that you can spare. You need to patch on the OBS server appliance ''(need to be root)'' the file '''/etc/sysconfig/obs-worker''' to set the variable OBS_WORKER_INSTANCES to 1 (default is zero) to limit the RAM resources requires by your appliance during build process.&lt;br /&gt;
If you plan to build large packages such as Chromium you will need more than 2GB of RAM allocated (actually on my desktop I have 16GB). &amp;lt;br/&amp;gt;&lt;br /&gt;
You can overcome that limit with the addition of an obsworker appliance on a separate server. OBS Light project provides one pre-configured to work with and OBS Light server appliance.&amp;lt;br/&amp;gt;&lt;br /&gt;
If you use the Bridge mode, external OBS work appliance will be detected and used automatically (NAT more would require a complex configuration). The Worker can be running on a more powerfull unit and speed the preparation work before for example leaving the office with a complete fully built project on a laptop.&lt;br /&gt;
You can stop the worker on the laptop by the command '''rcobsworker stop''' ''(need to be root)''. You can check that your OBS Worker appliance can see your OBS Light Server Appliance with the command '''slptool findsrvs obs.source_server'''&amp;lt;br/&amp;gt;&lt;br /&gt;
As a general rule using the bridge mode is advisable. Note ''this is '''not''' the default option of VirtualBox''.&lt;br /&gt;
The NAT mode is interesting to run an OBS Light server via a VPN or for unconnected demos. In that case you will need to declare NAT rules in your Vitual Machine Manager redirecting the ports 80, 81 and 82 from your local host to your OBS appliance internal NAT address ''(with VitualBox under Linux rerouting port bellow 1000 is reserved for root only)''.&amp;lt;br/&amp;gt;&lt;br /&gt;
Do not forget to add a host name &amp;quot;obslightserver&amp;quot; in your workstation pointing to the OBS Light server appliance IP address or localhost in the case of a NAT configuration.&lt;br /&gt;
&lt;br /&gt;
== How to show the log ? ==&lt;br /&gt;
* From the menu: ''Window'' -&amp;gt; ''Show log''&lt;br /&gt;
* When a long operation is running, there is a button under the progress bar.&lt;br /&gt;
* A log file is written in &amp;lt;tt&amp;gt;~/OBSLight/obslight.log&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== Why does MeeGo's '''kernel''' package fail to build for ARM? ==&lt;br /&gt;
The '''kernel''' package has flags to prevent builds on ARM.&lt;br /&gt;
To compile an ARM kernel, you must use another package, for example the '''kernel-adaptation-n900''' package.&lt;br /&gt;
&lt;br /&gt;
== How install the dependency of a package into the project filesystem? ==&lt;br /&gt;
If the project on your OBS doesn’t provide some dependencies and you must add a repository to your project filesystem's zypper configuration, you have two choices:&lt;br /&gt;
* First one, use an URL and an alias:&lt;br /&gt;
 ## obslight filesystem repositories add &amp;lt;repository_url&amp;gt; &amp;lt;repository_alias&amp;gt; &amp;lt;project_alias&amp;gt;&lt;br /&gt;
 obslight filesystem repositories add http://download.meego.com/live/MeeGo:/1.2:/non-oss/MeeGo_1.2/ MeeGo_non-oss MeeGo_1.2_oss&lt;br /&gt;
* Second one, add the repository of another local project:&lt;br /&gt;
 ## obslight filesystem repositories add from &amp;lt;source_project_alias&amp;gt; &amp;lt;project_alias&amp;gt;&lt;br /&gt;
 obslight filesystem repositories add from MeeGo_1.2_non-oss MeeGo_1.2_oss&lt;br /&gt;
&lt;br /&gt;
== How to create a new package ? (from an existing SPEC file) ==&lt;br /&gt;
=== Requirements ===&lt;br /&gt;
* A project on an OBS server (public or [http://susestudio.com/a/e0uuBG/meego-obs private]) where you have maintainer rights (for example your home project), and with a [http://en.opensuse.org/openSUSE:Build_Service_Tutorial#Step_Three.C2.A0.E2.80.93_Choose_build_targets build target] already configured.&lt;br /&gt;
* An archive of your program, named like &amp;lt;tt&amp;gt;program-version.tar.gz&amp;lt;/tt&amp;gt; (&amp;lt;tt&amp;gt;tar.bz2&amp;lt;/tt&amp;gt; is OK).&lt;br /&gt;
* A valid SPEC file, named &amp;lt;tt&amp;gt;program.spec&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== Procedure ===&lt;br /&gt;
[[OBS Light]] cannot create new packages at the moment. You have to use the web UI or ''osc'' first.&lt;br /&gt;
# Using the web UI:&lt;br /&gt;
#* Go to the project you want to add your package to.&lt;br /&gt;
#* Go to ''Packages'' tab.&lt;br /&gt;
#* Click ''Create package''.&lt;br /&gt;
#* Give a name to the package (we recommend the same name as your program, in lower-case), a title and a description (optional but recommended).&lt;br /&gt;
# Now you should be able to import this package in [[OBS Light]].&lt;br /&gt;
#* Run &amp;lt;tt&amp;gt;obslightgui&amp;lt;/tt&amp;gt;.&lt;br /&gt;
#* Click ''Import project'' button (on the left-bottom).&lt;br /&gt;
#* Select a server from the list or configure a new one.&lt;br /&gt;
#* Select your project in the list.&lt;br /&gt;
#* Select a target and an architecture.&lt;br /&gt;
#* Give an alias to the project (can be the name of the project without &amp;quot;''':'''&amp;quot;, we suggest suffixing with the architecture).&lt;br /&gt;
#* You should now see a list of packages, with the one you created in web UI.&lt;br /&gt;
#* Select it and press ''finish''.&lt;br /&gt;
# The package is now imported into OBS Light, with status ''broken'' (because it has no files).&lt;br /&gt;
#* In the right panel, select tab ''Local directory'', click ''Import file''.&lt;br /&gt;
#* Select your SPEC file and archive (and YAML file if you have one).&lt;br /&gt;
#* The files appear in the list with status ''Added''.&lt;br /&gt;
#* In the middle panel, click ''Commit changes'', and enter a commit message.&lt;br /&gt;
#* The files are uploaded, and the package starts to build on the OBS server.&lt;br /&gt;
&lt;br /&gt;
== How to prepare a Spec file using Spectacle ? ==&lt;br /&gt;
*Official documentation: [[Spectacle]]&lt;br /&gt;
*Why using Spectacle: [[Packaging/Guidelines#Writing_a_package_from_scratch]]&lt;br /&gt;
&lt;br /&gt;
=== Generate a YAML file from scratch ===&lt;br /&gt;
==== Manually ====&lt;br /&gt;
Run the following command:&lt;br /&gt;
 specify --new=your_package_name&lt;br /&gt;
It will create a new YAML file from a template, and ask you to edit the file. Just replace &amp;quot;&amp;lt;tt&amp;gt;^^^&amp;lt;/tt&amp;gt;&amp;quot; occurrences by which seems appropriate, and got to the [[#Customize_the_Spec_and_YAML_files | Spec and YAML customization section]].&lt;br /&gt;
&lt;br /&gt;
==== Automatically ====&lt;br /&gt;
[https://meego.gitorious.org/meego-developer-tools/autospectacle autospectacle] can analyze source archives and generate an appropriate YAML file, but has no documentation.&lt;br /&gt;
&lt;br /&gt;
=== Generate a YAML file from a Spec file ===&lt;br /&gt;
If you already have a Spec file for your program, you may still want to create a YAML file in order to standardize or simplify it. Run the following command:&lt;br /&gt;
 spec2spectacle your_package_name.spec&lt;br /&gt;
It will parse your Spec file, generate a YAML file, and generate a new Spec file from the YAML file. Notice that the conversion is not perfect, and you may lost information.&lt;br /&gt;
&lt;br /&gt;
=== Customize the Spec and YAML files ===&lt;br /&gt;
Except from lines between &amp;quot;&amp;lt;tt&amp;gt;# &amp;gt;&amp;gt; &amp;lt;/tt&amp;gt;&amp;quot; and &amp;quot;&amp;lt;tt&amp;gt;# &amp;lt;&amp;lt; &amp;lt;/tt&amp;gt;&amp;quot; tags, the content of the Spec file should not be modified by you, because it will be re-written by &amp;lt;tt&amp;gt;specify&amp;lt;/tt&amp;gt; each time you modify the YAML file. So if you see a line you don't like, you have to find which option of the YAML file has generated it (or can prevent it to be generated), change it, and run the following command to update the Spec file:&lt;br /&gt;
 specify your_package_name.yaml&lt;br /&gt;
Complete list of Spectacle options is here: [[Spectacle#Syntax_of_spectacle_YAML | Syntax of spectacle YAML]]&lt;br /&gt;
&lt;br /&gt;
== Where to send bug reports ? ==&lt;br /&gt;
Bugs are centralized on [https://bugs.meego.com/buglist.cgi?product=Development%20Tools&amp;amp;component=OBS%20Light MeeGo's bugzilla].&lt;br /&gt;
&lt;br /&gt;
== Help I have updated and broken my OBS server appliance ==&lt;br /&gt;
The move to OBS 2.3 seems to be far less transparent that it should.&lt;br /&gt;
But the facilities offered by the V 2.3 are valuable and move to it is worthwhile.&amp;lt;br&amp;gt;&lt;br /&gt;
You will find here how I did it, it might work for you but it is without guaranty.&lt;br /&gt;
'''Do a snapshot of your appliance before starting'''.&amp;lt;br&amp;gt;&lt;br /&gt;
[[HowTo upgrade from OBS server 2.2 to 2.3]]&lt;br /&gt;
&lt;br /&gt;
== How to add swap in OBS appliance ? ==&lt;br /&gt;
Connect as root, and run:&lt;br /&gt;
 # Swap size in kilobytes&lt;br /&gt;
 SWAPSIZE=524288&lt;br /&gt;
 # Location of swap file&lt;br /&gt;
 SWAPFILE=/swapfile&lt;br /&gt;
 &lt;br /&gt;
 dd if=/dev/zero of=$SWAPFILE bs=1k count=$SWAPSIZE&lt;br /&gt;
 chmod 600 $SWAPFILE&lt;br /&gt;
 mkswap -f $SWAPFILE $SWAPSIZE&lt;br /&gt;
 swapon -v $SWAPFILE&lt;br /&gt;
If you want it to persist after reboot, add the following to /etc/fstab:&lt;br /&gt;
 /swapfile swap swap defaults 0 0&lt;br /&gt;
&lt;br /&gt;
= Links =&lt;br /&gt;
* [[OBS_Light | OBS Light main page]]&lt;br /&gt;
* [[OBS_Light_Installation | OBS Light installation]]&lt;br /&gt;
* [[OBS_Light_Manual | OBS Light manual]]&lt;br /&gt;
* [https://meego.gitorious.org/meego-developer-tools/obs-light/ OBS Light project on Gitorious]&lt;br /&gt;
* [https://build.pub.meego.com/project/show?project=Project%3AOBS_Light OBS Light project on MeeGo build service]&lt;/div&gt;</summary>
		<author><name>Fvennetier</name></author>	</entry>

	<entry>
		<id>http://wiki.meego.com/OBS_Light_Installation</id>
		<title>OBS Light Installation</title>
		<link rel="alternate" type="text/html" href="http://wiki.meego.com/OBS_Light_Installation"/>
				<updated>2012-05-31T10:32:58Z</updated>
		
		<summary type="html">&lt;p&gt;Fvennetier: /* For Ubuntu */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= OBS Light Deliverable =&lt;br /&gt;
== Introduction ==&lt;br /&gt;
[[OBS Light]] project deliverable which are available are listed on this page. Publication of the information will follow the progress of the implementation (yes, we do publish early draft versions, using them is at your risk)&lt;br /&gt;
&lt;br /&gt;
== Packaged versions ==&lt;br /&gt;
Packaged versions of the OBS Light client (still in development) are available for OpenSUSE and Ubuntu.&lt;br /&gt;
=== For OpenSUSE 11.4 ===&lt;br /&gt;
The repository is [http://repo.pub.meego.com/Project:/OBS_Light/openSUSE_11.4/ here].&lt;br /&gt;
There are 2 packages:&lt;br /&gt;
* ''obslight'', which contains the API, a commandline client, and [[obstag | obstag, obs2obscopy and obsextractgroups]]&lt;br /&gt;
* ''obslight-gui'', which contains the graphical user interface&lt;br /&gt;
To install ''obslight'':&lt;br /&gt;
 # Add MeeGo tools repository, to get MIC&lt;br /&gt;
 zypper ar -f http://download.meego.com/live/devel:/tools:/building/openSUSE_11.4/devel:tools:building.repo&lt;br /&gt;
 # Add OBS Light repository&lt;br /&gt;
 zypper ar -f http://repo.pub.meego.com/Project:/OBS_Light/openSUSE_11.4/Project:OBS_Light.repo&lt;br /&gt;
optional, to disable GPG checks and prevent &amp;quot;File 'repomd.xml' from repository 'OBS_Light' is unsigned&amp;quot; messages&lt;br /&gt;
 echo &amp;quot;gpgcheck=0&amp;quot; &amp;gt;&amp;gt; /etc/zypp/repos.d/Project_OBS_Light.repo&lt;br /&gt;
&lt;br /&gt;
 # Refresh package database&lt;br /&gt;
 zypper --gpg-auto-import-keys ref&lt;br /&gt;
 # Install OBS Light (without GUI)&lt;br /&gt;
 zypper in obslight&lt;br /&gt;
&lt;br /&gt;
To install the GUI, you will need PySide:&lt;br /&gt;
 zypper ar -f http://download.opensuse.org/repositories/home:/cgoncalves:/pyside:/shiboken/openSUSE_11.4/ PySide&lt;br /&gt;
 zypper --gpg-auto-import-keys ref&lt;br /&gt;
 zypper in obslight-gui&lt;br /&gt;
&lt;br /&gt;
=== For OpenSUSE 12.1 ===&lt;br /&gt;
There are 2 packages:&lt;br /&gt;
* ''obslight'', which contains the API, a commandline client, and [[obstag | obstag, obs2obscopy and obsextractgroups]]&lt;br /&gt;
* ''obslight-gui'', which contains the graphical user interface&lt;br /&gt;
&lt;br /&gt;
 # Add MeeGo tools repository, to get MIC&lt;br /&gt;
 sudo zypper ar -f http://download.meego.com/live/devel:/tools:/building/openSUSE12.1/ tizen_tools&lt;br /&gt;
 # Add OBS Light repository&lt;br /&gt;
 sudo zypper ar -f http://repo.pub.meego.com/Project:/OBS_Light/openSUSE_12.1/Project:OBS_Light.repo&lt;br /&gt;
optional, to disable GPG checks and prevent &amp;quot;File 'repomd.xml' from repository 'OBS_Light' is unsigned&amp;quot; messages&lt;br /&gt;
 echo &amp;quot;gpgcheck=0&amp;quot; | sudo tee -a &amp;quot;/etc/zypp/repos.d/Project_OBS_Light.repo&amp;quot; &amp;gt; /dev/null&lt;br /&gt;
 echo &amp;quot;gpgcheck=0&amp;quot; | sudo tee -a &amp;quot;/etc/zypp/repos.d/tizen_tools.repo&amp;quot; &amp;gt; /dev/null&lt;br /&gt;
&lt;br /&gt;
 # Refresh package database&lt;br /&gt;
 sudo zypper --gpg-auto-import-keys ref&lt;br /&gt;
 # Install OBS Light (without GUI)&lt;br /&gt;
 sudo zypper in obslight&lt;br /&gt;
&lt;br /&gt;
To install the GUI, you will need PySide:&lt;br /&gt;
 sudo zypper ar -f http://download.opensuse.org/repositories/home:/Fisiu:/pyside/openSUSE_12.1/home:Fisiu:pyside.repo&lt;br /&gt;
 sudo zypper --gpg-auto-import-keys ref&lt;br /&gt;
 sudo zypper in obslight-gui&lt;br /&gt;
&lt;br /&gt;
=== For Ubuntu ===&lt;br /&gt;
The repositories are [http://repo.pub.meego.com/Project:/OBS_Light/ here]. Available Ubuntu versions are '''10.04''', '''11.10''' and '''12.04'''.&lt;br /&gt;
There is only one package, ''obslight'', which contains the commandline, the GUI and the utilities. Add the following line to your '''/etc/apt/sources.list''' file (or to a new file '''/etc/apt/sources.list.d/obslight.list'''):&lt;br /&gt;
 # Ubuntu 10.04&lt;br /&gt;
 ## MIC and dependencies&lt;br /&gt;
 deb http://download.meego.com/live/devel:/tools:/building/Ubuntu_10.04/ ./&lt;br /&gt;
 ## OBS Light&lt;br /&gt;
 deb http://repo.pub.meego.com/Project:/OBS_Light/Ubuntu_10.04/ ./&lt;br /&gt;
&lt;br /&gt;
 # Ubuntu 11.10&lt;br /&gt;
 ## MIC and dependencies&lt;br /&gt;
 deb http://download.meego.com/live/devel:/tools:/building/xUbuntu_11.10/ ./&lt;br /&gt;
 ## OBS Light&lt;br /&gt;
 deb http://repo.pub.meego.com/Project:/OBS_Light/Ubuntu_11.10/ ./&lt;br /&gt;
&lt;br /&gt;
 # Ubuntu 12.04&lt;br /&gt;
 ## MIC and dependencies&lt;br /&gt;
 deb http://download.tizen.org/tools/xUbuntu_12.04/ ./&lt;br /&gt;
 ## OBS Light&lt;br /&gt;
 deb http://repo.pub.meego.com/Project:/OBS_Light/Ubuntu_12.04/ ./&lt;br /&gt;
You also need a recent version of [http://www.pyside.org/ PySide]:&lt;br /&gt;
 sudo apt-add-repository ppa:pyside/ppa&lt;br /&gt;
If you have Ubuntu 10.04 and an old version of '''osc''' (&amp;lt; 0.132) we suggest also adding:&lt;br /&gt;
 deb http://download.opensuse.org/repositories/openSUSE:/Tools/xUbuntu_10.04/ ./&lt;br /&gt;
Refresh the APT database and install OBS Light:&lt;br /&gt;
 sudo apt-get update&lt;br /&gt;
 sudo apt-get install obslight&lt;br /&gt;
Add yourself to the '''users''' group:&lt;br /&gt;
 sudo usermod -a -G users `whoami`&lt;br /&gt;
You should log out so that the system takes into account your new group.&lt;br /&gt;
If you don't want to log out, you can use &amp;quot;''newgrp users''&amp;quot; before running obslight (but it will only work in the current console).&lt;br /&gt;
&lt;br /&gt;
=== For Fedora 16 ===&lt;br /&gt;
The repository is [http://repo.pub.meego.com//Project:/OBS_Light/Fedora_16/ here].&lt;br /&gt;
There are 2 packages:&lt;br /&gt;
* ''obslight'', which contains the API, a commandline client, and [[obstag | obstag, obs2obscopy and obsextractgroups]].&lt;br /&gt;
* ''obslight-gui'', which contains the graphical user interface.&lt;br /&gt;
&lt;br /&gt;
Execute the following commands:&lt;br /&gt;
 # Add OBS Light repository&lt;br /&gt;
 sudo wget http://repo.pub.meego.com/Project:/OBS_Light/Fedora_16/Project:OBS_Light.repo -O /etc/yum.repos.d/Project_OBS_Light.repo&lt;br /&gt;
 # Deactivate GPG check&lt;br /&gt;
 sudo sed -r -i &amp;quot;s/(gpgcheck)=1/\1=0/&amp;quot; /etc/yum.repos.d/Project_OBS_Light.repo&lt;br /&gt;
 # Update repository cache&lt;br /&gt;
 sudo yum makecache&lt;br /&gt;
 # Install OBS Light&lt;br /&gt;
 sudo yum install obslight obslight-gui&lt;br /&gt;
 # Add yourself to the &amp;quot;users&amp;quot; group&lt;br /&gt;
 sudo usermod -a -G users `whoami`&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
To get a brief overview of all available commands, just type:&lt;br /&gt;
 obslight --help&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== OBS Tagging and Project copying ==&lt;br /&gt;
One of the problem that any user of a private OBS will quickly face, is the need to tag specific version of a project and allow the copy of the project from an OBS to an other OBS or from one project to an other project.&lt;br /&gt;
&lt;br /&gt;
More details on obstag and obs2obscopy can be found [[obstag | here]]&lt;br /&gt;
&lt;br /&gt;
= Migration from old versions =&lt;br /&gt;
== OBS Light &amp;lt; 0.4.22 ==&lt;br /&gt;
Starting from OBS Light 0.4.22, MIC and its dependencies won't be maintained in OBS Light's repositories anymore. You will have to add official MIC repository to get MIC dependencies. Just remove the old repository and follow the appropriate procedure. Fedora users can keep using old repositories.&lt;br /&gt;
=== openSUSE 11.4 ===&lt;br /&gt;
 sudo zypper rr Project_OBS_Light&lt;br /&gt;
and [[#For OpenSUSE 11.4]]&lt;br /&gt;
=== openSUSE 12.1 ===&lt;br /&gt;
 sudo zypper rr Project_OBS_Light_openSUSE_12.1&lt;br /&gt;
and [[#For_OpenSUSE_12.1]]&lt;br /&gt;
=== Ubuntu ===&lt;br /&gt;
 sudo rm /etc/apt/sources.list.d/obslight.list&lt;br /&gt;
and [[#For Ubuntu]].&lt;br /&gt;
&lt;br /&gt;
== OBS Light appliance &amp;lt; 0.4.52 ==&lt;br /&gt;
If you are using [http://susestudio.com/a/e0uuBG/meego-obs-light OBS Light appliance] older than 0.4.52, and you don't want to download the latest version, you can update it doing the following:&lt;br /&gt;
 # Remove old openSUSE 12.1 specific OBS Light repository&lt;br /&gt;
 sudo zypper rr Project_OBS_Light_openSUSE_12.1&lt;br /&gt;
 # Add Tizen Tools and OBS Light repositories&lt;br /&gt;
 sudo zypper ar -f http://download.meego.com/live/devel:/tools:/building/openSUSE12.1/ tizen_tools&lt;br /&gt;
 sudo zypper ar -f http://repo.pub.meego.com/Project:/OBS_Light/openSUSE_12.1/Project:OBS_Light.repo&lt;br /&gt;
 # Refresh package database&lt;br /&gt;
 sudo zypper --gpg-auto-import-keys ref&lt;br /&gt;
 # Update MIC and OBS Light&lt;br /&gt;
 sudo zypper up mic obslight obslight-gui&lt;br /&gt;
(same procedure as [[#For_openSUSE_12.1 | for openSUSE 12.1]])&lt;br /&gt;
&lt;br /&gt;
= Links =&lt;br /&gt;
* [[OBS Light | OBS Light main page]]&lt;br /&gt;
* [[OBS_Light_FAQ | OBS Light Frequently Asked Questions]]&lt;br /&gt;
* [[OBS_Light_Manual | OBS Light Manual]]&lt;br /&gt;
* [https://meego.gitorious.org/meego-developer-tools/obs-light/ OBS Light project on Gitorious]&lt;br /&gt;
* [https://build.pub.meego.com/project/show?project=Project%3AOBS_Light OBS Light project on MeeGo build service]&lt;/div&gt;</summary>
		<author><name>Fvennetier</name></author>	</entry>

	<entry>
		<id>http://wiki.meego.com/OBS_Light_Manual</id>
		<title>OBS Light Manual</title>
		<link rel="alternate" type="text/html" href="http://wiki.meego.com/OBS_Light_Manual"/>
				<updated>2012-04-12T13:51:31Z</updated>
		
		<summary type="html">&lt;p&gt;Fvennetier: /* Testing */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is the user manual of the command-line and graphical interface of OBS Light.&lt;br /&gt;
* [[OBS_Light | OBS Light project]]&lt;br /&gt;
* [[OBS_Light_FAQ | Frequently Asked Questions]]&lt;br /&gt;
* [[ObsLightDeliverable | Installation]]&lt;br /&gt;
= General principles =&lt;br /&gt;
== Operation modes ==&lt;br /&gt;
OBS Light is available via command line (obslight) and a graphical user interface GUI (obslightgui).&lt;br /&gt;
Independently of that fact that you are using the command line or the GUI, you will get access to the same services.&lt;br /&gt;
&lt;br /&gt;
== Videos training ==&lt;br /&gt;
We have created a set of video which will provide you a quick overview of how to start with OBS Light.&amp;lt;br&amp;gt;&lt;br /&gt;
They cover :&lt;br /&gt;
* Where to find the tool and information&lt;br /&gt;
* How to install OBS Light and get write access to an OBS&lt;br /&gt;
* Creation of you first project and package import&lt;br /&gt;
* Working in the project filesystem&lt;br /&gt;
* Auto creation of patch and upload to OBS&lt;br /&gt;
&lt;br /&gt;
http://www.dailymotion.com/playlist/x1t5ll_dominigarfoll_obs-light-training&lt;br /&gt;
&lt;br /&gt;
== Step by step ==&lt;br /&gt;
=== Get Login access to an OBS server ===&lt;br /&gt;
OBS Light is a simplified model to develop code via an OBS. It does not replace your OBS.&lt;br /&gt;
&lt;br /&gt;
To use OBS Light you will need a login access to an OBS. You have two simple methods to get a login on an OBS:&lt;br /&gt;
* You can create a login on several &amp;quot;free&amp;quot; OBS :&lt;br /&gt;
** MeeGo Community https://build.pub.meego.com/&lt;br /&gt;
** OpenSUSE https://build.opensuse.org/&lt;br /&gt;
* Run your private OBS instance&lt;br /&gt;
** Select a ready made MeeGo OBS appliance (highly recommended) http://susestudio.com/a/e0uuBG/meego-obs&lt;br /&gt;
** Install your private full appliance (advanced users only) http://en.opensuse.org/openSUSE:Build_Service_private_instance&lt;br /&gt;
&lt;br /&gt;
Once you have a login on an OBS instance, you will need to copy a project to play with. You can use the utilities ''obstag'' and ''obs2obscopy'' to achieve that in an easy way. See [[ Obstag ]].&lt;br /&gt;
&lt;br /&gt;
=== Configure your OBS servers ===&lt;br /&gt;
OBS Light needs to know on which server you will connect to. As OBS Light does more than the osc tool, more information will be needed. You will be asked the following  :&lt;br /&gt;
* OBS server web URL&lt;br /&gt;
* OBS server API URL&lt;br /&gt;
* OBS repository URL&lt;br /&gt;
* Login&lt;br /&gt;
* Password&lt;br /&gt;
* Alias (note that Alias will need to be different from any Alias already present in your osc configuration and OBS light will enforce that constrain). If you plan to use the import/export functions make sure that you use the same Alias on the sending and receiving hosts.&lt;br /&gt;
&lt;br /&gt;
Even if these information are copied in ''.osrcrc'', they must be maintain via the OBS light command.&lt;br /&gt;
&lt;br /&gt;
=== Import the package(s) to work on ===&lt;br /&gt;
After the configuration of one or more OBS servers, you will be able to import a package to work on.&lt;br /&gt;
You can also create an empty package would you like to.&lt;br /&gt;
&lt;br /&gt;
OBS Light will create a local copy of that package on your workstation in a very similar way to what an osc checkout action would do.&lt;br /&gt;
As osc, OBS Light transparently keeps track directly of the links between the packages and the associated OBS servers.&lt;br /&gt;
&lt;br /&gt;
=== Create the project filesystem ===&lt;br /&gt;
Once that you have loaded the packages, you can request the creation of a &amp;quot;chroot jail&amp;quot; (thereafter referred to as &amp;quot;filesystem&amp;quot; or &amp;quot;project filesystem&amp;quot;), where the packages can be built without interfering with the host's filesystem. The created filesystem is specific to the project and will not be recreated if it's already present.&lt;br /&gt;
During the creation of the filesystem, extra packages imposed by the build dependencies will be loaded automatically. If you are connected on a remote OBS that phase can take some time and may require a bit of patience.&lt;br /&gt;
&lt;br /&gt;
OBS Light tries to load automatically the dependencies from the analysis of the .spec file in the RPM but that is not always possible. The user has the possibility to add manually extra file and/or packages to the filesystem.&lt;br /&gt;
&lt;br /&gt;
Packages can be imported either from a project already present in OBS Light or from any URL.&lt;br /&gt;
&lt;br /&gt;
=== Importing the code in the project filesystem ===&lt;br /&gt;
Once that the filesystem is created, the source from the package can be imported in the filesystem. During that process, OBS Light will load the extra package needed to build that specific imported source and will create a special git tree which will monitor any changes done by the user.&lt;br /&gt;
&lt;br /&gt;
The user can directly open a window on the filesystem from OBS Light. The console program used by default can be defined in the OBS Light configuration file.&lt;br /&gt;
From there direct modification of the code in the filesystem is possible and local build can be run as often as desired.&lt;br /&gt;
&lt;br /&gt;
=== Committing changes ===&lt;br /&gt;
When the user is happy of his change, he can request the change from the filesystem to be committed directly in the package.&lt;br /&gt;
&lt;br /&gt;
A patch will be created and added to the package and configured in the .spec file by OBS Light.&lt;br /&gt;
&lt;br /&gt;
=== Saving changes on the OBS server ===&lt;br /&gt;
Once that changes on a given project (which can work on one or multiple packages) achieve a stage which is worth to push on the OBS server. The user can simply request to save the project and OBS Light will commit the changes automatically.&lt;br /&gt;
&lt;br /&gt;
== Example: patching MeeGo 1.2 ''kernel'' package ==&lt;br /&gt;
&lt;br /&gt;
=== Step1: inform ''obslight'' about your OBS account ===&lt;br /&gt;
 ## synthax: obslight server add server_alias &amp;lt;server_alias&amp;gt; login &amp;lt;login&amp;gt; password &amp;lt;password&amp;gt; api_url &amp;lt;api_url&amp;gt; repository_url &amp;lt;repository_url&amp;gt; web_url &amp;lt;web_url&amp;gt;&lt;br /&gt;
;''server_alias''&lt;br /&gt;
: is the alias you want to use to refer to this server.&lt;br /&gt;
;''api_url''&lt;br /&gt;
: is the URL to the OBS control API. If you are using [http://susestudio.com/a/e0uuBG/meego-obs OBS appliance], it's probably on port 81.&lt;br /&gt;
;''repository_url''&lt;br /&gt;
: is the URL to the OBS package repositories. If you are using [http://susestudio.com/a/e0uuBG/meego-obs OBS appliance], it's probably on port 82.&lt;br /&gt;
;''web_url''&lt;br /&gt;
: is the URL to the OBS web interface.&lt;br /&gt;
&lt;br /&gt;
=== Step2: create a local project related to your OBS project ===&lt;br /&gt;
* The project is created in '''~/OBSLight/ObsProjects/MeeGo_1.2_oss/'''&lt;br /&gt;
 ## synthax: obslight obsproject add &amp;lt;project_alias&amp;gt; &amp;lt;name_on_obs&amp;gt; &amp;lt;target&amp;gt; &amp;lt;arch&amp;gt; &amp;lt;server_alias&amp;gt;&lt;br /&gt;
 obslight obsproject add MeeGo_1.2_oss MeeGo:1.2:oss standard i586 &amp;lt;server_alias&amp;gt;&lt;br /&gt;
;''project_alias''&lt;br /&gt;
: is the name you will use to refer to this project with the ''obslight'' command (e.g. ''MeeGo_1.2_oss'').&lt;br /&gt;
;''name_on_obs''&lt;br /&gt;
: is the name of the project on the OBS (e.g. ''MeeGo:1.2:oss'').&lt;br /&gt;
;''target''&lt;br /&gt;
: is the target against which we will build (''standard'' is the common name when there is only one).&lt;br /&gt;
;''arch''&lt;br /&gt;
: is the target architecture of the project.&lt;br /&gt;
;''server_alias''&lt;br /&gt;
: is the alias of the OBS server from which we get the project (which has been configured in first step).&lt;br /&gt;
&lt;br /&gt;
=== Step3: add the kernel package to your local project ===&lt;br /&gt;
* The package is created in '''~/OBSLight/ObsProjects/MeeGo_1.2_oss/MeeGo:1.2:oss/kernel/'''&lt;br /&gt;
* In this directory, the package is manageable by osc.&lt;br /&gt;
 ## synthax: obslight package add package &amp;lt;package&amp;gt; project_alias &amp;lt;project_alias&amp;gt;&lt;br /&gt;
 obslight package add package kernel project_alias MeeGo_1.2_oss&lt;br /&gt;
;''package''&lt;br /&gt;
: is the name of the package you want to work on (e.g. '''kernel''').&lt;br /&gt;
;''project_alias''&lt;br /&gt;
: is the name of the project you created in step2.&lt;br /&gt;
&lt;br /&gt;
=== Step4: create the filesystem of the project ===&lt;br /&gt;
* The filesystem root directory is '''~/OBSLight/ObsProjects/MeeGo_1.2_oss/aChroot/'''.&lt;br /&gt;
* zypper is included in the filesystem and your OBS project's repository is automatically added.&lt;br /&gt;
 ## synthax: obslight filesystem create &amp;lt;project_alias&amp;gt;&lt;br /&gt;
 obslight filesystem create MeeGo_1.2_oss&lt;br /&gt;
&lt;br /&gt;
=== Step5: add the source of the kernel package into your filesystem ===&lt;br /&gt;
* The source package is extracted in directory '''/root/rpmbuild/BUILD/kernel-X.X.X/linux-X.X.X'''.&lt;br /&gt;
* After the installation, a git repository is initialized in package's directory.&lt;br /&gt;
 ## synthax: obslight rpmbuild prepare package &amp;lt;package&amp;gt; project_alias &amp;lt;project_alias&amp;gt;&lt;br /&gt;
 obslight rpmbuild prepare package kernel project_alias MeeGo_1.2_oss&lt;br /&gt;
&lt;br /&gt;
=== Step6: work as you want into your filesystem ===&lt;br /&gt;
* The directory '''~/OBSLight/ObsProjects/MeeGo_1.2_oss/chrootTransfert/''' is mounted into the chroot jail in '''/chrootTransfert/'''.&lt;br /&gt;
* Every script executed in ''aChroot'', is stored in '''/chrootTransfert/''' as '''runMe_YYYY-MM-DD_HHhMMmSS.sh'''.&lt;br /&gt;
 ## synthax: obslight filesystem enter package &amp;lt;package&amp;gt; project_alias &amp;lt;project_alias&amp;gt;&lt;br /&gt;
 obslight filesystem enter package kernel project_alias MeeGo_1.2_oss&lt;br /&gt;
&lt;br /&gt;
Now you are logged in the chroot jail.&lt;br /&gt;
In this example we just modify the kernel configuration.&lt;br /&gt;
 $ cp configs/kernel-x86.config .config&lt;br /&gt;
 $ make menuconfig&lt;br /&gt;
&lt;br /&gt;
=== Step7: save your modifications ===&lt;br /&gt;
There are two methods.&lt;br /&gt;
&lt;br /&gt;
==== Method1: by making a patch ====&lt;br /&gt;
 $ cp .config config-x86&lt;br /&gt;
 $ exit&lt;br /&gt;
&lt;br /&gt;
 ## synthax: obslight rpmbuild createpatch &amp;lt;patch&amp;gt; package &amp;lt;package&amp;gt; project_alias &amp;lt;project_alias&amp;gt;&lt;br /&gt;
 obslight rpmbuild createpatch myKernelPatch.patch package kernel project_alias MeeGo_1.2_oss&lt;br /&gt;
&lt;br /&gt;
* The patch is automatically added to the local spec file.&lt;br /&gt;
* '''myKernelPatch.patch''' is automatically added to the local package directory.&lt;br /&gt;
* ''kernel package specific:'' you must move the patch application command '''%patchXXX -p1''' after the command line '''cp $RPM_SOURCE_DIR/config-* .''' in the local spec file&lt;br /&gt;
 vi ~/OBSLight/MeeGo_1.2_oss/MeeGo:1.2:oss/kernel/kernel.spec&lt;br /&gt;
&lt;br /&gt;
==== Method2: by copying the new configuration file in OSC directory ====&lt;br /&gt;
 $ cp .config /chrootTransfert/config-x86&lt;br /&gt;
 $ exit&lt;br /&gt;
 cp ~/OBSLight/ObsProjects/MeeGo_1.2_oss/chrootTransfert/config-x86 ~/OBSLight/ObsProjects/MeeGo_1.2_oss/MeeGo:1.2:oss/kernel/&lt;br /&gt;
&lt;br /&gt;
=== Step8: Upstream your modifications to the OBS server ===&lt;br /&gt;
* The command ''package commit'' checks the additions and deletions of files, before committing the package to the OBS server.&lt;br /&gt;
 ## synthax: obslight package commit &amp;lt;message&amp;gt; package &amp;lt;package&amp;gt; project_alias &amp;lt;project_alias&amp;gt;&lt;br /&gt;
 obslight package commit &amp;quot;Patch kernel&amp;quot; package kernel project_alias MeeGo_1.2_oss&lt;br /&gt;
&lt;br /&gt;
= Command-line =&lt;br /&gt;
&lt;br /&gt;
The help is integrated in the tool. ''obslight help'' will give you an online help.&lt;br /&gt;
&lt;br /&gt;
To get more detail on a specific command you can type ''obslight &amp;lt;command&amp;gt; help''.&lt;br /&gt;
&lt;br /&gt;
 $ obslight help &lt;br /&gt;
 OBSlight:&lt;br /&gt;
    Provides a tool to manage an OBS project on your local machine in command line&lt;br /&gt;
    For informations, see the Help section&lt;br /&gt;
        obslight --Help&lt;br /&gt;
    The gui for OBSlight is obslightgui&lt;br /&gt;
    A FAQ is available at:&lt;br /&gt;
        *http://wiki.meego.com/OBS_Light_FAQ&lt;br /&gt;
    For additional informations, see:&lt;br /&gt;
        *http://wiki.meego.com/OBS_Light&lt;br /&gt;
 Usage: OBSlight [global command] &amp;lt;command&amp;gt; [--command-options]&lt;br /&gt;
 &lt;br /&gt;
 Type OBSlight &amp;lt;command&amp;gt; --Help to get Help on a specific command.&lt;br /&gt;
 Commands:&lt;br /&gt;
 &lt;br /&gt;
    server:                   Manage the OBS server&lt;br /&gt;
    obsproject:               Manage the OBSlight project&lt;br /&gt;
    package:                  Manage the packages of OBSlight project&lt;br /&gt;
    projectfilesystem (projectfs,filesystem,pfs) :&lt;br /&gt;
                              Manage the project filesystem of OBSlight project&lt;br /&gt;
    rpmbuild (rb) :           Manage the rpmbuild of the package into the project filesystem&lt;br /&gt;
    man:                      print the man help document&lt;br /&gt;
 &lt;br /&gt;
 global Options:&lt;br /&gt;
 &lt;br /&gt;
    quiet (-quiet,--quiet) :  run obslight in quiet mode&lt;br /&gt;
    debug (-debug,--debug) :  run obslight in debugger mode&lt;br /&gt;
    version (--version) :     show program's version number and exit&lt;br /&gt;
    help (-h,-help,--help) :  show this help message and exit&lt;br /&gt;
    noaction:                 Execute command but do nothing&lt;br /&gt;
&lt;br /&gt;
= Graphical interface =&lt;br /&gt;
The GUI is launched via the command ''obslightgui''.&lt;br /&gt;
Only the parameter ''--version'' is supported.&lt;br /&gt;
&lt;br /&gt;
It has two main tabs: one for OBS projects, one for MIC projects&lt;br /&gt;
&lt;br /&gt;
The buttons in each section apply to the relative section. They display a tool-tip when the mouse is positioned on them.&lt;br /&gt;
Button are grayed when there are not active or not yet implemented.&lt;br /&gt;
&lt;br /&gt;
== OBS projects tab ==&lt;br /&gt;
[[File: Obslightgui_01.png|600px|OBS Light GUI main window]]&lt;br /&gt;
&lt;br /&gt;
This tab allows you to manage an OBS project, its packages (and their files) and its filesystem.&lt;br /&gt;
&lt;br /&gt;
It has 3 main areas:&lt;br /&gt;
* OBS project&lt;br /&gt;
* Packages&lt;br /&gt;
* local files and project filesystem (on a tab)&lt;br /&gt;
&lt;br /&gt;
=== The project panel ===&lt;br /&gt;
The panel on the left displays the list of OBS projects locally configured, and information about the selected project.&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;5&amp;quot;&lt;br /&gt;
|&lt;br /&gt;
;New&lt;br /&gt;
: Create a new project. Currently you cannot create a new project from scratch using OBS Light, only import one.&lt;br /&gt;
;Import&lt;br /&gt;
: Import a project from an OBS server.&lt;br /&gt;
;Delete&lt;br /&gt;
: Delete the selected project. The project will be removed locally but will remain on the OBS server.&lt;br /&gt;
;Modify&lt;br /&gt;
: Modify the selected project configuration.&lt;br /&gt;
|&lt;br /&gt;
;Save&lt;br /&gt;
: Save the selected project to a file.&lt;br /&gt;
;Load&lt;br /&gt;
: Load a project from a file.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== The package panel ===&lt;br /&gt;
The panel on the middle displays the list of packages of the selected project, and information about the selected package.&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;5&amp;quot;&lt;br /&gt;
|&lt;br /&gt;
;New&lt;br /&gt;
: Create a new package. Currently you cannot create a new package from scratch using OBS Light, only import one.&lt;br /&gt;
;Import&lt;br /&gt;
: Import a package from an OBS project.&lt;br /&gt;
;Delete&lt;br /&gt;
: Delete the selected package(s). The packages will be removed locally but will remain on the OBS server.&lt;br /&gt;
;Modify&lt;br /&gt;
: Modify the package title and description. Currently not available.&lt;br /&gt;
|&lt;br /&gt;
;Update files&lt;br /&gt;
: Checkout/update files from the OBS (''osc update'' equivalent).&lt;br /&gt;
;Commit changes&lt;br /&gt;
: Commit changes to the OBS (''osc commit'' equivalent).&lt;br /&gt;
;Repair OSC directory&lt;br /&gt;
: Repair the OSC working copy of a package.&lt;br /&gt;
|&lt;br /&gt;
;Refresh status&lt;br /&gt;
: Refresh OBS and Local statuses.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== The file panel ===&lt;br /&gt;
The file panel has two tabs: '''Local directory''' and '''Project filesystem'''.&lt;br /&gt;
&lt;br /&gt;
==== The local directory tab ====&lt;br /&gt;
This tab shows the list of files contained in the selected package.&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;5&amp;quot;&lt;br /&gt;
|colspan=&amp;quot;2&amp;quot;|&lt;br /&gt;
;Open terminal&lt;br /&gt;
: Open a terminal in the package directory&lt;br /&gt;
;Package path&lt;br /&gt;
: Location of the package's OSC working copy&lt;br /&gt;
|-&lt;br /&gt;
| File-related buttons&lt;br /&gt;
| Patch-related buttons&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
;New&lt;br /&gt;
: Create a new empty file. Currently not available.&lt;br /&gt;
;Import&lt;br /&gt;
: Add a file from your local filesystem to the package.&lt;br /&gt;
;Delete&lt;br /&gt;
: Delete the selected file from the package.&lt;br /&gt;
;Modify&lt;br /&gt;
: Launch an editor on the selected file.&lt;br /&gt;
|&lt;br /&gt;
;New&lt;br /&gt;
: Generate a patch from the changes made into the project filesystem, and add this patch to the package and in the yaml and/or spec files. This patch becomes the current patch of the package, until the next '%prep'.&lt;br /&gt;
;Import&lt;br /&gt;
: Import an external patch. Currently not available.&lt;br /&gt;
;Delete&lt;br /&gt;
: Delete a patch. Currently not available.&lt;br /&gt;
;Update&lt;br /&gt;
: Update the current patch with new modifications.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== The project filesystem tab ====&lt;br /&gt;
This tab shows the complete file tree of selected project's filesystem.&lt;br /&gt;
If a package is selected and it has previously been imported into the filesystem, its path is expanded by default.&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;5&amp;quot;&lt;br /&gt;
|colspan=&amp;quot;3&amp;quot;|&lt;br /&gt;
;Open terminal&lt;br /&gt;
: Open a terminal in the filesystem, using '''chroot''', in the source directory of the current package if it is installed.&lt;br /&gt;
;Chroot path&lt;br /&gt;
: Location of the project filesystem.&lt;br /&gt;
|-&lt;br /&gt;
| Repository-related buttons&lt;br /&gt;
| Filesystem-related buttons&lt;br /&gt;
| Rpmbuild-related buttons&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
;New&lt;br /&gt;
: Make a package repository accessible from zypper inside the filesystem, by URL.&lt;br /&gt;
;Import&lt;br /&gt;
: Make the package repository of another OBS Light project accessible from zypper inside the filesystem.&lt;br /&gt;
;Delete&lt;br /&gt;
: Delete a repository from the filesystem.&lt;br /&gt;
;Modify&lt;br /&gt;
: Modify the URL or alias of a repository.&lt;br /&gt;
|&lt;br /&gt;
;New&lt;br /&gt;
: Create the filesystem of the project.&lt;br /&gt;
;Import&lt;br /&gt;
: Not yet implemented.&lt;br /&gt;
;Delete&lt;br /&gt;
: Delete the filesystem&lt;br /&gt;
;Modify&lt;br /&gt;
: Not yet implemented.&lt;br /&gt;
|&lt;br /&gt;
;%prep&lt;br /&gt;
: Install the sources of a package into the filesystem, execute the %prep section of the spec file and do the first build.&lt;br /&gt;
;%build&lt;br /&gt;
: Execute the %build section of the spec file of the selected package, in an alternative rpmbuild directory.&lt;br /&gt;
;%install&lt;br /&gt;
: Execute the %install section of the spec file of the selected package, in an alternative rpmbuild directory.&lt;br /&gt;
;%files&lt;br /&gt;
: Build the source and binary RPMs of the selected package, in an alternative rpmbuild directory.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== MIC projects tab ==&lt;br /&gt;
This tab allows you to manage a MIC (MeeGo Image Creator) project. You can change its architecture and image type, and edit its Kickstart file.&lt;br /&gt;
&lt;br /&gt;
On the left panel you can see a list of MIC projects. Click ''New'' to add one, you will be asked for a name, and an empty Kickstart file will be created.&lt;br /&gt;
&lt;br /&gt;
=== Project options ===&lt;br /&gt;
[[File: Obslightgui_mic_01.png|600px|OBS Light GUI main window - MIC project - Project options]]&lt;br /&gt;
&lt;br /&gt;
In this tab you can:&lt;br /&gt;
* change the generated image type&lt;br /&gt;
** ''fs'': a directory hierarchy containing the whole filesystem&lt;br /&gt;
** ''livecd'': a bootable image suitable for a CD&lt;br /&gt;
** ''liveusb'': a bootable image suitable for a USB key&lt;br /&gt;
** ''loop'': a filesystem image to be mounted with a loop device (with ''mount -o loop'')&lt;br /&gt;
** ''raw''&lt;br /&gt;
* change the architecture of the project (only i686 has been tested)&lt;br /&gt;
* open the directory of the project (with you default file browser)&lt;br /&gt;
* import a Kickstart file (that will overwrite the current file)&lt;br /&gt;
* export the current Kickstart file&lt;br /&gt;
* launch the creation of the image&lt;br /&gt;
&lt;br /&gt;
=== Kickstart options ===&lt;br /&gt;
[[File: Obslightgui_mic_02.png|600px|OBS Light GUI main window - MIC project - Kickstart options]]&lt;br /&gt;
&lt;br /&gt;
In this tab you can add, delete or modify the different options of the project's Kickstart file. These options are documented [http://fedoraproject.org/wiki/Anaconda/Kickstart here].&lt;br /&gt;
&lt;br /&gt;
* To add an option press the ''add'' button, and enter the full option line in the bottom text field, then press ''save''.&lt;br /&gt;
* To modify an option, select it, modify the bottom text field and press ''save''.&lt;br /&gt;
* To delete an option, select it, press ''delete'', and then ''save''.&lt;br /&gt;
&lt;br /&gt;
Notice that some options may have aliases, which will appear on the same line in the option list.&lt;br /&gt;
The ''repo'' option will not be listed here, but in the [[OBS_Light_Manual#Repositories | Repositories]] tab.&lt;br /&gt;
&lt;br /&gt;
=== Repositories ===&lt;br /&gt;
[[File: Obslightgui_mic_03.png|600px|OBS Light GUI main window - MIC project - Kickstart repositories]]&lt;br /&gt;
&lt;br /&gt;
In this tab, you can add, delete, or modify Kickstart repositories.&lt;br /&gt;
&lt;br /&gt;
* To add a repository, there are two possibilities:&lt;br /&gt;
** The repository is from an OBS project you worked on with OBS Light: press ''Import from OBS project'' and select the project.&lt;br /&gt;
** The repository is from an external project: press ''Add by URL'', and you will be asked for an URL and a name.&lt;br /&gt;
* To delete a repository, select it and press ''Delete''.&lt;br /&gt;
* To edit a repository, double-click on the cell of the property you want to edit (or simple click if it is a checkbox).&lt;br /&gt;
The changes are automatically saved.&lt;br /&gt;
&lt;br /&gt;
=== Packages ===&lt;br /&gt;
[[File: Obslightgui_mic_04.png|600px|OBS Light GUI main window - MIC project - Kickstart packages]]&lt;br /&gt;
&lt;br /&gt;
Here you can edit the package list of the project's Kickstart file.&lt;br /&gt;
Notice that multiple ''%package'' sections of original Kickstart file have been merged into one.&lt;br /&gt;
&lt;br /&gt;
Each package has an ''Included'' parameter which tells if it should be included in the generated image. If ''Included'' is not checked, the package will be explicitly excluded in the Kickstart file (its name will be prefixed with '-').&lt;br /&gt;
&lt;br /&gt;
=== Package groups ===&lt;br /&gt;
Here you can edit the list of package groups of the project's Kickstart file.&lt;br /&gt;
At the moment, no verification is done on package groups.&lt;br /&gt;
&lt;br /&gt;
=== Scripts ===&lt;br /&gt;
[[File: Obslightgui_mic_06.png|600px|OBS Light GUI main window - MIC project - Kickstart scripts]]&lt;br /&gt;
&lt;br /&gt;
Here you can add, delete or modify Kickstart scripts.&lt;br /&gt;
&lt;br /&gt;
* To add a script, press ''Add'', write your script in the bottom text field, choose script options in the right panel, and press ''Save''.&lt;br /&gt;
* To delete a script, select it and press ''Delete''.&lt;br /&gt;
* To modify a script, select it, modify the script in the bottom text field or the script options in the right panel, and press ''Save''.&lt;br /&gt;
&lt;br /&gt;
=== Overlay files ===&lt;br /&gt;
[[File: Obslightgui_mic_07.png|600px|OBS Light GUI main window - MIC project - Overlay files]]&lt;br /&gt;
&lt;br /&gt;
Here you can add files that will be included in the project image.&lt;br /&gt;
* To add an overlay file, press ''Add'' and a file browser will appear. Browse to your file and validate. Then a text dialog will appear, enter the path were you want your file to be copied in the image. '''tar''' archives will be extracted at the location you selected, instead of simply being copied.&lt;br /&gt;
* To delete an overlay file, select it and press ''Delete''.&lt;br /&gt;
&lt;br /&gt;
Implementation details:&lt;br /&gt;
* source files are first copied in MIC project's directory&lt;br /&gt;
* each overlay file will appear as a ''%post --nochoot'' script in the Kickstart file (but will be hidden in the ''Scripts'' tab).&lt;br /&gt;
&lt;br /&gt;
= Troubleshooting =&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;tt&amp;gt;&amp;quot;Source package 'xxx' not found&amp;quot;&amp;lt;/tt&amp;gt; or &amp;lt;tt&amp;gt;&amp;quot;Problem: nothing provides X needed by Y&amp;quot;&amp;lt;/tt&amp;gt; ==&lt;br /&gt;
These message may appear in two situations:&lt;br /&gt;
* The package you are trying to build is missing a dependency. OBS Light is not capable of searching dependencies outside the project from which your package comes. You will need to configure an additional repository in the project filesystem, using command ''filesystem repositories add'' or [[OBS_Light_Manual#The_project_filesystem_tab | the repository-related buttons]] in the GUI.&lt;br /&gt;
* In an ARM project filesystem, zypper or libzypp are broken, they do not see '''noarch''' packages. This problem was reported with zypper 1.5.3 and libzypp 8.12.1. We suggest you to update your zypper version to 1.6+. For convenience, we pre-built zypper 1.6.15 and libzypp 9.10.2 to Meego 1.2.0.&lt;br /&gt;
&lt;br /&gt;
=== How to install zypper 1.6.15 from our repository in an ARM project filesystem ===&lt;br /&gt;
==== From commandline ====&lt;br /&gt;
First add our repository to your filesystem's zypper configuration file:&lt;br /&gt;
 obslight filesystem repositories add http://repo.pub.meego.com/Project:/OBS_Light:/Zypper/MeeGo_1.2_OSS/ &amp;quot;Zypper_1.6.15_backport&amp;quot; $ProjectName&lt;br /&gt;
&lt;br /&gt;
Then chroot in the filesystem and update '''zypper''':&lt;br /&gt;
 obslight filesystem enter $ProjectName&lt;br /&gt;
  $ zypper update zypper&lt;br /&gt;
  $ exit&lt;br /&gt;
==== From GUI ====&lt;br /&gt;
* ''Project filesystem'' tab, ''Repository''-&amp;gt;''New'', URL http://repo.pub.meego.com/Project:/OBS_Light:/Zypper/MeeGo_1.2_OSS/ and alias &amp;quot;Zypper_1.6.15_backport&amp;quot;&lt;br /&gt;
* Then ''Project filesystem''-&amp;gt;''Open terminal''&lt;br /&gt;
 # zypper update zypper&lt;br /&gt;
 # exit&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;tt&amp;gt;&amp;quot;error: Architecture is not included: armv8el&amp;quot;&amp;lt;/tt&amp;gt; ==&lt;br /&gt;
The '''build''' package of your project filesystem does not support armv8el builds. Consider using another version, like the 2011.03.29 of MeeGo's repositories.&lt;br /&gt;
&lt;br /&gt;
=== How to install '''build''' version 2011.03.29 in a MeeGo 1.2.0 project filesystem ===&lt;br /&gt;
First add the MeeGo building tools repository to your project filesystem's zypper configuration file:&lt;br /&gt;
 obslight filesystem repositories add http://download.meego.com/live/Tools:/Building/MeeGo_1.2.0/ &amp;quot;Tools:Building_MeeGo_1.2.0&amp;quot; $ProjectName&lt;br /&gt;
&lt;br /&gt;
Then chroot in the filesystem and update '''build''':&lt;br /&gt;
 obslight filesystem enter $ProjectName&lt;br /&gt;
   # zypper update build&lt;br /&gt;
   # exit&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;tt&amp;gt;&amp;quot;chroot: failed to run command `sh': No such file or directory&amp;quot;&amp;lt;/tt&amp;gt; ==&lt;br /&gt;
This appears when '''binfmt_misc''' is not or badly configured.&lt;br /&gt;
Launch qemu's binfmt configuration script (as root):&lt;br /&gt;
 qemu-binfmt-conf.sh&lt;br /&gt;
If you still get the same message, try this (as root):&lt;br /&gt;
 echo -1 &amp;gt; /proc/sys/fs/binfmt_misc/arm&lt;br /&gt;
 echo &amp;quot;:arm:M::\x7fELF\x01\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x28\x00:\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff\xff:`which qemu-arm`:&amp;quot; &amp;gt; /proc/sys/fs/binfmt_misc/register&lt;br /&gt;
&lt;br /&gt;
== gnomekeyring.IOError ==&lt;br /&gt;
This error appears on Ubuntu when running obslight from a console, without a graphical environment. At the moment, the only known solution is to run obslight only from a graphical environment (e.g. Gnome).&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;tt&amp;gt;&amp;quot;sudo: sorry, you must have a tty to run sudo&amp;quot;&amp;lt;/tt&amp;gt; ==&lt;br /&gt;
This message may appear in logs if the '''requiretty''' option is set in sudo configuration file. Edit ''/etc/sudoers'' and comment out the following line:&lt;br /&gt;
 Defaults    requiretty&lt;br /&gt;
&lt;br /&gt;
= Internals =&lt;br /&gt;
== ObsLight GUI ==&lt;br /&gt;
[[File: ObsLightGui_class_diagram.png|link=http://wiki.meego.com/images/ObsLightGui_class_diagram.png|OBS Light GUI class diagram, click to see full size]]&lt;br /&gt;
&lt;br /&gt;
[https://meego.gitorious.org/meego-developer-tools/obs-light/blobs/master/Doc/dia_Resource/ObsLightGui_class_diagram.dia Dia source file]&lt;br /&gt;
&lt;br /&gt;
== ObsLight command line ==&lt;br /&gt;
[[File: Doc_ObsLightCommandLine_class_diagram.png|link=http://wiki.meego.com/File:Doc_ObsLightCommandLine_class_diagram.png|OBS Light command line class diagram, click to see full size]]&lt;br /&gt;
&lt;br /&gt;
[https://meego.gitorious.org/meego-developer-tools/obs-light/blobs/master/Doc/dia_Resource/Doc_ObsLightCommandLine_class_diagram.dia Dia source file]&lt;br /&gt;
&lt;br /&gt;
== ObsLight API Manager ==&lt;br /&gt;
[[File: Doc_ObsLight_API_Manager_class_diagram.png|link=http://wiki.meego.com/File:Doc_ObsLight_API_Manager_class_diagram.png|OBS Light API Manager class diagram, click to see full size]]&lt;br /&gt;
&lt;br /&gt;
[https://meego.gitorious.org/meego-developer-tools/obs-light/blobs/master/Doc/dia_Resource/Doc_ObsLight_API_Manager_class_diagram.dia Dia source file]&lt;br /&gt;
&lt;br /&gt;
= Testing =&lt;br /&gt;
== Infrastructure ==&lt;br /&gt;
You can find in [https://meego.gitorious.org/meego-developer-tools/obs-light OBS Light Git repository] some configuration files for [http://vagrantup.com/ Vagrant] and [https://github.com/jedi4ever/veewee Veewee]. Using them, you can build reference virtual machines (Fedora 16, openSUSE 12.1 and Ubuntu 11.10) and run test suites on them.&lt;br /&gt;
# Make a copy of a base virtual machine&lt;br /&gt;
# Copy test script and associated files in a shared folder&lt;br /&gt;
# Run virtual machine&lt;br /&gt;
# Run test script inside virtual machine with SSH&lt;br /&gt;
# Get results from shared folder&lt;br /&gt;
# Destroy (or just stop in case of failure) virtual machine&lt;br /&gt;
The complete procedure is explained in a [https://meego.gitorious.org/meego-developer-tools/obs-light/blobs/master/test/veewee/README README].&lt;br /&gt;
&lt;br /&gt;
== Test scenarios ==&lt;br /&gt;
Currently we provide only one test scenario:&lt;br /&gt;
# install OBS Light&lt;br /&gt;
# configure a server&lt;br /&gt;
# import a project&lt;br /&gt;
# create project filesystem&lt;br /&gt;
# import some packages (vim, tzdata, fastinit)&lt;br /&gt;
# execute preparation step of these packages&lt;br /&gt;
# build the RPMs of these packages&lt;br /&gt;
This scenario is implemented in a shell script, available [https://meego.gitorious.org/meego-developer-tools/obs-light/blobs/master/test/update_and_run_tests.sh here].&lt;/div&gt;</summary>
		<author><name>Fvennetier</name></author>	</entry>

	<entry>
		<id>http://wiki.meego.com/OBS_Light_Manual</id>
		<title>OBS Light Manual</title>
		<link rel="alternate" type="text/html" href="http://wiki.meego.com/OBS_Light_Manual"/>
				<updated>2012-04-12T08:07:59Z</updated>
		
		<summary type="html">&lt;p&gt;Fvennetier: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is the user manual of the command-line and graphical interface of OBS Light.&lt;br /&gt;
* [[OBS_Light | OBS Light project]]&lt;br /&gt;
* [[OBS_Light_FAQ | Frequently Asked Questions]]&lt;br /&gt;
* [[ObsLightDeliverable | Installation]]&lt;br /&gt;
= General principles =&lt;br /&gt;
== Operation modes ==&lt;br /&gt;
OBS Light is available via command line (obslight) and a graphical user interface GUI (obslightgui).&lt;br /&gt;
Independently of that fact that you are using the command line or the GUI, you will get access to the same services.&lt;br /&gt;
&lt;br /&gt;
== Videos training ==&lt;br /&gt;
We have created a set of video which will provide you a quick overview of how to start with OBS Light.&amp;lt;br&amp;gt;&lt;br /&gt;
They cover :&lt;br /&gt;
* Where to find the tool and information&lt;br /&gt;
* How to install OBS Light and get write access to an OBS&lt;br /&gt;
* Creation of you first project and package import&lt;br /&gt;
* Working in the project filesystem&lt;br /&gt;
* Auto creation of patch and upload to OBS&lt;br /&gt;
&lt;br /&gt;
http://www.dailymotion.com/playlist/x1t5ll_dominigarfoll_obs-light-training&lt;br /&gt;
&lt;br /&gt;
== Step by step ==&lt;br /&gt;
=== Get Login access to an OBS server ===&lt;br /&gt;
OBS Light is a simplified model to develop code via an OBS. It does not replace your OBS.&lt;br /&gt;
&lt;br /&gt;
To use OBS Light you will need a login access to an OBS. You have two simple methods to get a login on an OBS:&lt;br /&gt;
* You can create a login on several &amp;quot;free&amp;quot; OBS :&lt;br /&gt;
** MeeGo Community https://build.pub.meego.com/&lt;br /&gt;
** OpenSUSE https://build.opensuse.org/&lt;br /&gt;
* Run your private OBS instance&lt;br /&gt;
** Select a ready made MeeGo OBS appliance (highly recommended) http://susestudio.com/a/e0uuBG/meego-obs&lt;br /&gt;
** Install your private full appliance (advanced users only) http://en.opensuse.org/openSUSE:Build_Service_private_instance&lt;br /&gt;
&lt;br /&gt;
Once you have a login on an OBS instance, you will need to copy a project to play with. You can use the utilities ''obstag'' and ''obs2obscopy'' to achieve that in an easy way. See [[ Obstag ]].&lt;br /&gt;
&lt;br /&gt;
=== Configure your OBS servers ===&lt;br /&gt;
OBS Light needs to know on which server you will connect to. As OBS Light does more than the osc tool, more information will be needed. You will be asked the following  :&lt;br /&gt;
* OBS server web URL&lt;br /&gt;
* OBS server API URL&lt;br /&gt;
* OBS repository URL&lt;br /&gt;
* Login&lt;br /&gt;
* Password&lt;br /&gt;
* Alias (note that Alias will need to be different from any Alias already present in your osc configuration and OBS light will enforce that constrain). If you plan to use the import/export functions make sure that you use the same Alias on the sending and receiving hosts.&lt;br /&gt;
&lt;br /&gt;
Even if these information are copied in ''.osrcrc'', they must be maintain via the OBS light command.&lt;br /&gt;
&lt;br /&gt;
=== Import the package(s) to work on ===&lt;br /&gt;
After the configuration of one or more OBS servers, you will be able to import a package to work on.&lt;br /&gt;
You can also create an empty package would you like to.&lt;br /&gt;
&lt;br /&gt;
OBS Light will create a local copy of that package on your workstation in a very similar way to what an osc checkout action would do.&lt;br /&gt;
As osc, OBS Light transparently keeps track directly of the links between the packages and the associated OBS servers.&lt;br /&gt;
&lt;br /&gt;
=== Create the project filesystem ===&lt;br /&gt;
Once that you have loaded the packages, you can request the creation of a &amp;quot;chroot jail&amp;quot; (thereafter referred to as &amp;quot;filesystem&amp;quot; or &amp;quot;project filesystem&amp;quot;), where the packages can be built without interfering with the host's filesystem. The created filesystem is specific to the project and will not be recreated if it's already present.&lt;br /&gt;
During the creation of the filesystem, extra packages imposed by the build dependencies will be loaded automatically. If you are connected on a remote OBS that phase can take some time and may require a bit of patience.&lt;br /&gt;
&lt;br /&gt;
OBS Light tries to load automatically the dependencies from the analysis of the .spec file in the RPM but that is not always possible. The user has the possibility to add manually extra file and/or packages to the filesystem.&lt;br /&gt;
&lt;br /&gt;
Packages can be imported either from a project already present in OBS Light or from any URL.&lt;br /&gt;
&lt;br /&gt;
=== Importing the code in the project filesystem ===&lt;br /&gt;
Once that the filesystem is created, the source from the package can be imported in the filesystem. During that process, OBS Light will load the extra package needed to build that specific imported source and will create a special git tree which will monitor any changes done by the user.&lt;br /&gt;
&lt;br /&gt;
The user can directly open a window on the filesystem from OBS Light. The console program used by default can be defined in the OBS Light configuration file.&lt;br /&gt;
From there direct modification of the code in the filesystem is possible and local build can be run as often as desired.&lt;br /&gt;
&lt;br /&gt;
=== Committing changes ===&lt;br /&gt;
When the user is happy of his change, he can request the change from the filesystem to be committed directly in the package.&lt;br /&gt;
&lt;br /&gt;
A patch will be created and added to the package and configured in the .spec file by OBS Light.&lt;br /&gt;
&lt;br /&gt;
=== Saving changes on the OBS server ===&lt;br /&gt;
Once that changes on a given project (which can work on one or multiple packages) achieve a stage which is worth to push on the OBS server. The user can simply request to save the project and OBS Light will commit the changes automatically.&lt;br /&gt;
&lt;br /&gt;
== Example: patching MeeGo 1.2 ''kernel'' package ==&lt;br /&gt;
&lt;br /&gt;
=== Step1: inform ''obslight'' about your OBS account ===&lt;br /&gt;
 ## synthax: obslight server add server_alias &amp;lt;server_alias&amp;gt; login &amp;lt;login&amp;gt; password &amp;lt;password&amp;gt; api_url &amp;lt;api_url&amp;gt; repository_url &amp;lt;repository_url&amp;gt; web_url &amp;lt;web_url&amp;gt;&lt;br /&gt;
;''server_alias''&lt;br /&gt;
: is the alias you want to use to refer to this server.&lt;br /&gt;
;''api_url''&lt;br /&gt;
: is the URL to the OBS control API. If you are using [http://susestudio.com/a/e0uuBG/meego-obs OBS appliance], it's probably on port 81.&lt;br /&gt;
;''repository_url''&lt;br /&gt;
: is the URL to the OBS package repositories. If you are using [http://susestudio.com/a/e0uuBG/meego-obs OBS appliance], it's probably on port 82.&lt;br /&gt;
;''web_url''&lt;br /&gt;
: is the URL to the OBS web interface.&lt;br /&gt;
&lt;br /&gt;
=== Step2: create a local project related to your OBS project ===&lt;br /&gt;
* The project is created in '''~/OBSLight/ObsProjects/MeeGo_1.2_oss/'''&lt;br /&gt;
 ## synthax: obslight obsproject add &amp;lt;project_alias&amp;gt; &amp;lt;name_on_obs&amp;gt; &amp;lt;target&amp;gt; &amp;lt;arch&amp;gt; &amp;lt;server_alias&amp;gt;&lt;br /&gt;
 obslight obsproject add MeeGo_1.2_oss MeeGo:1.2:oss standard i586 &amp;lt;server_alias&amp;gt;&lt;br /&gt;
;''project_alias''&lt;br /&gt;
: is the name you will use to refer to this project with the ''obslight'' command (e.g. ''MeeGo_1.2_oss'').&lt;br /&gt;
;''name_on_obs''&lt;br /&gt;
: is the name of the project on the OBS (e.g. ''MeeGo:1.2:oss'').&lt;br /&gt;
;''target''&lt;br /&gt;
: is the target against which we will build (''standard'' is the common name when there is only one).&lt;br /&gt;
;''arch''&lt;br /&gt;
: is the target architecture of the project.&lt;br /&gt;
;''server_alias''&lt;br /&gt;
: is the alias of the OBS server from which we get the project (which has been configured in first step).&lt;br /&gt;
&lt;br /&gt;
=== Step3: add the kernel package to your local project ===&lt;br /&gt;
* The package is created in '''~/OBSLight/ObsProjects/MeeGo_1.2_oss/MeeGo:1.2:oss/kernel/'''&lt;br /&gt;
* In this directory, the package is manageable by osc.&lt;br /&gt;
 ## synthax: obslight package add package &amp;lt;package&amp;gt; project_alias &amp;lt;project_alias&amp;gt;&lt;br /&gt;
 obslight package add package kernel project_alias MeeGo_1.2_oss&lt;br /&gt;
;''package''&lt;br /&gt;
: is the name of the package you want to work on (e.g. '''kernel''').&lt;br /&gt;
;''project_alias''&lt;br /&gt;
: is the name of the project you created in step2.&lt;br /&gt;
&lt;br /&gt;
=== Step4: create the filesystem of the project ===&lt;br /&gt;
* The filesystem root directory is '''~/OBSLight/ObsProjects/MeeGo_1.2_oss/aChroot/'''.&lt;br /&gt;
* zypper is included in the filesystem and your OBS project's repository is automatically added.&lt;br /&gt;
 ## synthax: obslight filesystem create &amp;lt;project_alias&amp;gt;&lt;br /&gt;
 obslight filesystem create MeeGo_1.2_oss&lt;br /&gt;
&lt;br /&gt;
=== Step5: add the source of the kernel package into your filesystem ===&lt;br /&gt;
* The source package is extracted in directory '''/root/rpmbuild/BUILD/kernel-X.X.X/linux-X.X.X'''.&lt;br /&gt;
* After the installation, a git repository is initialized in package's directory.&lt;br /&gt;
 ## synthax: obslight rpmbuild prepare package &amp;lt;package&amp;gt; project_alias &amp;lt;project_alias&amp;gt;&lt;br /&gt;
 obslight rpmbuild prepare package kernel project_alias MeeGo_1.2_oss&lt;br /&gt;
&lt;br /&gt;
=== Step6: work as you want into your filesystem ===&lt;br /&gt;
* The directory '''~/OBSLight/ObsProjects/MeeGo_1.2_oss/chrootTransfert/''' is mounted into the chroot jail in '''/chrootTransfert/'''.&lt;br /&gt;
* Every script executed in ''aChroot'', is stored in '''/chrootTransfert/''' as '''runMe_YYYY-MM-DD_HHhMMmSS.sh'''.&lt;br /&gt;
 ## synthax: obslight filesystem enter package &amp;lt;package&amp;gt; project_alias &amp;lt;project_alias&amp;gt;&lt;br /&gt;
 obslight filesystem enter package kernel project_alias MeeGo_1.2_oss&lt;br /&gt;
&lt;br /&gt;
Now you are logged in the chroot jail.&lt;br /&gt;
In this example we just modify the kernel configuration.&lt;br /&gt;
 $ cp configs/kernel-x86.config .config&lt;br /&gt;
 $ make menuconfig&lt;br /&gt;
&lt;br /&gt;
=== Step7: save your modifications ===&lt;br /&gt;
There are two methods.&lt;br /&gt;
&lt;br /&gt;
==== Method1: by making a patch ====&lt;br /&gt;
 $ cp .config config-x86&lt;br /&gt;
 $ exit&lt;br /&gt;
&lt;br /&gt;
 ## synthax: obslight rpmbuild createpatch &amp;lt;patch&amp;gt; package &amp;lt;package&amp;gt; project_alias &amp;lt;project_alias&amp;gt;&lt;br /&gt;
 obslight rpmbuild createpatch myKernelPatch.patch package kernel project_alias MeeGo_1.2_oss&lt;br /&gt;
&lt;br /&gt;
* The patch is automatically added to the local spec file.&lt;br /&gt;
* '''myKernelPatch.patch''' is automatically added to the local package directory.&lt;br /&gt;
* ''kernel package specific:'' you must move the patch application command '''%patchXXX -p1''' after the command line '''cp $RPM_SOURCE_DIR/config-* .''' in the local spec file&lt;br /&gt;
 vi ~/OBSLight/MeeGo_1.2_oss/MeeGo:1.2:oss/kernel/kernel.spec&lt;br /&gt;
&lt;br /&gt;
==== Method2: by copying the new configuration file in OSC directory ====&lt;br /&gt;
 $ cp .config /chrootTransfert/config-x86&lt;br /&gt;
 $ exit&lt;br /&gt;
 cp ~/OBSLight/ObsProjects/MeeGo_1.2_oss/chrootTransfert/config-x86 ~/OBSLight/ObsProjects/MeeGo_1.2_oss/MeeGo:1.2:oss/kernel/&lt;br /&gt;
&lt;br /&gt;
=== Step8: Upstream your modifications to the OBS server ===&lt;br /&gt;
* The command ''package commit'' checks the additions and deletions of files, before committing the package to the OBS server.&lt;br /&gt;
 ## synthax: obslight package commit &amp;lt;message&amp;gt; package &amp;lt;package&amp;gt; project_alias &amp;lt;project_alias&amp;gt;&lt;br /&gt;
 obslight package commit &amp;quot;Patch kernel&amp;quot; package kernel project_alias MeeGo_1.2_oss&lt;br /&gt;
&lt;br /&gt;
= Command-line =&lt;br /&gt;
&lt;br /&gt;
The help is integrated in the tool. ''obslight help'' will give you an online help.&lt;br /&gt;
&lt;br /&gt;
To get more detail on a specific command you can type ''obslight &amp;lt;command&amp;gt; help''.&lt;br /&gt;
&lt;br /&gt;
 $ obslight help &lt;br /&gt;
 OBSlight:&lt;br /&gt;
    Provides a tool to manage an OBS project on your local machine in command line&lt;br /&gt;
    For informations, see the Help section&lt;br /&gt;
        obslight --Help&lt;br /&gt;
    The gui for OBSlight is obslightgui&lt;br /&gt;
    A FAQ is available at:&lt;br /&gt;
        *http://wiki.meego.com/OBS_Light_FAQ&lt;br /&gt;
    For additional informations, see:&lt;br /&gt;
        *http://wiki.meego.com/OBS_Light&lt;br /&gt;
 Usage: OBSlight [global command] &amp;lt;command&amp;gt; [--command-options]&lt;br /&gt;
 &lt;br /&gt;
 Type OBSlight &amp;lt;command&amp;gt; --Help to get Help on a specific command.&lt;br /&gt;
 Commands:&lt;br /&gt;
 &lt;br /&gt;
    server:                   Manage the OBS server&lt;br /&gt;
    obsproject:               Manage the OBSlight project&lt;br /&gt;
    package:                  Manage the packages of OBSlight project&lt;br /&gt;
    projectfilesystem (projectfs,filesystem,pfs) :&lt;br /&gt;
                              Manage the project filesystem of OBSlight project&lt;br /&gt;
    rpmbuild (rb) :           Manage the rpmbuild of the package into the project filesystem&lt;br /&gt;
    man:                      print the man help document&lt;br /&gt;
 &lt;br /&gt;
 global Options:&lt;br /&gt;
 &lt;br /&gt;
    quiet (-quiet,--quiet) :  run obslight in quiet mode&lt;br /&gt;
    debug (-debug,--debug) :  run obslight in debugger mode&lt;br /&gt;
    version (--version) :     show program's version number and exit&lt;br /&gt;
    help (-h,-help,--help) :  show this help message and exit&lt;br /&gt;
    noaction:                 Execute command but do nothing&lt;br /&gt;
&lt;br /&gt;
= Graphical interface =&lt;br /&gt;
The GUI is launched via the command ''obslightgui''.&lt;br /&gt;
Only the parameter ''--version'' is supported.&lt;br /&gt;
&lt;br /&gt;
It has two main tabs: one for OBS projects, one for MIC projects&lt;br /&gt;
&lt;br /&gt;
The buttons in each section apply to the relative section. They display a tool-tip when the mouse is positioned on them.&lt;br /&gt;
Button are grayed when there are not active or not yet implemented.&lt;br /&gt;
&lt;br /&gt;
== OBS projects tab ==&lt;br /&gt;
[[File: Obslightgui_01.png|600px|OBS Light GUI main window]]&lt;br /&gt;
&lt;br /&gt;
This tab allows you to manage an OBS project, its packages (and their files) and its filesystem.&lt;br /&gt;
&lt;br /&gt;
It has 3 main areas:&lt;br /&gt;
* OBS project&lt;br /&gt;
* Packages&lt;br /&gt;
* local files and project filesystem (on a tab)&lt;br /&gt;
&lt;br /&gt;
=== The project panel ===&lt;br /&gt;
The panel on the left displays the list of OBS projects locally configured, and information about the selected project.&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;5&amp;quot;&lt;br /&gt;
|&lt;br /&gt;
;New&lt;br /&gt;
: Create a new project. Currently you cannot create a new project from scratch using OBS Light, only import one.&lt;br /&gt;
;Import&lt;br /&gt;
: Import a project from an OBS server.&lt;br /&gt;
;Delete&lt;br /&gt;
: Delete the selected project. The project will be removed locally but will remain on the OBS server.&lt;br /&gt;
;Modify&lt;br /&gt;
: Modify the selected project configuration.&lt;br /&gt;
|&lt;br /&gt;
;Save&lt;br /&gt;
: Save the selected project to a file.&lt;br /&gt;
;Load&lt;br /&gt;
: Load a project from a file.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== The package panel ===&lt;br /&gt;
The panel on the middle displays the list of packages of the selected project, and information about the selected package.&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;5&amp;quot;&lt;br /&gt;
|&lt;br /&gt;
;New&lt;br /&gt;
: Create a new package. Currently you cannot create a new package from scratch using OBS Light, only import one.&lt;br /&gt;
;Import&lt;br /&gt;
: Import a package from an OBS project.&lt;br /&gt;
;Delete&lt;br /&gt;
: Delete the selected package(s). The packages will be removed locally but will remain on the OBS server.&lt;br /&gt;
;Modify&lt;br /&gt;
: Modify the package title and description. Currently not available.&lt;br /&gt;
|&lt;br /&gt;
;Update files&lt;br /&gt;
: Checkout/update files from the OBS (''osc update'' equivalent).&lt;br /&gt;
;Commit changes&lt;br /&gt;
: Commit changes to the OBS (''osc commit'' equivalent).&lt;br /&gt;
;Repair OSC directory&lt;br /&gt;
: Repair the OSC working copy of a package.&lt;br /&gt;
|&lt;br /&gt;
;Refresh status&lt;br /&gt;
: Refresh OBS and Local statuses.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== The file panel ===&lt;br /&gt;
The file panel has two tabs: '''Local directory''' and '''Project filesystem'''.&lt;br /&gt;
&lt;br /&gt;
==== The local directory tab ====&lt;br /&gt;
This tab shows the list of files contained in the selected package.&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;5&amp;quot;&lt;br /&gt;
|colspan=&amp;quot;2&amp;quot;|&lt;br /&gt;
;Open terminal&lt;br /&gt;
: Open a terminal in the package directory&lt;br /&gt;
;Package path&lt;br /&gt;
: Location of the package's OSC working copy&lt;br /&gt;
|-&lt;br /&gt;
| File-related buttons&lt;br /&gt;
| Patch-related buttons&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
;New&lt;br /&gt;
: Create a new empty file. Currently not available.&lt;br /&gt;
;Import&lt;br /&gt;
: Add a file from your local filesystem to the package.&lt;br /&gt;
;Delete&lt;br /&gt;
: Delete the selected file from the package.&lt;br /&gt;
;Modify&lt;br /&gt;
: Launch an editor on the selected file.&lt;br /&gt;
|&lt;br /&gt;
;New&lt;br /&gt;
: Generate a patch from the changes made into the project filesystem, and add this patch to the package and in the yaml and/or spec files. This patch becomes the current patch of the package, until the next '%prep'.&lt;br /&gt;
;Import&lt;br /&gt;
: Import an external patch. Currently not available.&lt;br /&gt;
;Delete&lt;br /&gt;
: Delete a patch. Currently not available.&lt;br /&gt;
;Update&lt;br /&gt;
: Update the current patch with new modifications.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== The project filesystem tab ====&lt;br /&gt;
This tab shows the complete file tree of selected project's filesystem.&lt;br /&gt;
If a package is selected and it has previously been imported into the filesystem, its path is expanded by default.&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;5&amp;quot;&lt;br /&gt;
|colspan=&amp;quot;3&amp;quot;|&lt;br /&gt;
;Open terminal&lt;br /&gt;
: Open a terminal in the filesystem, using '''chroot''', in the source directory of the current package if it is installed.&lt;br /&gt;
;Chroot path&lt;br /&gt;
: Location of the project filesystem.&lt;br /&gt;
|-&lt;br /&gt;
| Repository-related buttons&lt;br /&gt;
| Filesystem-related buttons&lt;br /&gt;
| Rpmbuild-related buttons&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
;New&lt;br /&gt;
: Make a package repository accessible from zypper inside the filesystem, by URL.&lt;br /&gt;
;Import&lt;br /&gt;
: Make the package repository of another OBS Light project accessible from zypper inside the filesystem.&lt;br /&gt;
;Delete&lt;br /&gt;
: Delete a repository from the filesystem.&lt;br /&gt;
;Modify&lt;br /&gt;
: Modify the URL or alias of a repository.&lt;br /&gt;
|&lt;br /&gt;
;New&lt;br /&gt;
: Create the filesystem of the project.&lt;br /&gt;
;Import&lt;br /&gt;
: Not yet implemented.&lt;br /&gt;
;Delete&lt;br /&gt;
: Delete the filesystem&lt;br /&gt;
;Modify&lt;br /&gt;
: Not yet implemented.&lt;br /&gt;
|&lt;br /&gt;
;%prep&lt;br /&gt;
: Install the sources of a package into the filesystem, execute the %prep section of the spec file and do the first build.&lt;br /&gt;
;%build&lt;br /&gt;
: Execute the %build section of the spec file of the selected package, in an alternative rpmbuild directory.&lt;br /&gt;
;%install&lt;br /&gt;
: Execute the %install section of the spec file of the selected package, in an alternative rpmbuild directory.&lt;br /&gt;
;%files&lt;br /&gt;
: Build the source and binary RPMs of the selected package, in an alternative rpmbuild directory.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== MIC projects tab ==&lt;br /&gt;
This tab allows you to manage a MIC (MeeGo Image Creator) project. You can change its architecture and image type, and edit its Kickstart file.&lt;br /&gt;
&lt;br /&gt;
On the left panel you can see a list of MIC projects. Click ''New'' to add one, you will be asked for a name, and an empty Kickstart file will be created.&lt;br /&gt;
&lt;br /&gt;
=== Project options ===&lt;br /&gt;
[[File: Obslightgui_mic_01.png|600px|OBS Light GUI main window - MIC project - Project options]]&lt;br /&gt;
&lt;br /&gt;
In this tab you can:&lt;br /&gt;
* change the generated image type&lt;br /&gt;
** ''fs'': a directory hierarchy containing the whole filesystem&lt;br /&gt;
** ''livecd'': a bootable image suitable for a CD&lt;br /&gt;
** ''liveusb'': a bootable image suitable for a USB key&lt;br /&gt;
** ''loop'': a filesystem image to be mounted with a loop device (with ''mount -o loop'')&lt;br /&gt;
** ''raw''&lt;br /&gt;
* change the architecture of the project (only i686 has been tested)&lt;br /&gt;
* open the directory of the project (with you default file browser)&lt;br /&gt;
* import a Kickstart file (that will overwrite the current file)&lt;br /&gt;
* export the current Kickstart file&lt;br /&gt;
* launch the creation of the image&lt;br /&gt;
&lt;br /&gt;
=== Kickstart options ===&lt;br /&gt;
[[File: Obslightgui_mic_02.png|600px|OBS Light GUI main window - MIC project - Kickstart options]]&lt;br /&gt;
&lt;br /&gt;
In this tab you can add, delete or modify the different options of the project's Kickstart file. These options are documented [http://fedoraproject.org/wiki/Anaconda/Kickstart here].&lt;br /&gt;
&lt;br /&gt;
* To add an option press the ''add'' button, and enter the full option line in the bottom text field, then press ''save''.&lt;br /&gt;
* To modify an option, select it, modify the bottom text field and press ''save''.&lt;br /&gt;
* To delete an option, select it, press ''delete'', and then ''save''.&lt;br /&gt;
&lt;br /&gt;
Notice that some options may have aliases, which will appear on the same line in the option list.&lt;br /&gt;
The ''repo'' option will not be listed here, but in the [[OBS_Light_Manual#Repositories | Repositories]] tab.&lt;br /&gt;
&lt;br /&gt;
=== Repositories ===&lt;br /&gt;
[[File: Obslightgui_mic_03.png|600px|OBS Light GUI main window - MIC project - Kickstart repositories]]&lt;br /&gt;
&lt;br /&gt;
In this tab, you can add, delete, or modify Kickstart repositories.&lt;br /&gt;
&lt;br /&gt;
* To add a repository, there are two possibilities:&lt;br /&gt;
** The repository is from an OBS project you worked on with OBS Light: press ''Import from OBS project'' and select the project.&lt;br /&gt;
** The repository is from an external project: press ''Add by URL'', and you will be asked for an URL and a name.&lt;br /&gt;
* To delete a repository, select it and press ''Delete''.&lt;br /&gt;
* To edit a repository, double-click on the cell of the property you want to edit (or simple click if it is a checkbox).&lt;br /&gt;
The changes are automatically saved.&lt;br /&gt;
&lt;br /&gt;
=== Packages ===&lt;br /&gt;
[[File: Obslightgui_mic_04.png|600px|OBS Light GUI main window - MIC project - Kickstart packages]]&lt;br /&gt;
&lt;br /&gt;
Here you can edit the package list of the project's Kickstart file.&lt;br /&gt;
Notice that multiple ''%package'' sections of original Kickstart file have been merged into one.&lt;br /&gt;
&lt;br /&gt;
Each package has an ''Included'' parameter which tells if it should be included in the generated image. If ''Included'' is not checked, the package will be explicitly excluded in the Kickstart file (its name will be prefixed with '-').&lt;br /&gt;
&lt;br /&gt;
=== Package groups ===&lt;br /&gt;
Here you can edit the list of package groups of the project's Kickstart file.&lt;br /&gt;
At the moment, no verification is done on package groups.&lt;br /&gt;
&lt;br /&gt;
=== Scripts ===&lt;br /&gt;
[[File: Obslightgui_mic_06.png|600px|OBS Light GUI main window - MIC project - Kickstart scripts]]&lt;br /&gt;
&lt;br /&gt;
Here you can add, delete or modify Kickstart scripts.&lt;br /&gt;
&lt;br /&gt;
* To add a script, press ''Add'', write your script in the bottom text field, choose script options in the right panel, and press ''Save''.&lt;br /&gt;
* To delete a script, select it and press ''Delete''.&lt;br /&gt;
* To modify a script, select it, modify the script in the bottom text field or the script options in the right panel, and press ''Save''.&lt;br /&gt;
&lt;br /&gt;
=== Overlay files ===&lt;br /&gt;
[[File: Obslightgui_mic_07.png|600px|OBS Light GUI main window - MIC project - Overlay files]]&lt;br /&gt;
&lt;br /&gt;
Here you can add files that will be included in the project image.&lt;br /&gt;
* To add an overlay file, press ''Add'' and a file browser will appear. Browse to your file and validate. Then a text dialog will appear, enter the path were you want your file to be copied in the image. '''tar''' archives will be extracted at the location you selected, instead of simply being copied.&lt;br /&gt;
* To delete an overlay file, select it and press ''Delete''.&lt;br /&gt;
&lt;br /&gt;
Implementation details:&lt;br /&gt;
* source files are first copied in MIC project's directory&lt;br /&gt;
* each overlay file will appear as a ''%post --nochoot'' script in the Kickstart file (but will be hidden in the ''Scripts'' tab).&lt;br /&gt;
&lt;br /&gt;
= Troubleshooting =&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;tt&amp;gt;&amp;quot;Source package 'xxx' not found&amp;quot;&amp;lt;/tt&amp;gt; or &amp;lt;tt&amp;gt;&amp;quot;Problem: nothing provides X needed by Y&amp;quot;&amp;lt;/tt&amp;gt; ==&lt;br /&gt;
These message may appear in two situations:&lt;br /&gt;
* The package you are trying to build is missing a dependency. OBS Light is not capable of searching dependencies outside the project from which your package comes. You will need to configure an additional repository in the project filesystem, using command ''filesystem repositories add'' or [[OBS_Light_Manual#The_project_filesystem_tab | the repository-related buttons]] in the GUI.&lt;br /&gt;
* In an ARM project filesystem, zypper or libzypp are broken, they do not see '''noarch''' packages. This problem was reported with zypper 1.5.3 and libzypp 8.12.1. We suggest you to update your zypper version to 1.6+. For convenience, we pre-built zypper 1.6.15 and libzypp 9.10.2 to Meego 1.2.0.&lt;br /&gt;
&lt;br /&gt;
=== How to install zypper 1.6.15 from our repository in an ARM project filesystem ===&lt;br /&gt;
==== From commandline ====&lt;br /&gt;
First add our repository to your filesystem's zypper configuration file:&lt;br /&gt;
 obslight filesystem repositories add http://repo.pub.meego.com/Project:/OBS_Light:/Zypper/MeeGo_1.2_OSS/ &amp;quot;Zypper_1.6.15_backport&amp;quot; $ProjectName&lt;br /&gt;
&lt;br /&gt;
Then chroot in the filesystem and update '''zypper''':&lt;br /&gt;
 obslight filesystem enter $ProjectName&lt;br /&gt;
  $ zypper update zypper&lt;br /&gt;
  $ exit&lt;br /&gt;
==== From GUI ====&lt;br /&gt;
* ''Project filesystem'' tab, ''Repository''-&amp;gt;''New'', URL http://repo.pub.meego.com/Project:/OBS_Light:/Zypper/MeeGo_1.2_OSS/ and alias &amp;quot;Zypper_1.6.15_backport&amp;quot;&lt;br /&gt;
* Then ''Project filesystem''-&amp;gt;''Open terminal''&lt;br /&gt;
 # zypper update zypper&lt;br /&gt;
 # exit&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;tt&amp;gt;&amp;quot;error: Architecture is not included: armv8el&amp;quot;&amp;lt;/tt&amp;gt; ==&lt;br /&gt;
The '''build''' package of your project filesystem does not support armv8el builds. Consider using another version, like the 2011.03.29 of MeeGo's repositories.&lt;br /&gt;
&lt;br /&gt;
=== How to install '''build''' version 2011.03.29 in a MeeGo 1.2.0 project filesystem ===&lt;br /&gt;
First add the MeeGo building tools repository to your project filesystem's zypper configuration file:&lt;br /&gt;
 obslight filesystem repositories add http://download.meego.com/live/Tools:/Building/MeeGo_1.2.0/ &amp;quot;Tools:Building_MeeGo_1.2.0&amp;quot; $ProjectName&lt;br /&gt;
&lt;br /&gt;
Then chroot in the filesystem and update '''build''':&lt;br /&gt;
 obslight filesystem enter $ProjectName&lt;br /&gt;
   # zypper update build&lt;br /&gt;
   # exit&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;tt&amp;gt;&amp;quot;chroot: failed to run command `sh': No such file or directory&amp;quot;&amp;lt;/tt&amp;gt; ==&lt;br /&gt;
This appears when '''binfmt_misc''' is not or badly configured.&lt;br /&gt;
Launch qemu's binfmt configuration script (as root):&lt;br /&gt;
 qemu-binfmt-conf.sh&lt;br /&gt;
If you still get the same message, try this (as root):&lt;br /&gt;
 echo -1 &amp;gt; /proc/sys/fs/binfmt_misc/arm&lt;br /&gt;
 echo &amp;quot;:arm:M::\x7fELF\x01\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x28\x00:\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff\xff:`which qemu-arm`:&amp;quot; &amp;gt; /proc/sys/fs/binfmt_misc/register&lt;br /&gt;
&lt;br /&gt;
== gnomekeyring.IOError ==&lt;br /&gt;
This error appears on Ubuntu when running obslight from a console, without a graphical environment. At the moment, the only known solution is to run obslight only from a graphical environment (e.g. Gnome).&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;tt&amp;gt;&amp;quot;sudo: sorry, you must have a tty to run sudo&amp;quot;&amp;lt;/tt&amp;gt; ==&lt;br /&gt;
This message may appear in logs if the '''requiretty''' option is set in sudo configuration file. Edit ''/etc/sudoers'' and comment out the following line:&lt;br /&gt;
 Defaults    requiretty&lt;br /&gt;
&lt;br /&gt;
= Internals =&lt;br /&gt;
== ObsLight GUI ==&lt;br /&gt;
[[File: ObsLightGui_class_diagram.png|link=http://wiki.meego.com/images/ObsLightGui_class_diagram.png|OBS Light GUI class diagram, click to see full size]]&lt;br /&gt;
&lt;br /&gt;
[https://meego.gitorious.org/meego-developer-tools/obs-light/blobs/master/Doc/dia_Resource/ObsLightGui_class_diagram.dia Dia source file]&lt;br /&gt;
&lt;br /&gt;
== ObsLight command line ==&lt;br /&gt;
[[File: Doc_ObsLightCommandLine_class_diagram.png|link=http://wiki.meego.com/File:Doc_ObsLightCommandLine_class_diagram.png|OBS Light command line class diagram, click to see full size]]&lt;br /&gt;
&lt;br /&gt;
[https://meego.gitorious.org/meego-developer-tools/obs-light/blobs/master/Doc/dia_Resource/Doc_ObsLightCommandLine_class_diagram.dia Dia source file]&lt;br /&gt;
&lt;br /&gt;
== ObsLight API Manager ==&lt;br /&gt;
[[File: Doc_ObsLight_API_Manager_class_diagram.png|link=http://wiki.meego.com/File:Doc_ObsLight_API_Manager_class_diagram.png|OBS Light API Manager class diagram, click to see full size]]&lt;br /&gt;
&lt;br /&gt;
[https://meego.gitorious.org/meego-developer-tools/obs-light/blobs/master/Doc/dia_Resource/Doc_ObsLight_API_Manager_class_diagram.dia Dia source file]&lt;br /&gt;
&lt;br /&gt;
= Testing =&lt;br /&gt;
== Infrastructure ==&lt;br /&gt;
You can find in [https://meego.gitorious.org/meego-developer-tools/obs-light OBS Light Git repository] some configuration files for [http://vagrantup.com/ Vagrant] and [https://github.com/jedi4ever/veewee Veewee]. Using them, you can build reference virtual machines (Fedora 16, openSUSE 12.1 and Ubuntu 11.10) and run test suites on them. The procedure is explained in a [https://meego.gitorious.org/meego-developer-tools/obs-light/blobs/master/test/veewee/README README].&lt;br /&gt;
&lt;br /&gt;
== Scenanios ==&lt;br /&gt;
Currently we provide only one test scenario:&lt;br /&gt;
# install OBS Light&lt;br /&gt;
# configure a server&lt;br /&gt;
# import a project&lt;br /&gt;
# create project filesystem&lt;br /&gt;
# import some packages (vim, tzdata, fastinit)&lt;br /&gt;
# execute preparation step of these packages&lt;br /&gt;
# build the RPMs of these packages&lt;br /&gt;
This scenario is implemented in a shell script, available [https://meego.gitorious.org/meego-developer-tools/obs-light/blobs/master/test/update_and_run_tests.sh here].&lt;/div&gt;</summary>
		<author><name>Fvennetier</name></author>	</entry>

	<entry>
		<id>http://wiki.meego.com/OBS_Light_Installation</id>
		<title>OBS Light Installation</title>
		<link rel="alternate" type="text/html" href="http://wiki.meego.com/OBS_Light_Installation"/>
				<updated>2012-04-05T12:28:37Z</updated>
		
		<summary type="html">&lt;p&gt;Fvennetier: /* For OpenSUSE 12.1 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= OBS Light Deliverable =&lt;br /&gt;
== Introduction ==&lt;br /&gt;
[[OBS Light]] project deliverable which are available are listed on this page. Publication of the information will follow the progress of the implementation (yes, we do publish early draft versions, using them is at your risk)&lt;br /&gt;
&lt;br /&gt;
== Packaged versions ==&lt;br /&gt;
Packaged versions of the OBS Light client (still in development) are available for OpenSUSE and Ubuntu.&lt;br /&gt;
=== For OpenSUSE 11.4 ===&lt;br /&gt;
The repository is [http://repo.pub.meego.com/Project:/OBS_Light/openSUSE_11.4/ here].&lt;br /&gt;
There are 2 packages:&lt;br /&gt;
* ''obslight'', which contains the API, a commandline client, and [[obstag | obstag, obs2obscopy and obsextractgroups]]&lt;br /&gt;
* ''obslight-gui'', which contains the graphical user interface&lt;br /&gt;
To install ''obslight'':&lt;br /&gt;
 # Add MeeGo tools repository, to get MIC&lt;br /&gt;
 zypper ar -f http://download.meego.com/live/devel:/tools:/building/openSUSE_11.4/devel:tools:building.repo&lt;br /&gt;
 # Add OBS Light repository&lt;br /&gt;
 zypper ar -f http://repo.pub.meego.com/Project:/OBS_Light/openSUSE_11.4/Project:OBS_Light.repo&lt;br /&gt;
optional, to disable GPG checks and prevent &amp;quot;File 'repomd.xml' from repository 'OBS_Light' is unsigned&amp;quot; messages&lt;br /&gt;
 echo &amp;quot;gpgcheck=0&amp;quot; &amp;gt;&amp;gt; /etc/zypp/repos.d/Project_OBS_Light.repo&lt;br /&gt;
&lt;br /&gt;
 # Refresh package database&lt;br /&gt;
 zypper --gpg-auto-import-keys ref&lt;br /&gt;
 # Install OBS Light (without GUI)&lt;br /&gt;
 zypper in obslight&lt;br /&gt;
&lt;br /&gt;
To install the GUI, you will need PySide:&lt;br /&gt;
 zypper ar -f http://download.opensuse.org/repositories/home:/cgoncalves:/pyside:/shiboken/openSUSE_11.4/ PySide&lt;br /&gt;
 zypper --gpg-auto-import-keys ref&lt;br /&gt;
 zypper in obslight-gui&lt;br /&gt;
&lt;br /&gt;
=== For OpenSUSE 12.1 ===&lt;br /&gt;
There are 2 packages:&lt;br /&gt;
* ''obslight'', which contains the API, a commandline client, and [[obstag | obstag, obs2obscopy and obsextractgroups]]&lt;br /&gt;
* ''obslight-gui'', which contains the graphical user interface&lt;br /&gt;
&lt;br /&gt;
 # Add MeeGo tools repository, to get MIC&lt;br /&gt;
 sudo zypper ar -f http://download.meego.com/live/devel:/tools:/building/openSUSE12.1/ tizen_tools&lt;br /&gt;
 # Add OBS Light repository&lt;br /&gt;
 sudo zypper ar -f http://repo.pub.meego.com/Project:/OBS_Light/openSUSE_12.1/Project:OBS_Light.repo&lt;br /&gt;
optional, to disable GPG checks and prevent &amp;quot;File 'repomd.xml' from repository 'OBS_Light' is unsigned&amp;quot; messages&lt;br /&gt;
 echo &amp;quot;gpgcheck=0&amp;quot; | sudo tee -a &amp;quot;/etc/zypp/repos.d/Project_OBS_Light.repo&amp;quot; &amp;gt; /dev/null&lt;br /&gt;
 echo &amp;quot;gpgcheck=0&amp;quot; | sudo tee -a &amp;quot;/etc/zypp/repos.d/tizen_tools.repo&amp;quot; &amp;gt; /dev/null&lt;br /&gt;
&lt;br /&gt;
 # Refresh package database&lt;br /&gt;
 sudo zypper --gpg-auto-import-keys ref&lt;br /&gt;
 # Install OBS Light (without GUI)&lt;br /&gt;
 sudo zypper in obslight&lt;br /&gt;
&lt;br /&gt;
To install the GUI, you will need PySide:&lt;br /&gt;
 sudo zypper ar -f http://download.opensuse.org/repositories/home:/Fisiu:/pyside/openSUSE_12.1/home:Fisiu:pyside.repo&lt;br /&gt;
 sudo zypper --gpg-auto-import-keys ref&lt;br /&gt;
 sudo zypper in obslight-gui&lt;br /&gt;
&lt;br /&gt;
=== For Ubuntu ===&lt;br /&gt;
The repositories are [http://repo.pub.meego.com/Project:/OBS_Light/ here]. Available Ubuntu versions are '''10.04''' and '''11.10'''.&lt;br /&gt;
There is only one package, ''obslight'', which contains the commandline, the GUI and the utilities. Add the following line to your '''/etc/apt/sources.list''' file (or to a new file '''/etc/apt/sources.list.d/obslight.list'''):&lt;br /&gt;
 # Ubuntu 10.04&lt;br /&gt;
 ## MIC and dependencies&lt;br /&gt;
 deb http://download.meego.com/live/devel:/tools:/building/Ubuntu_10.04/ ./&lt;br /&gt;
 ## OBS Light&lt;br /&gt;
 deb http://repo.pub.meego.com/Project:/OBS_Light/Ubuntu_10.04/ ./&lt;br /&gt;
&lt;br /&gt;
 # Ubuntu 11.10&lt;br /&gt;
 ## MIC and dependencies&lt;br /&gt;
 deb http://download.meego.com/live/devel:/tools:/building/xUbuntu_11.10/ ./&lt;br /&gt;
 ## OBS Light&lt;br /&gt;
 deb http://repo.pub.meego.com/Project:/OBS_Light/Ubuntu_11.10/ ./&lt;br /&gt;
You also need a recent version of [http://www.pyside.org/ PySide]:&lt;br /&gt;
 sudo apt-add-repository ppa:pyside/ppa&lt;br /&gt;
If you have Ubuntu 10.04 and an old version of '''osc''' (&amp;lt; 0.132) we suggest also adding:&lt;br /&gt;
 deb http://download.opensuse.org/repositories/openSUSE:/Tools/xUbuntu_10.04/ ./&lt;br /&gt;
Refresh the APT database and install OBS Light:&lt;br /&gt;
 sudo apt-get update&lt;br /&gt;
 sudo apt-get install obslight&lt;br /&gt;
Add yourself to the '''users''' group:&lt;br /&gt;
 sudo usermod -a -G users `whoami`&lt;br /&gt;
You should log out so that the system takes into account your new group.&lt;br /&gt;
If you don't want to log out, you can use &amp;quot;''newgrp users''&amp;quot; before running obslight (but it will only work in the current console).&lt;br /&gt;
&lt;br /&gt;
=== For Fedora 16 ===&lt;br /&gt;
The repository is [http://repo.pub.meego.com//Project:/OBS_Light/Fedora_16/ here].&lt;br /&gt;
There are 2 packages:&lt;br /&gt;
* ''obslight'', which contains the API, a commandline client, and [[obstag | obstag, obs2obscopy and obsextractgroups]].&lt;br /&gt;
* ''obslight-gui'', which contains the graphical user interface.&lt;br /&gt;
&lt;br /&gt;
Execute the following commands:&lt;br /&gt;
 # Add OBS Light repository&lt;br /&gt;
 sudo wget http://repo.pub.meego.com/Project:/OBS_Light/Fedora_16/Project:OBS_Light.repo -O /etc/yum.repos.d/Project_OBS_Light.repo&lt;br /&gt;
 # Deactivate GPG check&lt;br /&gt;
 sudo sed -r -i &amp;quot;s/(gpgcheck)=1/\1=0/&amp;quot; /etc/yum.repos.d/Project_OBS_Light.repo&lt;br /&gt;
 # Update repository cache&lt;br /&gt;
 sudo yum makecache&lt;br /&gt;
 # Install OBS Light&lt;br /&gt;
 sudo yum install obslight obslight-gui&lt;br /&gt;
 # Add yourself to the &amp;quot;users&amp;quot; group&lt;br /&gt;
 sudo usermod -a -G users `whoami`&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
To get a brief overview of all available commands, just type:&lt;br /&gt;
 obslight --help&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== OBS Tagging and Project copying ==&lt;br /&gt;
One of the problem that any user of a private OBS will quickly face, is the need to tag specific version of a project and allow the copy of the project from an OBS to an other OBS or from one project to an other project.&lt;br /&gt;
&lt;br /&gt;
More details on obstag and obs2obscopy can be found [[obstag | here]]&lt;br /&gt;
&lt;br /&gt;
= Migration from old versions =&lt;br /&gt;
== OBS Light &amp;lt; 0.4.22 ==&lt;br /&gt;
Starting from OBS Light 0.4.22, MIC and its dependencies won't be maintained in OBS Light's repositories anymore. You will have to add official MIC repository to get MIC dependencies. Just remove the old repository and follow the appropriate procedure. Fedora users can keep using old repositories.&lt;br /&gt;
=== openSUSE 11.4 ===&lt;br /&gt;
 sudo zypper rr Project_OBS_Light&lt;br /&gt;
and [[#For OpenSUSE 11.4]]&lt;br /&gt;
=== openSUSE 12.1 ===&lt;br /&gt;
 sudo zypper rr Project_OBS_Light_openSUSE_12.1&lt;br /&gt;
and [[#For_OpenSUSE_12.1]]&lt;br /&gt;
=== Ubuntu ===&lt;br /&gt;
 sudo rm /etc/apt/sources.list.d/obslight.list&lt;br /&gt;
and [[#For Ubuntu]].&lt;br /&gt;
&lt;br /&gt;
== OBS Light appliance &amp;lt; 0.4.52 ==&lt;br /&gt;
If you are using [http://susestudio.com/a/e0uuBG/meego-obs-light OBS Light appliance] older than 0.4.52, and you don't want to download the latest version, you can update it doing the following:&lt;br /&gt;
 # Remove old openSUSE 12.1 specific OBS Light repository&lt;br /&gt;
 sudo zypper rr Project_OBS_Light_openSUSE_12.1&lt;br /&gt;
 # Add Tizen Tools and OBS Light repositories&lt;br /&gt;
 sudo zypper ar -f http://download.meego.com/live/devel:/tools:/building/openSUSE12.1/ tizen_tools&lt;br /&gt;
 sudo zypper ar -f http://repo.pub.meego.com/Project:/OBS_Light/openSUSE_12.1/Project:OBS_Light.repo&lt;br /&gt;
 # Refresh package database&lt;br /&gt;
 sudo zypper --gpg-auto-import-keys ref&lt;br /&gt;
 # Update MIC and OBS Light&lt;br /&gt;
 sudo zypper up mic obslight obslight-gui&lt;br /&gt;
(same procedure as [[#For_openSUSE_12.1 | for openSUSE 12.1]])&lt;br /&gt;
&lt;br /&gt;
= Links =&lt;br /&gt;
* [[OBS Light | OBS Light main page]]&lt;br /&gt;
* [[OBS_Light_FAQ | OBS Light Frequently Asked Questions]]&lt;br /&gt;
* [[OBS_Light_Manual | OBS Light Manual]]&lt;br /&gt;
* [https://meego.gitorious.org/meego-developer-tools/obs-light/ OBS Light project on Gitorious]&lt;br /&gt;
* [https://build.pub.meego.com/project/show?project=Project%3AOBS_Light OBS Light project on MeeGo build service]&lt;/div&gt;</summary>
		<author><name>Fvennetier</name></author>	</entry>

	<entry>
		<id>http://wiki.meego.com/OBS_Light_Installation</id>
		<title>OBS Light Installation</title>
		<link rel="alternate" type="text/html" href="http://wiki.meego.com/OBS_Light_Installation"/>
				<updated>2012-04-05T12:24:19Z</updated>
		
		<summary type="html">&lt;p&gt;Fvennetier: /* For OpenSUSE 12.1 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= OBS Light Deliverable =&lt;br /&gt;
== Introduction ==&lt;br /&gt;
[[OBS Light]] project deliverable which are available are listed on this page. Publication of the information will follow the progress of the implementation (yes, we do publish early draft versions, using them is at your risk)&lt;br /&gt;
&lt;br /&gt;
== Packaged versions ==&lt;br /&gt;
Packaged versions of the OBS Light client (still in development) are available for OpenSUSE and Ubuntu.&lt;br /&gt;
=== For OpenSUSE 11.4 ===&lt;br /&gt;
The repository is [http://repo.pub.meego.com/Project:/OBS_Light/openSUSE_11.4/ here].&lt;br /&gt;
There are 2 packages:&lt;br /&gt;
* ''obslight'', which contains the API, a commandline client, and [[obstag | obstag, obs2obscopy and obsextractgroups]]&lt;br /&gt;
* ''obslight-gui'', which contains the graphical user interface&lt;br /&gt;
To install ''obslight'':&lt;br /&gt;
 # Add MeeGo tools repository, to get MIC&lt;br /&gt;
 zypper ar -f http://download.meego.com/live/devel:/tools:/building/openSUSE_11.4/devel:tools:building.repo&lt;br /&gt;
 # Add OBS Light repository&lt;br /&gt;
 zypper ar -f http://repo.pub.meego.com/Project:/OBS_Light/openSUSE_11.4/Project:OBS_Light.repo&lt;br /&gt;
optional, to disable GPG checks and prevent &amp;quot;File 'repomd.xml' from repository 'OBS_Light' is unsigned&amp;quot; messages&lt;br /&gt;
 echo &amp;quot;gpgcheck=0&amp;quot; &amp;gt;&amp;gt; /etc/zypp/repos.d/Project_OBS_Light.repo&lt;br /&gt;
&lt;br /&gt;
 # Refresh package database&lt;br /&gt;
 zypper --gpg-auto-import-keys ref&lt;br /&gt;
 # Install OBS Light (without GUI)&lt;br /&gt;
 zypper in obslight&lt;br /&gt;
&lt;br /&gt;
To install the GUI, you will need PySide:&lt;br /&gt;
 zypper ar -f http://download.opensuse.org/repositories/home:/cgoncalves:/pyside:/shiboken/openSUSE_11.4/ PySide&lt;br /&gt;
 zypper --gpg-auto-import-keys ref&lt;br /&gt;
 zypper in obslight-gui&lt;br /&gt;
&lt;br /&gt;
=== For OpenSUSE 12.1 ===&lt;br /&gt;
There are 2 packages:&lt;br /&gt;
* ''obslight'', which contains the API, a commandline client, and [[obstag | obstag, obs2obscopy and obsextractgroups]]&lt;br /&gt;
* ''obslight-gui'', which contains the graphical user interface&lt;br /&gt;
&lt;br /&gt;
 # Add MeeGo tools repository, to get MIC&lt;br /&gt;
 zypper ar -f http://download.meego.com/live/devel:/tools:/building/openSUSE12.1/ tizen_tools&lt;br /&gt;
 # Add OBS Light repository&lt;br /&gt;
 zypper ar -f http://repo.pub.meego.com/Project:/OBS_Light/openSUSE_12.1/Project:OBS_Light.repo&lt;br /&gt;
optional, to disable GPG checks and prevent &amp;quot;File 'repomd.xml' from repository 'OBS_Light' is unsigned&amp;quot; messages&lt;br /&gt;
 echo &amp;quot;gpgcheck=0&amp;quot; &amp;gt;&amp;gt; &amp;quot;/etc/zypp/repos.d/Project_OBS_Light.repo&amp;quot;&lt;br /&gt;
 echo &amp;quot;gpgcheck=0&amp;quot; &amp;gt;&amp;gt; &amp;quot;/etc/zypp/repos.d/tizen_tools.repo&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 # Refresh package database&lt;br /&gt;
 zypper --gpg-auto-import-keys ref&lt;br /&gt;
 # Install OBS Light (without GUI)&lt;br /&gt;
 zypper in obslight-gui&lt;br /&gt;
&lt;br /&gt;
To install the GUI, you will need PySide:&lt;br /&gt;
 zypper ar -f http://download.opensuse.org/repositories/home:/Fisiu:/pyside/openSUSE_12.1/home:Fisiu:pyside.repo&lt;br /&gt;
 zypper --gpg-auto-import-keys ref&lt;br /&gt;
 zypper in obslight-gui&lt;br /&gt;
&lt;br /&gt;
=== For Ubuntu ===&lt;br /&gt;
The repositories are [http://repo.pub.meego.com/Project:/OBS_Light/ here]. Available Ubuntu versions are '''10.04''' and '''11.10'''.&lt;br /&gt;
There is only one package, ''obslight'', which contains the commandline, the GUI and the utilities. Add the following line to your '''/etc/apt/sources.list''' file (or to a new file '''/etc/apt/sources.list.d/obslight.list'''):&lt;br /&gt;
 # Ubuntu 10.04&lt;br /&gt;
 ## MIC and dependencies&lt;br /&gt;
 deb http://download.meego.com/live/devel:/tools:/building/Ubuntu_10.04/ ./&lt;br /&gt;
 ## OBS Light&lt;br /&gt;
 deb http://repo.pub.meego.com/Project:/OBS_Light/Ubuntu_10.04/ ./&lt;br /&gt;
&lt;br /&gt;
 # Ubuntu 11.10&lt;br /&gt;
 ## MIC and dependencies&lt;br /&gt;
 deb http://download.meego.com/live/devel:/tools:/building/xUbuntu_11.10/ ./&lt;br /&gt;
 ## OBS Light&lt;br /&gt;
 deb http://repo.pub.meego.com/Project:/OBS_Light/Ubuntu_11.10/ ./&lt;br /&gt;
You also need a recent version of [http://www.pyside.org/ PySide]:&lt;br /&gt;
 sudo apt-add-repository ppa:pyside/ppa&lt;br /&gt;
If you have Ubuntu 10.04 and an old version of '''osc''' (&amp;lt; 0.132) we suggest also adding:&lt;br /&gt;
 deb http://download.opensuse.org/repositories/openSUSE:/Tools/xUbuntu_10.04/ ./&lt;br /&gt;
Refresh the APT database and install OBS Light:&lt;br /&gt;
 sudo apt-get update&lt;br /&gt;
 sudo apt-get install obslight&lt;br /&gt;
Add yourself to the '''users''' group:&lt;br /&gt;
 sudo usermod -a -G users `whoami`&lt;br /&gt;
You should log out so that the system takes into account your new group.&lt;br /&gt;
If you don't want to log out, you can use &amp;quot;''newgrp users''&amp;quot; before running obslight (but it will only work in the current console).&lt;br /&gt;
&lt;br /&gt;
=== For Fedora 16 ===&lt;br /&gt;
The repository is [http://repo.pub.meego.com//Project:/OBS_Light/Fedora_16/ here].&lt;br /&gt;
There are 2 packages:&lt;br /&gt;
* ''obslight'', which contains the API, a commandline client, and [[obstag | obstag, obs2obscopy and obsextractgroups]].&lt;br /&gt;
* ''obslight-gui'', which contains the graphical user interface.&lt;br /&gt;
&lt;br /&gt;
Execute the following commands:&lt;br /&gt;
 # Add OBS Light repository&lt;br /&gt;
 sudo wget http://repo.pub.meego.com/Project:/OBS_Light/Fedora_16/Project:OBS_Light.repo -O /etc/yum.repos.d/Project_OBS_Light.repo&lt;br /&gt;
 # Deactivate GPG check&lt;br /&gt;
 sudo sed -r -i &amp;quot;s/(gpgcheck)=1/\1=0/&amp;quot; /etc/yum.repos.d/Project_OBS_Light.repo&lt;br /&gt;
 # Update repository cache&lt;br /&gt;
 sudo yum makecache&lt;br /&gt;
 # Install OBS Light&lt;br /&gt;
 sudo yum install obslight obslight-gui&lt;br /&gt;
 # Add yourself to the &amp;quot;users&amp;quot; group&lt;br /&gt;
 sudo usermod -a -G users `whoami`&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
To get a brief overview of all available commands, just type:&lt;br /&gt;
 obslight --help&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== OBS Tagging and Project copying ==&lt;br /&gt;
One of the problem that any user of a private OBS will quickly face, is the need to tag specific version of a project and allow the copy of the project from an OBS to an other OBS or from one project to an other project.&lt;br /&gt;
&lt;br /&gt;
More details on obstag and obs2obscopy can be found [[obstag | here]]&lt;br /&gt;
&lt;br /&gt;
= Migration from old versions =&lt;br /&gt;
== OBS Light &amp;lt; 0.4.22 ==&lt;br /&gt;
Starting from OBS Light 0.4.22, MIC and its dependencies won't be maintained in OBS Light's repositories anymore. You will have to add official MIC repository to get MIC dependencies. Just remove the old repository and follow the appropriate procedure. Fedora users can keep using old repositories.&lt;br /&gt;
=== openSUSE 11.4 ===&lt;br /&gt;
 sudo zypper rr Project_OBS_Light&lt;br /&gt;
and [[#For OpenSUSE 11.4]]&lt;br /&gt;
=== openSUSE 12.1 ===&lt;br /&gt;
 sudo zypper rr Project_OBS_Light_openSUSE_12.1&lt;br /&gt;
and [[#For_OpenSUSE_12.1]]&lt;br /&gt;
=== Ubuntu ===&lt;br /&gt;
 sudo rm /etc/apt/sources.list.d/obslight.list&lt;br /&gt;
and [[#For Ubuntu]].&lt;br /&gt;
&lt;br /&gt;
== OBS Light appliance &amp;lt; 0.4.52 ==&lt;br /&gt;
If you are using [http://susestudio.com/a/e0uuBG/meego-obs-light OBS Light appliance] older than 0.4.52, and you don't want to download the latest version, you can update it doing the following:&lt;br /&gt;
 # Remove old openSUSE 12.1 specific OBS Light repository&lt;br /&gt;
 sudo zypper rr Project_OBS_Light_openSUSE_12.1&lt;br /&gt;
 # Add Tizen Tools and OBS Light repositories&lt;br /&gt;
 sudo zypper ar -f http://download.meego.com/live/devel:/tools:/building/openSUSE12.1/ tizen_tools&lt;br /&gt;
 sudo zypper ar -f http://repo.pub.meego.com/Project:/OBS_Light/openSUSE_12.1/Project:OBS_Light.repo&lt;br /&gt;
 # Refresh package database&lt;br /&gt;
 sudo zypper --gpg-auto-import-keys ref&lt;br /&gt;
 # Update MIC and OBS Light&lt;br /&gt;
 sudo zypper up mic obslight obslight-gui&lt;br /&gt;
(same procedure as [[#For_openSUSE_12.1 | for openSUSE 12.1]])&lt;br /&gt;
&lt;br /&gt;
= Links =&lt;br /&gt;
* [[OBS Light | OBS Light main page]]&lt;br /&gt;
* [[OBS_Light_FAQ | OBS Light Frequently Asked Questions]]&lt;br /&gt;
* [[OBS_Light_Manual | OBS Light Manual]]&lt;br /&gt;
* [https://meego.gitorious.org/meego-developer-tools/obs-light/ OBS Light project on Gitorious]&lt;br /&gt;
* [https://build.pub.meego.com/project/show?project=Project%3AOBS_Light OBS Light project on MeeGo build service]&lt;/div&gt;</summary>
		<author><name>Fvennetier</name></author>	</entry>

	<entry>
		<id>http://wiki.meego.com/OBS_Light_Installation</id>
		<title>OBS Light Installation</title>
		<link rel="alternate" type="text/html" href="http://wiki.meego.com/OBS_Light_Installation"/>
				<updated>2012-04-04T15:17:30Z</updated>
		
		<summary type="html">&lt;p&gt;Fvennetier: /* Packaged versions */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= OBS Light Deliverable =&lt;br /&gt;
== Introduction ==&lt;br /&gt;
[[OBS Light]] project deliverable which are available are listed on this page. Publication of the information will follow the progress of the implementation (yes, we do publish early draft versions, using them is at your risk)&lt;br /&gt;
&lt;br /&gt;
== Packaged versions ==&lt;br /&gt;
Packaged versions of the OBS Light client (still in development) are available for OpenSUSE and Ubuntu.&lt;br /&gt;
=== For OpenSUSE 11.4 ===&lt;br /&gt;
The repository is [http://repo.pub.meego.com/Project:/OBS_Light/openSUSE_11.4/ here].&lt;br /&gt;
There are 2 packages:&lt;br /&gt;
* ''obslight'', which contains the API, a commandline client, and [[obstag | obstag, obs2obscopy and obsextractgroups]]&lt;br /&gt;
* ''obslight-gui'', which contains the graphical user interface&lt;br /&gt;
To install ''obslight'':&lt;br /&gt;
 # Add MeeGo tools repository, to get MIC&lt;br /&gt;
 zypper ar -f http://download.meego.com/live/devel:/tools:/building/openSUSE_11.4/devel:tools:building.repo&lt;br /&gt;
 # Add OBS Light repository&lt;br /&gt;
 zypper ar -f http://repo.pub.meego.com/Project:/OBS_Light/openSUSE_11.4/Project:OBS_Light.repo&lt;br /&gt;
optional, to disable GPG checks and prevent &amp;quot;File 'repomd.xml' from repository 'OBS_Light' is unsigned&amp;quot; messages&lt;br /&gt;
 echo &amp;quot;gpgcheck=0&amp;quot; &amp;gt;&amp;gt; /etc/zypp/repos.d/Project_OBS_Light.repo&lt;br /&gt;
&lt;br /&gt;
 # Refresh package database&lt;br /&gt;
 zypper --gpg-auto-import-keys ref&lt;br /&gt;
 # Install OBS Light (without GUI)&lt;br /&gt;
 zypper in obslight&lt;br /&gt;
&lt;br /&gt;
To install the GUI, you will need PySide:&lt;br /&gt;
 zypper ar -f http://download.opensuse.org/repositories/home:/cgoncalves:/pyside:/shiboken/openSUSE_11.4/ PySide&lt;br /&gt;
 zypper --gpg-auto-import-keys ref&lt;br /&gt;
 zypper in obslight-gui&lt;br /&gt;
&lt;br /&gt;
=== For OpenSUSE 12.1 ===&lt;br /&gt;
There are 2 packages:&lt;br /&gt;
* ''obslight'', which contains the API, a commandline client, and [[obstag | obstag, obs2obscopy and obsextractgroups]]&lt;br /&gt;
* ''obslight-gui'', which contains the graphical user interface&lt;br /&gt;
&lt;br /&gt;
 # Add MeeGo tools repository, to get MIC&lt;br /&gt;
 zypper ar -f http://download.meego.com/live/devel:/tools:/building/openSUSE12.1/ tizen_tools&lt;br /&gt;
 # Add OBS Light repository&lt;br /&gt;
 zypper ar -f http://repo.pub.meego.com/Project:/OBS_Light/openSUSE_12.1/Project:OBS_Light.repo&lt;br /&gt;
optional, to disable GPG checks and prevent &amp;quot;File 'repomd.xml' from repository 'OBS_Light' is unsigned&amp;quot; messages&lt;br /&gt;
 echo &amp;quot;gpgcheck=0&amp;quot; &amp;gt;&amp;gt; &amp;quot;/etc/zypp/repos.d/Project_OBS_Light.repo&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 # Refresh package database&lt;br /&gt;
 zypper --gpg-auto-import-keys ref&lt;br /&gt;
 # Install OBS Light (without GUI)&lt;br /&gt;
 zypper in obslight-gui&lt;br /&gt;
&lt;br /&gt;
To install the GUI, you will need PySide:&lt;br /&gt;
 zypper ar -f http://download.opensuse.org/repositories/home:/Fisiu:/pyside/openSUSE_12.1/home:Fisiu:pyside.repo&lt;br /&gt;
 zypper --gpg-auto-import-keys ref&lt;br /&gt;
 zypper in obslight-gui&lt;br /&gt;
&lt;br /&gt;
=== For Ubuntu ===&lt;br /&gt;
The repositories are [http://repo.pub.meego.com/Project:/OBS_Light/ here]. Available Ubuntu versions are '''10.04''' and '''11.10'''.&lt;br /&gt;
There is only one package, ''obslight'', which contains the commandline, the GUI and the utilities. Add the following line to your '''/etc/apt/sources.list''' file (or to a new file '''/etc/apt/sources.list.d/obslight.list'''):&lt;br /&gt;
 # Ubuntu 10.04&lt;br /&gt;
 ## MIC and dependencies&lt;br /&gt;
 deb http://download.meego.com/live/devel:/tools:/building/Ubuntu_10.04/ ./&lt;br /&gt;
 ## OBS Light&lt;br /&gt;
 deb http://repo.pub.meego.com/Project:/OBS_Light/Ubuntu_10.04/ ./&lt;br /&gt;
&lt;br /&gt;
 # Ubuntu 11.10&lt;br /&gt;
 ## MIC and dependencies&lt;br /&gt;
 deb http://download.meego.com/live/devel:/tools:/building/xUbuntu_11.10/ ./&lt;br /&gt;
 ## OBS Light&lt;br /&gt;
 deb http://repo.pub.meego.com/Project:/OBS_Light/Ubuntu_11.10/ ./&lt;br /&gt;
You also need a recent version of [http://www.pyside.org/ PySide]:&lt;br /&gt;
 sudo apt-add-repository ppa:pyside/ppa&lt;br /&gt;
If you have Ubuntu 10.04 and an old version of '''osc''' (&amp;lt; 0.132) we suggest also adding:&lt;br /&gt;
 deb http://download.opensuse.org/repositories/openSUSE:/Tools/xUbuntu_10.04/ ./&lt;br /&gt;
Refresh the APT database and install OBS Light:&lt;br /&gt;
 sudo apt-get update&lt;br /&gt;
 sudo apt-get install obslight&lt;br /&gt;
Add yourself to the '''users''' group:&lt;br /&gt;
 sudo usermod -a -G users `whoami`&lt;br /&gt;
You should log out so that the system takes into account your new group.&lt;br /&gt;
If you don't want to log out, you can use &amp;quot;''newgrp users''&amp;quot; before running obslight (but it will only work in the current console).&lt;br /&gt;
&lt;br /&gt;
=== For Fedora 16 ===&lt;br /&gt;
The repository is [http://repo.pub.meego.com//Project:/OBS_Light/Fedora_16/ here].&lt;br /&gt;
There are 2 packages:&lt;br /&gt;
* ''obslight'', which contains the API, a commandline client, and [[obstag | obstag, obs2obscopy and obsextractgroups]].&lt;br /&gt;
* ''obslight-gui'', which contains the graphical user interface.&lt;br /&gt;
&lt;br /&gt;
Execute the following commands:&lt;br /&gt;
 # Add OBS Light repository&lt;br /&gt;
 sudo wget http://repo.pub.meego.com/Project:/OBS_Light/Fedora_16/Project:OBS_Light.repo -O /etc/yum.repos.d/Project_OBS_Light.repo&lt;br /&gt;
 # Deactivate GPG check&lt;br /&gt;
 sudo sed -r -i &amp;quot;s/(gpgcheck)=1/\1=0/&amp;quot; /etc/yum.repos.d/Project_OBS_Light.repo&lt;br /&gt;
 # Update repository cache&lt;br /&gt;
 sudo yum makecache&lt;br /&gt;
 # Install OBS Light&lt;br /&gt;
 sudo yum install obslight obslight-gui&lt;br /&gt;
 # Add yourself to the &amp;quot;users&amp;quot; group&lt;br /&gt;
 sudo usermod -a -G users `whoami`&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
To get a brief overview of all available commands, just type:&lt;br /&gt;
 obslight --help&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== OBS Tagging and Project copying ==&lt;br /&gt;
One of the problem that any user of a private OBS will quickly face, is the need to tag specific version of a project and allow the copy of the project from an OBS to an other OBS or from one project to an other project.&lt;br /&gt;
&lt;br /&gt;
More details on obstag and obs2obscopy can be found [[obstag | here]]&lt;br /&gt;
&lt;br /&gt;
= Migration from old versions =&lt;br /&gt;
== OBS Light &amp;lt; 0.4.22 ==&lt;br /&gt;
Starting from OBS Light 0.4.22, MIC and its dependencies won't be maintained in OBS Light's repositories anymore. You will have to add official MIC repository to get MIC dependencies. Just remove the old repository and follow the appropriate procedure. Fedora users can keep using old repositories.&lt;br /&gt;
=== openSUSE 11.4 ===&lt;br /&gt;
 sudo zypper rr Project_OBS_Light&lt;br /&gt;
and [[#For OpenSUSE 11.4]]&lt;br /&gt;
=== openSUSE 12.1 ===&lt;br /&gt;
 sudo zypper rr Project_OBS_Light_openSUSE_12.1&lt;br /&gt;
and [[#For_OpenSUSE_12.1]]&lt;br /&gt;
=== Ubuntu ===&lt;br /&gt;
 sudo rm /etc/apt/sources.list.d/obslight.list&lt;br /&gt;
and [[#For Ubuntu]].&lt;br /&gt;
&lt;br /&gt;
== OBS Light appliance &amp;lt; 0.4.52 ==&lt;br /&gt;
If you are using [http://susestudio.com/a/e0uuBG/meego-obs-light OBS Light appliance] older than 0.4.52, and you don't want to download the latest version, you can update it doing the following:&lt;br /&gt;
 # Remove old openSUSE 12.1 specific OBS Light repository&lt;br /&gt;
 sudo zypper rr Project_OBS_Light_openSUSE_12.1&lt;br /&gt;
 # Add Tizen Tools and OBS Light repositories&lt;br /&gt;
 sudo zypper ar -f http://download.meego.com/live/devel:/tools:/building/openSUSE12.1/ tizen_tools&lt;br /&gt;
 sudo zypper ar -f http://repo.pub.meego.com/Project:/OBS_Light/openSUSE_12.1/Project:OBS_Light.repo&lt;br /&gt;
 # Refresh package database&lt;br /&gt;
 sudo zypper --gpg-auto-import-keys ref&lt;br /&gt;
 # Update MIC and OBS Light&lt;br /&gt;
 sudo zypper up mic obslight obslight-gui&lt;br /&gt;
(same procedure as [[#For_openSUSE_12.1 | for openSUSE 12.1]])&lt;br /&gt;
&lt;br /&gt;
= Links =&lt;br /&gt;
* [[OBS Light | OBS Light main page]]&lt;br /&gt;
* [[OBS_Light_FAQ | OBS Light Frequently Asked Questions]]&lt;br /&gt;
* [[OBS_Light_Manual | OBS Light Manual]]&lt;br /&gt;
* [https://meego.gitorious.org/meego-developer-tools/obs-light/ OBS Light project on Gitorious]&lt;br /&gt;
* [https://build.pub.meego.com/project/show?project=Project%3AOBS_Light OBS Light project on MeeGo build service]&lt;/div&gt;</summary>
		<author><name>Fvennetier</name></author>	</entry>

	<entry>
		<id>http://wiki.meego.com/OBS_Light_FAQ</id>
		<title>OBS Light FAQ</title>
		<link rel="alternate" type="text/html" href="http://wiki.meego.com/OBS_Light_FAQ"/>
				<updated>2012-04-02T11:45:28Z</updated>
		
		<summary type="html">&lt;p&gt;Fvennetier: Changed ObsLightDeliverable -&amp;gt; OBS Light Installation&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Frequently Asked Questions =&lt;br /&gt;
== Where does ''obslight'' store its data? ==&lt;br /&gt;
All data is stored in '''~/OBSLight''' and subdirectories.&lt;br /&gt;
&lt;br /&gt;
Each OBS project has its own directory in '''~/OBSLight/ObsProjects/''', each MIC project has its own directory in '''~/OBSLight/MicProjects/'''.&lt;br /&gt;
&lt;br /&gt;
== Is there a configuration file ? ==&lt;br /&gt;
Configuration file is '''~/OBSLight/ObslightConfig'''.&lt;br /&gt;
&lt;br /&gt;
== How do I run OBS light server appliance on my Desktop ? ==&lt;br /&gt;
While running an OBS Light appliance is simple and easy and just requires 1GB of RAM allocated to the virtual machine, running an OBS server appliance can be much more demanding but running the OBS server server appliance on your desktop or laptop (a minimum 4GB of RAM is mandatory) via a virtual machine can be very handy during evaluation tests.&amp;lt;br/&amp;gt;&lt;br /&gt;
The main advantage is that you do not need a special authorisation from your IT department to start playing but you need to allocate at least 2GB to the appliance and as many CPU cores that you can spare. You need to patch on the OBS server appliance ''(need to be root)'' the file '''/etc/sysconfig/obs-worker''' to set the variable OBS_WORKER_INSTANCES to 1 (default is zero) to limit the RAM resources requires by your appliance during build process.&lt;br /&gt;
If you plan to build large packages such as Chromium you will need more than 2GB of RAM allocated (actually on my desktop I have 16GB). &amp;lt;br/&amp;gt;&lt;br /&gt;
You can overcome that limit with the addition of an obsworker appliance on a separate server. OBS Light project provides one pre-configured to work with and OBS Light server appliance.&amp;lt;br/&amp;gt;&lt;br /&gt;
If you use the Bridge mode, external OBS work appliance will be detected and used automatically (NAT more would require a complex configuration). The Worker can be running on a more powerfull unit and speed the preparation work before for example leaving the office with a complete fully built project on a laptop.&lt;br /&gt;
You can stop the worker on the laptop by the command '''rcobsworker stop''' ''(need to be root)''. You can check that your OBS Worker appliance can see your OBS Light Server Appliance with the command '''slptool findsrvs obs.source_server'''&amp;lt;br/&amp;gt;&lt;br /&gt;
As a general rule using the bridge mode is advisable. Note ''this is '''not''' the default option of VirtualBox''.&lt;br /&gt;
The NAT mode is interesting to run an OBS Light server via a VPN or for unconnected demos. In that case you will need to declare NAT rules in your Vitual Machine Manager redirecting the ports 80, 81 and 82 from your local host to your OBS appliance internal NAT address ''(with VitualBox under Linux rerouting port bellow 1000 is reserved for root only)''.&amp;lt;br/&amp;gt;&lt;br /&gt;
Do not forget to add a host name &amp;quot;obslightserver&amp;quot; in your workstation pointing to the OBS Light server appliance IP address or localhost in the case of a NAT configuration.&lt;br /&gt;
&lt;br /&gt;
== How to show the log ? ==&lt;br /&gt;
* From the menu: ''Window'' -&amp;gt; ''Show log''&lt;br /&gt;
* When a long operation is running, there is a button under the progress bar.&lt;br /&gt;
* A log file is written in &amp;lt;tt&amp;gt;~/OBSLight/obslight.log&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== Why does MeeGo's '''kernel''' package fail to build for ARM? ==&lt;br /&gt;
The '''kernel''' package has flags to prevent builds on ARM.&lt;br /&gt;
To compile an ARM kernel, you must use another package, for example the '''kernel-adaptation-n900''' package.&lt;br /&gt;
&lt;br /&gt;
== How install the dependency of a package into the project filesystem? ==&lt;br /&gt;
If the project on your OBS doesn’t provide some dependencies and you must add a repository to your project filesystem's zypper configuration, you have two choices:&lt;br /&gt;
* First one, use an URL and an alias:&lt;br /&gt;
 ## obslight filesystem repositories add &amp;lt;repository_url&amp;gt; &amp;lt;repository_alias&amp;gt; &amp;lt;project_alias&amp;gt;&lt;br /&gt;
 obslight filesystem repositories add http://download.meego.com/live/MeeGo:/1.2:/non-oss/MeeGo_1.2/ MeeGo_non-oss MeeGo_1.2_oss&lt;br /&gt;
* Second one, add the repository of another local project:&lt;br /&gt;
 ## obslight filesystem repositories add from &amp;lt;source_project_alias&amp;gt; &amp;lt;project_alias&amp;gt;&lt;br /&gt;
 obslight filesystem repositories add from MeeGo_1.2_non-oss MeeGo_1.2_oss&lt;br /&gt;
&lt;br /&gt;
== How to create a new package ? (from an existing SPEC file) ==&lt;br /&gt;
=== Requirements ===&lt;br /&gt;
* A project on an OBS server (public or [http://susestudio.com/a/e0uuBG/meego-obs private]) where you have maintainer rights (for example your home project), and with a [http://en.opensuse.org/openSUSE:Build_Service_Tutorial#Step_Three.C2.A0.E2.80.93_Choose_build_targets build target] already configured.&lt;br /&gt;
* An archive of your program, named like &amp;lt;tt&amp;gt;program-version.tar.gz&amp;lt;/tt&amp;gt; (&amp;lt;tt&amp;gt;tar.bz2&amp;lt;/tt&amp;gt; is OK).&lt;br /&gt;
* A valid SPEC file, named &amp;lt;tt&amp;gt;program.spec&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== Procedure ===&lt;br /&gt;
[[OBS Light]] cannot create new packages at the moment. You have to use the web UI or ''osc'' first.&lt;br /&gt;
# Using the web UI:&lt;br /&gt;
#* Go to the project you want to add your package to.&lt;br /&gt;
#* Go to ''Packages'' tab.&lt;br /&gt;
#* Click ''Create package''.&lt;br /&gt;
#* Give a name to the package (we recommend the same name as your program, in lower-case), a title and a description (optional but recommended).&lt;br /&gt;
# Now you should be able to import this package in [[OBS Light]].&lt;br /&gt;
#* Run &amp;lt;tt&amp;gt;obslightgui&amp;lt;/tt&amp;gt;.&lt;br /&gt;
#* Click ''Import project'' button (on the left-bottom).&lt;br /&gt;
#* Select a server from the list or configure a new one.&lt;br /&gt;
#* Select your project in the list.&lt;br /&gt;
#* Select a target and an architecture.&lt;br /&gt;
#* Give an alias to the project (can be the name of the project without &amp;quot;''':'''&amp;quot;, we suggest suffixing with the architecture).&lt;br /&gt;
#* You should now see a list of packages, with the one you created in web UI.&lt;br /&gt;
#* Select it and press ''finish''.&lt;br /&gt;
# The package is now imported into OBS Light, with status ''broken'' (because it has no files).&lt;br /&gt;
#* In the right panel, select tab ''Local directory'', click ''Import file''.&lt;br /&gt;
#* Select your SPEC file and archive (and YAML file if you have one).&lt;br /&gt;
#* The files appear in the list with status ''Added''.&lt;br /&gt;
#* In the middle panel, click ''Commit changes'', and enter a commit message.&lt;br /&gt;
#* The files are uploaded, and the package starts to build on the OBS server.&lt;br /&gt;
&lt;br /&gt;
== How to prepare a Spec file using Spectacle ? ==&lt;br /&gt;
*Official documentation: [[Spectacle]]&lt;br /&gt;
*Why using Spectacle: [[Packaging/Guidelines#Writing_a_package_from_scratch]]&lt;br /&gt;
&lt;br /&gt;
=== Generate a YAML file from scratch ===&lt;br /&gt;
==== Manually ====&lt;br /&gt;
Run the following command:&lt;br /&gt;
 specify --new=your_package_name&lt;br /&gt;
It will create a new YAML file from a template, and ask you to edit the file. Just replace &amp;quot;&amp;lt;tt&amp;gt;^^^&amp;lt;/tt&amp;gt;&amp;quot; occurrences by which seems appropriate, and got to the [[#Customize_the_Spec_and_YAML_files | Spec and YAML customization section]].&lt;br /&gt;
&lt;br /&gt;
==== Automatically ====&lt;br /&gt;
[https://meego.gitorious.org/meego-developer-tools/autospectacle autospectacle] can analyze source archives and generate an appropriate YAML file, but has no documentation.&lt;br /&gt;
&lt;br /&gt;
=== Generate a YAML file from a Spec file ===&lt;br /&gt;
If you already have a Spec file for your program, you may still want to create a YAML file in order to standardize or simplify it. Run the following command:&lt;br /&gt;
 spec2spectacle your_package_name.spec&lt;br /&gt;
It will parse your Spec file, generate a YAML file, and generate a new Spec file from the YAML file. Notice that the conversion is not perfect, and you may lost information.&lt;br /&gt;
&lt;br /&gt;
=== Customize the Spec and YAML files ===&lt;br /&gt;
Except from lines between &amp;quot;&amp;lt;tt&amp;gt;# &amp;gt;&amp;gt; &amp;lt;/tt&amp;gt;&amp;quot; and &amp;quot;&amp;lt;tt&amp;gt;# &amp;lt;&amp;lt; &amp;lt;/tt&amp;gt;&amp;quot; tags, the content of the Spec file should not be modified by you, because it will be re-written by &amp;lt;tt&amp;gt;specify&amp;lt;/tt&amp;gt; each time you modify the YAML file. So if you see a line you don't like, you have to find which option of the YAML file has generated it (or can prevent it to be generated), change it, and run the following command to update the Spec file:&lt;br /&gt;
 specify your_package_name.yaml&lt;br /&gt;
Complete list of Spectacle options is here: [[Spectacle#Syntax_of_spectacle_YAML | Syntax of spectacle YAML]]&lt;br /&gt;
&lt;br /&gt;
== Where to send bug reports ? ==&lt;br /&gt;
Bugs are centralized on [https://bugs.meego.com/buglist.cgi?product=Development%20Tools&amp;amp;component=OBS%20Light MeeGo's bugzilla].&lt;br /&gt;
&lt;br /&gt;
= Links =&lt;br /&gt;
* [[OBS_Light | OBS Light main page]]&lt;br /&gt;
* [[OBS_Light_Installation | OBS Light installation]]&lt;br /&gt;
* [[OBS_Light_Manual | OBS Light manual]]&lt;br /&gt;
* [https://meego.gitorious.org/meego-developer-tools/obs-light/ OBS Light project on Gitorious]&lt;br /&gt;
* [https://build.pub.meego.com/project/show?project=Project%3AOBS_Light OBS Light project on MeeGo build service]&lt;/div&gt;</summary>
		<author><name>Fvennetier</name></author>	</entry>

	<entry>
		<id>http://wiki.meego.com/OBS_Light</id>
		<title>OBS Light</title>
		<link rel="alternate" type="text/html" href="http://wiki.meego.com/OBS_Light"/>
				<updated>2012-04-02T11:42:23Z</updated>
		
		<summary type="html">&lt;p&gt;Fvennetier: Changed ObsLightDeliverable -&amp;gt; OBS Light Installation&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:OBSLightWiki.png‎ ]]&lt;br /&gt;
[http://blynt.canalblog.com/ Blynt]&lt;br /&gt;
&lt;br /&gt;
= Why should I use OBS Light ?=&lt;br /&gt;
* I want to create a [https://meego.com/ MeeGo-based] distribution for my target ([https://meego.com/devices/smart-tv Smart TV], [https://meego.com/devices/in-vehicle In-Vehicle], [https://meego.com/devices/media-phone Media phone], [https://meego.com/devices/netbook Netbook], [https://meego.com/devices/handset Handset] ...).&lt;br /&gt;
* I want to include private code into my [https://meego.com/ MeeGo-based] distribution.&lt;br /&gt;
* I want to be fast from the beginning of my project to the first boot of my target.&lt;br /&gt;
* I want to use the same tools throughout my development cycle.&lt;br /&gt;
&lt;br /&gt;
= Why not use OBS Light ?=&lt;br /&gt;
OBS Light is targeting the development of variants of MeeGo distribution (or any OBS build distro) to either add extra features to a MeeGo product or adapt a MeeGo distribution to different hardware configurations.&lt;br /&gt;
It is not an another SDK, if you want to develop applications for a MeeGo product you should have a look at the [https://meego.com/developers MeeGo SDK] which likely will better fit your need.&lt;br /&gt;
&lt;br /&gt;
= What is OBS Light ?=&lt;br /&gt;
The project 'OBS Light' (or also obslight) , creates an encapsulation of OBS which presents a lighter face of OBS that we have called OBS light which could be delivered (if desired) with a pre-packaged MeeGo TV stack (or any other MeeGo vertical) released on a DVD image. The name was chosen to express that it remains an OBS base development process, but which is lighter to use, the idea of seeing the project as  a light to guide the user in the flow of tools such as OBS, OSC, MIC, ... only came later. Once you will also see it incorrectly spell as 'OBS Lite'.&lt;br /&gt;
&lt;br /&gt;
If you have (or are thinking about) selecting MeeGo but you cannot put all the code you want to build on OBS, the public, cloud-based MeeGo building tool, or if you are more comfortable with the tradition of local build tools based on a chroot than with a full cloud-based system like OBS, you might find the learning curve a bit steep.&lt;br /&gt;
&lt;br /&gt;
While OBS will provide you with a very powerful and adapted tool for your long-term needs, the entry cost can be perceived to be too high.&lt;br /&gt;
This issue is particularly strongly perceived in the TV or IVI segments where recompilation of the Linux kernel and adding drivers is required even during the very early phases of a project and compiling in the public domain is out of the question.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In a second phase we hope to add a simple UI to it. It reuses the osc command line tools delivered with OBS to which a set of extra plugins have been added, including an extension of mic. All this remains compatible with a full implementation of OBS. It will be published under License: GPLv2.&lt;br /&gt;
&lt;br /&gt;
The osc plugin for automatic patch creation are designed to be reusable in a full OBS environment.&lt;br /&gt;
&lt;br /&gt;
The coding is under work and changes are likely to occur during the development process.&lt;br /&gt;
&lt;br /&gt;
Note that under the hood, OBS light still is 100% OBS code and the building process is the same as what you could achieve by running your own private OBS.&lt;br /&gt;
OBS Light mainly pre-configures an OBS with a few osc plugins to ease the learning curve.&lt;br /&gt;
 &lt;br /&gt;
Note that some OBS feature are hidden to simplify the learning phase. As the service is run locally, you can mix Open Source and private code should you need to do so.&lt;br /&gt;
&lt;br /&gt;
= How to test or use OBS Light? =&lt;br /&gt;
You can find a OBS Light appliance, build in [http://susestudio.com suse studio]:&lt;br /&gt;
 http://susestudio.com/a/e0uuBG/meego-obs-light&lt;br /&gt;
&lt;br /&gt;
* uptodate Build for various distros can be found in the [[OBS Light Installation]] page.&lt;br /&gt;
&lt;br /&gt;
* Videos training and intro [http://www.dailymotion.com/playlist/x1t5ll_dominigarfoll_obs-light-training Starting with OBS Light]&lt;br /&gt;
&lt;br /&gt;
= Where is the information about OBS Light? =&lt;br /&gt;
* [[OBS_Light_Manual | OBS Light manual]]&lt;br /&gt;
* [[OBS_Light_FAQ | Frequently Asked Questions]]&lt;br /&gt;
* You can file bugs on [https://bugs.meego.com/buglist.cgi?product=Development%20Tools&amp;amp;component=OBS%20Light MeeGo's bugzilla]. The bug list for the project can be reached [https://bugs.meego.com/buglist.cgi?product=Development%20Tools&amp;amp;amp;component=OBS%20Light here]. To easily file a new bug, use [https://bugs.meego.com/enter_bug.cgi?product=Development%20Tools this link]&lt;br /&gt;
 &lt;br /&gt;
All discussions are run on the MeeGo-distribution-tools mailing list.&lt;br /&gt;
http://lists.meego.com/listinfo/meego-distribution-tools&lt;br /&gt;
&lt;br /&gt;
= Where can I find a private OBS appliance? =&lt;br /&gt;
You can find a OBS appliance, build in [http://susestudio.com suse studio]:&lt;br /&gt;
 http://susegallery.com/a/e0uuBG/meego-obs&lt;br /&gt;
&lt;br /&gt;
For more information about private OBS: http://en.opensuse.org/openSUSE:Build_Service_private_instance&lt;br /&gt;
 &lt;br /&gt;
You can Download the boot strap of Meego 1.2.0 here (saveOBS.tar.aa   -&amp;gt; saveOBS.tar.ba).&lt;br /&gt;
 http://www.cc-e.co.uk/Meego/MeeGo-1.2.0/&lt;br /&gt;
reassembled the file&lt;br /&gt;
 cat saveOBS.tar.??  &amp;gt;&amp;gt; saveOBS.tar.gz &lt;br /&gt;
Thanks to Julien Snell and Cocom for the ftp server.&lt;br /&gt;
http://www.cc-e.co.uk&lt;br /&gt;
&lt;br /&gt;
= What difference between OBS and OBS Light? =&lt;br /&gt;
OBS Light use an OBS server.&lt;br /&gt;
{|&lt;br /&gt;
|      ||   '''OBS Light'''   ||   '''Full OBS'''&lt;br /&gt;
|-&lt;br /&gt;
|   Cross compilation    ||   Yes     ||   Yes&lt;br /&gt;
|-&lt;br /&gt;
|   Local and remote reference    ||   Yes     ||   Yes&lt;br /&gt;
|-&lt;br /&gt;
|   Automatic creation of patch    ||   Yes     ||   Not Yet (will if the same osc plugin is loaded)&lt;br /&gt;
|-&lt;br /&gt;
|   Bootable Image creation    ||   Yes     ||   Add on&lt;br /&gt;
|-&lt;br /&gt;
|   Integrated version control    ||   Hidden     ||   Yes&lt;br /&gt;
|-&lt;br /&gt;
|   Multi-user    ||   Hidden     ||   Yes&lt;br /&gt;
|-&lt;br /&gt;
|   Multi-target by project    ||   Hidden     ||   Yes&lt;br /&gt;
|-&lt;br /&gt;
|   Auto built    ||   Hidden     ||   Yes&lt;br /&gt;
|-&lt;br /&gt;
|   Signing service   ||   Hidden     ||   Yes&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Initial Specifications (final implementation have differed from the initial concept) :[[https://meego.gitorious.org/meego-developer-tools/obs-light/blobs/master/Doc/SpecOBSLight-1_V-0-6.pdf SpecOBSLight-1_V-0-6]]&lt;br /&gt;
&lt;br /&gt;
= Where is the OBS Light code? =&lt;br /&gt;
GIT: https://meego.gitorious.org/meego-developer-tools/obs-light&lt;br /&gt;
&lt;br /&gt;
OBS: https://build.pub.meego.com/project/show?project=Project%3AOBS_Light&lt;/div&gt;</summary>
		<author><name>Fvennetier</name></author>	</entry>

	<entry>
		<id>http://wiki.meego.com/ObsLightDeliverable</id>
		<title>ObsLightDeliverable</title>
		<link rel="alternate" type="text/html" href="http://wiki.meego.com/ObsLightDeliverable"/>
				<updated>2012-04-02T11:39:30Z</updated>
		
		<summary type="html">&lt;p&gt;Fvennetier: moved ObsLightDeliverable to OBS Light Installation: New title is more understandable.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [[OBS Light Installation]]&lt;/div&gt;</summary>
		<author><name>Fvennetier</name></author>	</entry>

	<entry>
		<id>http://wiki.meego.com/OBS_Light_Installation</id>
		<title>OBS Light Installation</title>
		<link rel="alternate" type="text/html" href="http://wiki.meego.com/OBS_Light_Installation"/>
				<updated>2012-04-02T11:39:30Z</updated>
		
		<summary type="html">&lt;p&gt;Fvennetier: moved ObsLightDeliverable to OBS Light Installation: New title is more understandable.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= OBS Light Deliverable =&lt;br /&gt;
== Introduction ==&lt;br /&gt;
[[OBS Light]] project deliverable which are available are listed on this page. Publication of the information will follow the progress of the implementation (yes, we do publish early draft versions, using them is at your risk)&lt;br /&gt;
&lt;br /&gt;
== Packaged versions ==&lt;br /&gt;
Packaged versions of the OBS Light client (still in development) are available for OpenSUSE and Ubuntu.&lt;br /&gt;
=== For OpenSUSE 11.4 ===&lt;br /&gt;
The repository is [http://repo.pub.meego.com/Project:/OBS_Light/openSUSE_11.4/ here].&lt;br /&gt;
There are 2 packages:&lt;br /&gt;
* ''obslight'', which contains the API, a commandline client, and [[obstag | obstag, obs2obscopy and obsextractgroups]]&lt;br /&gt;
* ''obslight-gui'', which contains the graphical user interface&lt;br /&gt;
You will also need MIC, which is hosted [http://download.meego.com/live/devel:/tools:/building/openSUSE_11.4/ here].&lt;br /&gt;
To install ''obslight'':&lt;br /&gt;
 zypper ar -f http://download.meego.com/live/devel:/tools:/building/openSUSE_11.4/devel:tools:building.repo&lt;br /&gt;
 zypper ar -f http://repo.pub.meego.com/Project:/OBS_Light/openSUSE_11.4/Project:OBS_Light.repo&lt;br /&gt;
optional, to disable GPG checks and prevent &amp;quot;File 'repomd.xml' from repository 'OBS_Light' is unsigned&amp;quot; messages&lt;br /&gt;
 echo &amp;quot;gpgcheck=0&amp;quot; &amp;gt;&amp;gt; /etc/zypp/repos.d/Project_OBS_Light.repo&lt;br /&gt;
&lt;br /&gt;
 zypper --gpg-auto-import-keys ref&lt;br /&gt;
 zypper in obslight&lt;br /&gt;
To install the GUI, you will need PySide:&lt;br /&gt;
 zypper ar -f http://download.opensuse.org/repositories/home:/cgoncalves:/pyside:/shiboken/openSUSE_11.4/ PySide&lt;br /&gt;
 zypper --gpg-auto-import-keys ref&lt;br /&gt;
 zypper in obslight-gui&lt;br /&gt;
&lt;br /&gt;
=== For OpenSUSE 12.1 ===&lt;br /&gt;
There are 2 packages:&lt;br /&gt;
* ''obslight'', which contains the API, a commandline client, and [[obstag | obstag, obs2obscopy and obsextractgroups]]&lt;br /&gt;
* ''obslight-gui'', which contains the graphical user interface&lt;br /&gt;
You will also need MIC, which is hosted [http://download.meego.com/live/devel:/tools:/building/openSUSE12.1/ here].&lt;br /&gt;
 zypper ar -f http://download.meego.com/live/devel:/tools:/building/openSUSE12.1/ tizen_tools&lt;br /&gt;
 zypper ar -f http://repo.pub.meego.com/Project:/OBS_Light/openSUSE_12.1/Project:OBS_Light.repo&lt;br /&gt;
&lt;br /&gt;
optional, to disable GPG checks and prevent &amp;quot;File 'repomd.xml' from repository 'OBS_Light' is unsigned&amp;quot; messages&lt;br /&gt;
 echo &amp;quot;gpgcheck=0&amp;quot; &amp;gt;&amp;gt; &amp;quot;/etc/zypp/repos.d/Project_OBS_Light.repo&amp;quot;&lt;br /&gt;
&lt;br /&gt;
To install the GUI, you will need PySide:&lt;br /&gt;
 zypper ar -f http://download.opensuse.org/repositories/home:/Fisiu:/pyside/openSUSE_12.1/home:Fisiu:pyside.repo&lt;br /&gt;
&lt;br /&gt;
 zypper --gpg-auto-import-keys ref&lt;br /&gt;
 zypper in obslight obslight-gui&lt;br /&gt;
&lt;br /&gt;
=== For Ubuntu ===&lt;br /&gt;
The repositories are [http://repo.pub.meego.com/Project:/OBS_Light/ here]. Available Ubuntu versions are '''10.04''' and '''11.10'''.&lt;br /&gt;
There is only one package, ''obslight'', which contains the commandline, the GUI and the utilities. Add the following line to your '''/etc/apt/sources.list''' file (or to a new file '''/etc/apt/sources.list.d/obslight.list'''):&lt;br /&gt;
 # Ubuntu 10.04&lt;br /&gt;
 ## MIC and dependencies&lt;br /&gt;
 deb http://download.meego.com/live/devel:/tools:/building/Ubuntu_10.04/ ./&lt;br /&gt;
 ## OBS Light&lt;br /&gt;
 deb http://repo.pub.meego.com/Project:/OBS_Light/Ubuntu_10.04/ ./&lt;br /&gt;
&lt;br /&gt;
 # Ubuntu 11.10&lt;br /&gt;
 ## MIC and dependencies&lt;br /&gt;
 deb http://download.meego.com/live/devel:/tools:/building/xUbuntu_11.10/ ./&lt;br /&gt;
 ## OBS Light&lt;br /&gt;
 deb http://repo.pub.meego.com/Project:/OBS_Light/Ubuntu_11.10/ ./&lt;br /&gt;
You also need a recent version of [http://www.pyside.org/ PySide]:&lt;br /&gt;
 sudo apt-add-repository ppa:pyside/ppa&lt;br /&gt;
If you have Ubuntu 10.04 and an old version of '''osc''' (&amp;lt; 0.132) we suggest also adding:&lt;br /&gt;
 deb http://download.opensuse.org/repositories/openSUSE:/Tools/xUbuntu_10.04/ ./&lt;br /&gt;
Refresh the APT database and install OBS Light:&lt;br /&gt;
 sudo apt-get update&lt;br /&gt;
 sudo apt-get install obslight&lt;br /&gt;
Add yourself to the '''users''' group:&lt;br /&gt;
 sudo usermod -a -G users `whoami`&lt;br /&gt;
You should log out so that the system takes into account your new group.&lt;br /&gt;
If you don't want to log out, you can use &amp;quot;''newgrp users''&amp;quot; before running obslight (but it will only work in the current console).&lt;br /&gt;
&lt;br /&gt;
=== For Fedora 16 ===&lt;br /&gt;
The repository is [http://repo.pub.meego.com//Project:/OBS_Light/Fedora_16/ here].&lt;br /&gt;
There are 2 packages:&lt;br /&gt;
* ''obslight'', which contains the API, a commandline client, and [[obstag | obstag, obs2obscopy and obsextractgroups]].&lt;br /&gt;
* ''obslight-gui'', which contains the graphical user interface.&lt;br /&gt;
&lt;br /&gt;
Execute the following commands:&lt;br /&gt;
 # Add OBS Light repository&lt;br /&gt;
 sudo wget http://repo.pub.meego.com/Project:/OBS_Light/Fedora_16/Project:OBS_Light.repo -O /etc/yum.repos.d/Project_OBS_Light.repo&lt;br /&gt;
 # Deactivate GPG check&lt;br /&gt;
 sudo sed -r -i &amp;quot;s/(gpgcheck)=1/\1=0/&amp;quot; /etc/yum.repos.d/Project_OBS_Light.repo&lt;br /&gt;
 # Update repository cache&lt;br /&gt;
 sudo yum makecache&lt;br /&gt;
 # Install OBS Light&lt;br /&gt;
 sudo yum install obslight obslight-gui&lt;br /&gt;
 # Add yourself to the &amp;quot;users&amp;quot; group&lt;br /&gt;
 sudo usermod -a -G users `whoami`&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
To get a brief overview of all available commands, just type:&lt;br /&gt;
 obslight --help&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== OBS Tagging and Project copying ==&lt;br /&gt;
One of the problem that any user of a private OBS will quickly face, is the need to tag specific version of a project and allow the copy of the project from an OBS to an other OBS or from one project to an other project.&lt;br /&gt;
&lt;br /&gt;
More details on obstag and obs2obscopy can be found [[obstag | here]]&lt;br /&gt;
&lt;br /&gt;
= Migration from old versions =&lt;br /&gt;
== OBS Light &amp;lt; 0.4.22 ==&lt;br /&gt;
Starting from OBS Light 0.4.22, MIC and its dependencies won't be maintained in OBS Light's repositories anymore. You will have to add official MIC repository to get MIC dependencies. Just remove the old repository and follow the appropriate procedure. Fedora users can keep using old repositories.&lt;br /&gt;
=== openSUSE 11.4 ===&lt;br /&gt;
 sudo zypper rr Project_OBS_Light&lt;br /&gt;
and [[#For OpenSUSE 11.4]]&lt;br /&gt;
=== openSUSE 12.1 ===&lt;br /&gt;
 sudo zypper rr Project_OBS_Light_openSUSE_12.1&lt;br /&gt;
and [[#For_OpenSUSE_12.1]]&lt;br /&gt;
=== Ubuntu ===&lt;br /&gt;
 sudo rm /etc/apt/sources.list.d/obslight.list&lt;br /&gt;
and [[#For Ubuntu]].&lt;br /&gt;
&lt;br /&gt;
== OBS Light appliance &amp;lt; 0.4.52 ==&lt;br /&gt;
If you are using [http://susestudio.com/a/e0uuBG/meego-obs-light OBS Light appliance] older than 0.4.52, and you don't want to download the latest version, you can update it doing the following:&lt;br /&gt;
 # Remove old openSUSE 12.1 specific OBS Light repository&lt;br /&gt;
 sudo zypper rr Project_OBS_Light_openSUSE_12.1&lt;br /&gt;
 # Add Tizen Tools and OBS Light repositories&lt;br /&gt;
 sudo zypper ar -f http://download.meego.com/live/devel:/tools:/building/openSUSE12.1/ tizen_tools&lt;br /&gt;
 sudo zypper ar -f http://repo.pub.meego.com/Project:/OBS_Light/openSUSE_12.1/Project:OBS_Light.repo&lt;br /&gt;
 # Refresh package database&lt;br /&gt;
 sudo zypper --gpg-auto-import-keys ref&lt;br /&gt;
 # Update MIC and OBS Light&lt;br /&gt;
 sudo zypper up mic obslight obslight-gui&lt;br /&gt;
(same procedure as [[#For_openSUSE_12.1 | for openSUSE 12.1]])&lt;br /&gt;
&lt;br /&gt;
= Links =&lt;br /&gt;
* [[OBS Light | OBS Light main page]]&lt;br /&gt;
* [[OBS_Light_FAQ | OBS Light Frequently Asked Questions]]&lt;br /&gt;
* [[OBS_Light_Manual | OBS Light Manual]]&lt;br /&gt;
* [https://meego.gitorious.org/meego-developer-tools/obs-light/ OBS Light project on Gitorious]&lt;br /&gt;
* [https://build.pub.meego.com/project/show?project=Project%3AOBS_Light OBS Light project on MeeGo build service]&lt;/div&gt;</summary>
		<author><name>Fvennetier</name></author>	</entry>

	<entry>
		<id>http://wiki.meego.com/OBS_Light_Installation</id>
		<title>OBS Light Installation</title>
		<link rel="alternate" type="text/html" href="http://wiki.meego.com/OBS_Light_Installation"/>
				<updated>2012-04-02T09:23:38Z</updated>
		
		<summary type="html">&lt;p&gt;Fvennetier: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= OBS Light Deliverable =&lt;br /&gt;
== Introduction ==&lt;br /&gt;
[[OBS Light]] project deliverable which are available are listed on this page. Publication of the information will follow the progress of the implementation (yes, we do publish early draft versions, using them is at your risk)&lt;br /&gt;
&lt;br /&gt;
== Packaged versions ==&lt;br /&gt;
Packaged versions of the OBS Light client (still in development) are available for OpenSUSE and Ubuntu.&lt;br /&gt;
=== For OpenSUSE 11.4 ===&lt;br /&gt;
The repository is [http://repo.pub.meego.com/Project:/OBS_Light/openSUSE_11.4/ here].&lt;br /&gt;
There are 2 packages:&lt;br /&gt;
* ''obslight'', which contains the API, a commandline client, and [[obstag | obstag, obs2obscopy and obsextractgroups]]&lt;br /&gt;
* ''obslight-gui'', which contains the graphical user interface&lt;br /&gt;
You will also need MIC, which is hosted [http://download.meego.com/live/devel:/tools:/building/openSUSE_11.4/ here].&lt;br /&gt;
To install ''obslight'':&lt;br /&gt;
 zypper ar -f http://download.meego.com/live/devel:/tools:/building/openSUSE_11.4/devel:tools:building.repo&lt;br /&gt;
 zypper ar -f http://repo.pub.meego.com/Project:/OBS_Light/openSUSE_11.4/Project:OBS_Light.repo&lt;br /&gt;
optional, to disable GPG checks and prevent &amp;quot;File 'repomd.xml' from repository 'OBS_Light' is unsigned&amp;quot; messages&lt;br /&gt;
 echo &amp;quot;gpgcheck=0&amp;quot; &amp;gt;&amp;gt; /etc/zypp/repos.d/Project_OBS_Light.repo&lt;br /&gt;
&lt;br /&gt;
 zypper --gpg-auto-import-keys ref&lt;br /&gt;
 zypper in obslight&lt;br /&gt;
To install the GUI, you will need PySide:&lt;br /&gt;
 zypper ar -f http://download.opensuse.org/repositories/home:/cgoncalves:/pyside:/shiboken/openSUSE_11.4/ PySide&lt;br /&gt;
 zypper --gpg-auto-import-keys ref&lt;br /&gt;
 zypper in obslight-gui&lt;br /&gt;
&lt;br /&gt;
=== For OpenSUSE 12.1 ===&lt;br /&gt;
There are 2 packages:&lt;br /&gt;
* ''obslight'', which contains the API, a commandline client, and [[obstag | obstag, obs2obscopy and obsextractgroups]]&lt;br /&gt;
* ''obslight-gui'', which contains the graphical user interface&lt;br /&gt;
You will also need MIC, which is hosted [http://download.meego.com/live/devel:/tools:/building/openSUSE12.1/ here].&lt;br /&gt;
 zypper ar -f http://download.meego.com/live/devel:/tools:/building/openSUSE12.1/ tizen_tools&lt;br /&gt;
 zypper ar -f http://repo.pub.meego.com/Project:/OBS_Light/openSUSE_12.1/Project:OBS_Light.repo&lt;br /&gt;
&lt;br /&gt;
optional, to disable GPG checks and prevent &amp;quot;File 'repomd.xml' from repository 'OBS_Light' is unsigned&amp;quot; messages&lt;br /&gt;
 echo &amp;quot;gpgcheck=0&amp;quot; &amp;gt;&amp;gt; &amp;quot;/etc/zypp/repos.d/Project_OBS_Light.repo&amp;quot;&lt;br /&gt;
&lt;br /&gt;
To install the GUI, you will need PySide:&lt;br /&gt;
 zypper ar -f http://download.opensuse.org/repositories/home:/Fisiu:/pyside/openSUSE_12.1/home:Fisiu:pyside.repo&lt;br /&gt;
&lt;br /&gt;
 zypper --gpg-auto-import-keys ref&lt;br /&gt;
 zypper in obslight obslight-gui&lt;br /&gt;
&lt;br /&gt;
=== For Ubuntu ===&lt;br /&gt;
The repositories are [http://repo.pub.meego.com/Project:/OBS_Light/ here]. Available Ubuntu versions are '''10.04''' and '''11.10'''.&lt;br /&gt;
There is only one package, ''obslight'', which contains the commandline, the GUI and the utilities. Add the following line to your '''/etc/apt/sources.list''' file (or to a new file '''/etc/apt/sources.list.d/obslight.list'''):&lt;br /&gt;
 # Ubuntu 10.04&lt;br /&gt;
 ## MIC and dependencies&lt;br /&gt;
 deb http://download.meego.com/live/devel:/tools:/building/Ubuntu_10.04/ ./&lt;br /&gt;
 ## OBS Light&lt;br /&gt;
 deb http://repo.pub.meego.com/Project:/OBS_Light/Ubuntu_10.04/ ./&lt;br /&gt;
&lt;br /&gt;
 # Ubuntu 11.10&lt;br /&gt;
 ## MIC and dependencies&lt;br /&gt;
 deb http://download.meego.com/live/devel:/tools:/building/xUbuntu_11.10/ ./&lt;br /&gt;
 ## OBS Light&lt;br /&gt;
 deb http://repo.pub.meego.com/Project:/OBS_Light/Ubuntu_11.10/ ./&lt;br /&gt;
You also need a recent version of [http://www.pyside.org/ PySide]:&lt;br /&gt;
 sudo apt-add-repository ppa:pyside/ppa&lt;br /&gt;
If you have Ubuntu 10.04 and an old version of '''osc''' (&amp;lt; 0.132) we suggest also adding:&lt;br /&gt;
 deb http://download.opensuse.org/repositories/openSUSE:/Tools/xUbuntu_10.04/ ./&lt;br /&gt;
Refresh the APT database and install OBS Light:&lt;br /&gt;
 sudo apt-get update&lt;br /&gt;
 sudo apt-get install obslight&lt;br /&gt;
Add yourself to the '''users''' group:&lt;br /&gt;
 sudo usermod -a -G users `whoami`&lt;br /&gt;
You should log out so that the system takes into account your new group.&lt;br /&gt;
If you don't want to log out, you can use &amp;quot;''newgrp users''&amp;quot; before running obslight (but it will only work in the current console).&lt;br /&gt;
&lt;br /&gt;
=== For Fedora 16 ===&lt;br /&gt;
The repository is [http://repo.pub.meego.com//Project:/OBS_Light/Fedora_16/ here].&lt;br /&gt;
There are 2 packages:&lt;br /&gt;
* ''obslight'', which contains the API, a commandline client, and [[obstag | obstag, obs2obscopy and obsextractgroups]].&lt;br /&gt;
* ''obslight-gui'', which contains the graphical user interface.&lt;br /&gt;
&lt;br /&gt;
Execute the following commands:&lt;br /&gt;
 # Add OBS Light repository&lt;br /&gt;
 sudo wget http://repo.pub.meego.com/Project:/OBS_Light/Fedora_16/Project:OBS_Light.repo -O /etc/yum.repos.d/Project_OBS_Light.repo&lt;br /&gt;
 # Deactivate GPG check&lt;br /&gt;
 sudo sed -r -i &amp;quot;s/(gpgcheck)=1/\1=0/&amp;quot; /etc/yum.repos.d/Project_OBS_Light.repo&lt;br /&gt;
 # Update repository cache&lt;br /&gt;
 sudo yum makecache&lt;br /&gt;
 # Install OBS Light&lt;br /&gt;
 sudo yum install obslight obslight-gui&lt;br /&gt;
 # Add yourself to the &amp;quot;users&amp;quot; group&lt;br /&gt;
 sudo usermod -a -G users `whoami`&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
To get a brief overview of all available commands, just type:&lt;br /&gt;
 obslight --help&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== OBS Tagging and Project copying ==&lt;br /&gt;
One of the problem that any user of a private OBS will quickly face, is the need to tag specific version of a project and allow the copy of the project from an OBS to an other OBS or from one project to an other project.&lt;br /&gt;
&lt;br /&gt;
More details on obstag and obs2obscopy can be found [[obstag | here]]&lt;br /&gt;
&lt;br /&gt;
= Migration from old versions =&lt;br /&gt;
== OBS Light &amp;lt; 0.4.22 ==&lt;br /&gt;
Starting from OBS Light 0.4.22, MIC and its dependencies won't be maintained in OBS Light's repositories anymore. You will have to add official MIC repository to get MIC dependencies. Just remove the old repository and follow the appropriate procedure. Fedora users can keep using old repositories.&lt;br /&gt;
=== openSUSE 11.4 ===&lt;br /&gt;
 sudo zypper rr Project_OBS_Light&lt;br /&gt;
and [[#For OpenSUSE 11.4]]&lt;br /&gt;
=== openSUSE 12.1 ===&lt;br /&gt;
 sudo zypper rr Project_OBS_Light_openSUSE_12.1&lt;br /&gt;
and [[#For_OpenSUSE_12.1]]&lt;br /&gt;
=== Ubuntu ===&lt;br /&gt;
 sudo rm /etc/apt/sources.list.d/obslight.list&lt;br /&gt;
and [[#For Ubuntu]].&lt;br /&gt;
&lt;br /&gt;
== OBS Light appliance &amp;lt; 0.4.52 ==&lt;br /&gt;
If you are using [http://susestudio.com/a/e0uuBG/meego-obs-light OBS Light appliance] older than 0.4.52, and you don't want to download the latest version, you can update it doing the following:&lt;br /&gt;
 # Remove old openSUSE 12.1 specific OBS Light repository&lt;br /&gt;
 sudo zypper rr Project_OBS_Light_openSUSE_12.1&lt;br /&gt;
 # Add Tizen Tools and OBS Light repositories&lt;br /&gt;
 sudo zypper ar -f http://download.meego.com/live/devel:/tools:/building/openSUSE12.1/ tizen_tools&lt;br /&gt;
 sudo zypper ar -f http://repo.pub.meego.com/Project:/OBS_Light/openSUSE_12.1/Project:OBS_Light.repo&lt;br /&gt;
 # Refresh package database&lt;br /&gt;
 sudo zypper --gpg-auto-import-keys ref&lt;br /&gt;
 # Update MIC and OBS Light&lt;br /&gt;
 sudo zypper up mic obslight obslight-gui&lt;br /&gt;
(same procedure as [[#For_openSUSE_12.1 | for openSUSE 12.1]])&lt;br /&gt;
&lt;br /&gt;
= Links =&lt;br /&gt;
* [[OBS Light | OBS Light main page]]&lt;br /&gt;
* [[OBS_Light_FAQ | OBS Light Frequently Asked Questions]]&lt;br /&gt;
* [[OBS_Light_Manual | OBS Light Manual]]&lt;br /&gt;
* [https://meego.gitorious.org/meego-developer-tools/obs-light/ OBS Light project on Gitorious]&lt;br /&gt;
* [https://build.pub.meego.com/project/show?project=Project%3AOBS_Light OBS Light project on MeeGo build service]&lt;/div&gt;</summary>
		<author><name>Fvennetier</name></author>	</entry>

	<entry>
		<id>http://wiki.meego.com/OBS_Light_Installation</id>
		<title>OBS Light Installation</title>
		<link rel="alternate" type="text/html" href="http://wiki.meego.com/OBS_Light_Installation"/>
				<updated>2012-03-30T14:08:18Z</updated>
		
		<summary type="html">&lt;p&gt;Fvennetier: /* Packaged versions */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= OBS Light Deliverable =&lt;br /&gt;
== Introduction ==&lt;br /&gt;
[[OBS Light]] project deliverable which are available are listed on this page. Publication of the information will follow the progress of the implementation (yes, we do publish early draft versions, using them is at your risk)&lt;br /&gt;
&lt;br /&gt;
== Packaged versions ==&lt;br /&gt;
Packaged versions of the OBS Light client (still in development) are available for OpenSUSE and Ubuntu.&lt;br /&gt;
=== For OpenSUSE 11.4 ===&lt;br /&gt;
The repository is [http://repo.pub.meego.com/Project:/OBS_Light/openSUSE_11.4/ here].&lt;br /&gt;
There are 2 packages:&lt;br /&gt;
* ''obslight'', which contains the API, a commandline client, and [[obstag | obstag, obs2obscopy and obsextractgroups]]&lt;br /&gt;
* ''obslight-gui'', which contains the graphical user interface&lt;br /&gt;
You will also need MIC, which is hosted [http://download.meego.com/live/devel:/tools:/building/openSUSE_11.4/ here].&lt;br /&gt;
To install ''obslight'':&lt;br /&gt;
 zypper ar -f http://download.meego.com/live/devel:/tools:/building/openSUSE_11.4/devel:tools:building.repo&lt;br /&gt;
 zypper ar -f http://repo.pub.meego.com/Project:/OBS_Light/openSUSE_11.4/Project:OBS_Light.repo&lt;br /&gt;
optional, to disable GPG checks and prevent &amp;quot;File 'repomd.xml' from repository 'OBS_Light' is unsigned&amp;quot; messages&lt;br /&gt;
 echo &amp;quot;gpgcheck=0&amp;quot; &amp;gt;&amp;gt; /etc/zypp/repos.d/Project_OBS_Light.repo&lt;br /&gt;
&lt;br /&gt;
 zypper --gpg-auto-import-keys ref&lt;br /&gt;
 zypper in obslight&lt;br /&gt;
To install the GUI, you will need PySide:&lt;br /&gt;
 zypper ar -f http://download.opensuse.org/repositories/home:/cgoncalves:/pyside:/shiboken/openSUSE_11.4/ PySide&lt;br /&gt;
 zypper --gpg-auto-import-keys ref&lt;br /&gt;
 zypper in obslight-gui&lt;br /&gt;
&lt;br /&gt;
=== For OpenSUSE 12.1 ===&lt;br /&gt;
There are 2 packages:&lt;br /&gt;
* ''obslight'', which contains the API, a commandline client, and [[obstag | obstag, obs2obscopy and obsextractgroups]]&lt;br /&gt;
* ''obslight-gui'', which contains the graphical user interface&lt;br /&gt;
You will also need MIC, which is hosted [http://download.meego.com/live/devel:/tools:/building/openSUSE12.1/ here].&lt;br /&gt;
 zypper ar -f http://download.meego.com/live/devel:/tools:/building/openSUSE12.1/ tizen_tools&lt;br /&gt;
 zypper ar -f http://repo.pub.meego.com/Project:/OBS_Light:/openSUSE:/12.1/openSUSE_12.1/Project:OBS_Light:openSUSE:12.1.repo&lt;br /&gt;
&lt;br /&gt;
optional, to disable GPG checks and prevent &amp;quot;File 'repomd.xml' from repository 'OBS_Light' is unsigned&amp;quot; messages&lt;br /&gt;
 echo &amp;quot;gpgcheck=0&amp;quot; &amp;gt;&amp;gt; &amp;quot;/etc/zypp/repos.d/Project_OBS_Light_openSUSE_12.1.repo&amp;quot;&lt;br /&gt;
&lt;br /&gt;
To install the GUI, you will need PySide:&lt;br /&gt;
 zypper ar -f http://download.opensuse.org/repositories/home:/Fisiu:/pyside/openSUSE_12.1/home:Fisiu:pyside.repo&lt;br /&gt;
&lt;br /&gt;
 zypper --gpg-auto-import-keys ref&lt;br /&gt;
 zypper in obslight obslight-gui&lt;br /&gt;
&lt;br /&gt;
=== For Ubuntu ===&lt;br /&gt;
The repositories are [http://repo.pub.meego.com/Project:/OBS_Light/ here]. Available Ubuntu versions are '''10.04''' and '''11.10'''.&lt;br /&gt;
There is only one package, ''obslight'', which contains the commandline, the GUI and the utilities. Add the following line to your '''/etc/apt/sources.list''' file (or to a new file '''/etc/apt/sources.list.d/obslight.list'''):&lt;br /&gt;
 # Ubuntu 10.04&lt;br /&gt;
 deb http://repo.pub.meego.com/Project:/OBS_Light/Ubuntu_10.04/ ./&lt;br /&gt;
 deb http://download.meego.com/live/devel:/tools:/building/Ubuntu_10.04/ ./&lt;br /&gt;
&lt;br /&gt;
 # Ubuntu 11.10&lt;br /&gt;
 deb http://repo.pub.meego.com/Project:/OBS_Light/Ubuntu_11.10/ ./&lt;br /&gt;
 deb http://download.meego.com/live/devel:/tools:/building/xUbuntu_11.10/ ./&lt;br /&gt;
You also need a recent version of [http://www.pyside.org/ PySide]:&lt;br /&gt;
 sudo apt-add-repository ppa:pyside/ppa&lt;br /&gt;
If you have Ubuntu 10.04 and an old version of '''osc''' (&amp;lt; 0.132) we suggest also adding:&lt;br /&gt;
 deb http://download.opensuse.org/repositories/openSUSE:/Tools/xUbuntu_10.04/ ./&lt;br /&gt;
Refresh the APT database and install OBS Light:&lt;br /&gt;
 sudo apt-get update&lt;br /&gt;
 sudo apt-get install obslight&lt;br /&gt;
Add yourself to the '''users''' group:&lt;br /&gt;
 sudo usermod -a -G users `whoami`&lt;br /&gt;
You should log out so that the system takes into account your new group.&lt;br /&gt;
If you don't want to log out, you can use &amp;quot;''newgrp users''&amp;quot; before running obslight (but it will only work in the current console).&lt;br /&gt;
&lt;br /&gt;
=== For Fedora 16 ===&lt;br /&gt;
The repository is [http://repo.pub.meego.com//Project:/OBS_Light/Fedora_16/ here].&lt;br /&gt;
There are 2 packages:&lt;br /&gt;
* ''obslight'', which contains the API, a commandline client, and [[obstag | obstag, obs2obscopy and obsextractgroups]].&lt;br /&gt;
* ''obslight-gui'', which contains the graphical user interface.&lt;br /&gt;
&lt;br /&gt;
Execute the following commands:&lt;br /&gt;
 # Add OBS Light repository&lt;br /&gt;
 sudo wget http://repo.pub.meego.com/Project:/OBS_Light/Fedora_16/Project:OBS_Light.repo -O /etc/yum.repos.d/Project_OBS_Light.repo&lt;br /&gt;
 # Deactivate GPG check&lt;br /&gt;
 sudo sed -r -i &amp;quot;s/(gpgcheck)=1/\1=0/&amp;quot; /etc/yum.repos.d/Project_OBS_Light.repo&lt;br /&gt;
 # Update repository cache&lt;br /&gt;
 sudo yum makecache&lt;br /&gt;
 # Install OBS Light&lt;br /&gt;
 sudo yum install obslight obslight-gui&lt;br /&gt;
 # Add yourself to the &amp;quot;users&amp;quot; group&lt;br /&gt;
 sudo usermod -a -G users `whoami`&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
To get a brief overview of all available commands, just type:&lt;br /&gt;
 obslight --help&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== OBS Tagging and Project copying ==&lt;br /&gt;
One of the problem that any user of a private OBS will quickly face, is the need to tag specific version of a project and allow the copy of the project from an OBS to an other OBS or from one project to an other project.&lt;br /&gt;
&lt;br /&gt;
More details on obstag and obs2obscopy can be found [[obstag | here]]&lt;br /&gt;
&lt;br /&gt;
= Links =&lt;br /&gt;
* [[OBS Light | OBS Light main page]]&lt;br /&gt;
* [[OBS_Light_FAQ | OBS Light Frequently Asked Questions]]&lt;br /&gt;
* [[OBS_Light_Manual | OBS Light Manual]]&lt;br /&gt;
* [https://meego.gitorious.org/meego-developer-tools/obs-light/ OBS Light project on Gitorious]&lt;br /&gt;
* [https://build.pub.meego.com/project/show?project=Project%3AOBS_Light OBS Light project on MeeGo build service]&lt;/div&gt;</summary>
		<author><name>Fvennetier</name></author>	</entry>

	<entry>
		<id>http://wiki.meego.com/OBS_Light_Installation</id>
		<title>OBS Light Installation</title>
		<link rel="alternate" type="text/html" href="http://wiki.meego.com/OBS_Light_Installation"/>
				<updated>2012-03-30T13:20:54Z</updated>
		
		<summary type="html">&lt;p&gt;Fvennetier: /* For OpenSUSE 12.1 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= OBS Light Deliverable =&lt;br /&gt;
== Introduction ==&lt;br /&gt;
[[OBS Light]] project deliverable which are available are listed on this page. Publication of the information will follow the progress of the implementation (yes, we do publish early draft versions, using them is at your risk)&lt;br /&gt;
&lt;br /&gt;
== Packaged versions ==&lt;br /&gt;
Packaged versions of the OBS Light client (still in development) are available for OpenSUSE and Ubuntu.&lt;br /&gt;
=== For OpenSUSE 11.4 ===&lt;br /&gt;
The repository is [http://repo.pub.meego.com/Project:/OBS_Light/openSUSE_11.4/ here].&lt;br /&gt;
There are 2 packages:&lt;br /&gt;
* ''obslight'', which contains the API, a commandline client, and [[obstag | obstag, obs2obscopy and obsextractgroups]]&lt;br /&gt;
* ''obslight-gui'', which contains the graphical user interface&lt;br /&gt;
You will also need MIC, which is hosted [http://download.meego.com/live/devel:/tools:/building/openSUSE_11.4/ here].&lt;br /&gt;
To install ''obslight'':&lt;br /&gt;
 zypper ar -f http://download.meego.com/live/devel:/tools:/building/openSUSE_11.4/devel:tools:building.repo&lt;br /&gt;
 zypper ar -f http://repo.pub.meego.com/Project:/OBS_Light/openSUSE_11.4/Project:OBS_Light.repo&lt;br /&gt;
optional, to disable GPG checks and prevent &amp;quot;File 'repomd.xml' from repository 'OBS_Light' is unsigned&amp;quot; messages&lt;br /&gt;
 echo &amp;quot;gpgcheck=0&amp;quot; &amp;gt;&amp;gt; /etc/zypp/repos.d/Project_OBS_Light.repo&lt;br /&gt;
&lt;br /&gt;
 zypper --gpg-auto-import-keys ref&lt;br /&gt;
 zypper in obslight&lt;br /&gt;
To install the GUI, you will need PySide:&lt;br /&gt;
 zypper ar -f http://download.opensuse.org/repositories/home:/cgoncalves:/pyside:/shiboken/openSUSE_11.4/ PySide&lt;br /&gt;
 zypper --gpg-auto-import-keys ref&lt;br /&gt;
 zypper in obslight-gui&lt;br /&gt;
&lt;br /&gt;
=== For OpenSUSE 12.1 ===&lt;br /&gt;
There are 2 packages:&lt;br /&gt;
* ''obslight'', which contains the API, a commandline client, and [[obstag | obstag, obs2obscopy and obsextractgroups]]&lt;br /&gt;
* ''obslight-gui'', which contains the graphical user interface&lt;br /&gt;
You will also need MIC, which is hosted [http://download.meego.com/live/devel:/tools:/building/openSUSE12.1/ here].&lt;br /&gt;
 zypper ar -f http://download.meego.com/live/devel:/tools:/building/openSUSE12.1/ tizen_tools&lt;br /&gt;
 zypper ar -f http://repo.pub.meego.com/Project:/OBS_Light:/openSUSE:/12.1/openSUSE_12.1/Project:OBS_Light:openSUSE:12.1.repo&lt;br /&gt;
&lt;br /&gt;
optional, to disable GPG checks and prevent &amp;quot;File 'repomd.xml' from repository 'OBS_Light' is unsigned&amp;quot; messages&lt;br /&gt;
 echo &amp;quot;gpgcheck=0&amp;quot; &amp;gt;&amp;gt; &amp;quot;/etc/zypp/repos.d/Project_OBS_Light_openSUSE_12.1.repo&amp;quot;&lt;br /&gt;
&lt;br /&gt;
To install the GUI, you will need PySide:&lt;br /&gt;
 zypper ar -f http://download.opensuse.org/repositories/home:/Fisiu:/pyside/openSUSE_12.1/home:Fisiu:pyside.repo&lt;br /&gt;
&lt;br /&gt;
 zypper --gpg-auto-import-keys ref&lt;br /&gt;
 zypper in obslight obslight-gui&lt;br /&gt;
&lt;br /&gt;
=== For Ubuntu ===&lt;br /&gt;
The repositories are [http://repo.pub.meego.com/Project:/OBS_Light/ here]. Available Ubuntu versions are '''10.04''' and '''11.10'''.&lt;br /&gt;
There is only one package, ''obslight'', which contains the commandline, the GUI and the utilities. Add the following line to your '''/etc/apt/sources.list''' file (or to a new file '''/etc/apt/sources.list.d/obslight.list'''):&lt;br /&gt;
 # Ubuntu 10.04&lt;br /&gt;
 deb http://repo.pub.meego.com/Project:/OBS_Light/Ubuntu_10.04/ ./&lt;br /&gt;
 deb http://download.meego.com/live/devel:/tools:/building/Ubuntu_10.04/ ./&lt;br /&gt;
&lt;br /&gt;
 # Ubuntu 11.10&lt;br /&gt;
 deb http://repo.pub.meego.com/Project:/OBS_Light/Ubuntu_11.10/ ./&lt;br /&gt;
 deb http://download.meego.com/live/devel:/tools:/building/xUbuntu_11.10/ ./&lt;br /&gt;
You also need a recent version of [http://www.pyside.org/ PySide]:&lt;br /&gt;
 sudo apt-add-repository ppa:pyside/ppa&lt;br /&gt;
If you have Ubuntu 10.04 and an old version of '''osc''' (&amp;lt; 0.132) we suggest also adding:&lt;br /&gt;
 deb http://download.opensuse.org/repositories/openSUSE:/Tools/xUbuntu_10.04/ ./&lt;br /&gt;
Refresh the APT database and install OBS Light:&lt;br /&gt;
 sudo apt-get update&lt;br /&gt;
 sudo apt-get install obslight&lt;br /&gt;
Add yourself to the '''users''' group:&lt;br /&gt;
 sudo usermod -a -G users `whoami`&lt;br /&gt;
You should log out so that the system takes into account your new group.&lt;br /&gt;
If you don't want to log out, you can use &amp;quot;''newgrp users''&amp;quot; before running obslight (but it will only work in the current console).&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
To get a brief overview of all available commands, just type:&lt;br /&gt;
 obslight --help&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== OBS Tagging and Project copying ==&lt;br /&gt;
One of the problem that any user of a private OBS will quickly face, is the need to tag specific version of a project and allow the copy of the project from an OBS to an other OBS or from one project to an other project.&lt;br /&gt;
&lt;br /&gt;
More details on obstag and obs2obscopy can be found [[obstag | here]]&lt;br /&gt;
&lt;br /&gt;
= Links =&lt;br /&gt;
* [[OBS Light | OBS Light main page]]&lt;br /&gt;
* [[OBS_Light_FAQ | OBS Light Frequently Asked Questions]]&lt;br /&gt;
* [[OBS_Light_Manual | OBS Light Manual]]&lt;br /&gt;
* [https://meego.gitorious.org/meego-developer-tools/obs-light/ OBS Light project on Gitorious]&lt;br /&gt;
* [https://build.pub.meego.com/project/show?project=Project%3AOBS_Light OBS Light project on MeeGo build service]&lt;/div&gt;</summary>
		<author><name>Fvennetier</name></author>	</entry>

	<entry>
		<id>http://wiki.meego.com/OBS_Light_Installation</id>
		<title>OBS Light Installation</title>
		<link rel="alternate" type="text/html" href="http://wiki.meego.com/OBS_Light_Installation"/>
				<updated>2012-03-30T10:38:17Z</updated>
		
		<summary type="html">&lt;p&gt;Fvennetier: /* Packaged versions */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= OBS Light Deliverable =&lt;br /&gt;
== Introduction ==&lt;br /&gt;
[[OBS Light]] project deliverable which are available are listed on this page. Publication of the information will follow the progress of the implementation (yes, we do publish early draft versions, using them is at your risk)&lt;br /&gt;
&lt;br /&gt;
== Packaged versions ==&lt;br /&gt;
Packaged versions of the OBS Light client (still in development) are available for OpenSUSE and Ubuntu.&lt;br /&gt;
=== For OpenSUSE 11.4 ===&lt;br /&gt;
The repository is [http://repo.pub.meego.com/Project:/OBS_Light/openSUSE_11.4/ here].&lt;br /&gt;
There are 2 packages:&lt;br /&gt;
* ''obslight'', which contains the API, a commandline client, and [[obstag | obstag, obs2obscopy and obsextractgroups]]&lt;br /&gt;
* ''obslight-gui'', which contains the graphical user interface&lt;br /&gt;
You will also need MIC, which is hosted [http://download.meego.com/live/devel:/tools:/building/openSUSE_11.4/ here].&lt;br /&gt;
To install ''obslight'':&lt;br /&gt;
 zypper ar -f http://download.meego.com/live/devel:/tools:/building/openSUSE_11.4/devel:tools:building.repo&lt;br /&gt;
 zypper ar -f http://repo.pub.meego.com/Project:/OBS_Light/openSUSE_11.4/Project:OBS_Light.repo&lt;br /&gt;
optional, to disable GPG checks and prevent &amp;quot;File 'repomd.xml' from repository 'OBS_Light' is unsigned&amp;quot; messages&lt;br /&gt;
 echo &amp;quot;gpgcheck=0&amp;quot; &amp;gt;&amp;gt; /etc/zypp/repos.d/Project_OBS_Light.repo&lt;br /&gt;
&lt;br /&gt;
 zypper --gpg-auto-import-keys ref&lt;br /&gt;
 zypper in obslight&lt;br /&gt;
To install the GUI, you will need PySide:&lt;br /&gt;
 zypper ar -f http://download.opensuse.org/repositories/home:/cgoncalves:/pyside:/shiboken/openSUSE_11.4/ PySide&lt;br /&gt;
 zypper --gpg-auto-import-keys ref&lt;br /&gt;
 zypper in obslight-gui&lt;br /&gt;
&lt;br /&gt;
=== For OpenSUSE 12.1 ===&lt;br /&gt;
There are 2 packages:&lt;br /&gt;
* ''obslight'', which contains the API, a commandline client, and [[obstag | obstag, obs2obscopy and obsextractgroups]]&lt;br /&gt;
* ''obslight-gui'', which contains the graphical user interface&lt;br /&gt;
You will also need MIC, which is hosted [http://download.meego.com/live/devel:/tools:/building/openSUSE12.1/ here].&lt;br /&gt;
 zypper ar -f http://download.meego.com/live/devel:/tools:/building/openSUSE12.1/Tools:Devel.repo&lt;br /&gt;
 zypper ar -f http://repo.pub.meego.com/Project:/OBS_Light:/openSUSE:/12.1/openSUSE_12.1/Project:OBS_Light:openSUSE:12.1.repo&lt;br /&gt;
&lt;br /&gt;
optional, to disable GPG checks and prevent &amp;quot;File 'repomd.xml' from repository 'OBS_Light' is unsigned&amp;quot; messages&lt;br /&gt;
 echo &amp;quot;gpgcheck=0&amp;quot; &amp;gt;&amp;gt; &amp;quot;/etc/zypp/repos.d/Project_OBS_Light_openSUSE_12.1.repo&amp;quot;&lt;br /&gt;
&lt;br /&gt;
To install the GUI, you will need PySide:&lt;br /&gt;
 zypper ar -f http://download.opensuse.org/repositories/home:/Fisiu:/pyside/openSUSE_12.1/home:Fisiu:pyside.repo&lt;br /&gt;
 zypper --gpg-auto-import-keys ref&lt;br /&gt;
&lt;br /&gt;
 zypper in obslight obslight-gui&lt;br /&gt;
&lt;br /&gt;
=== For Ubuntu ===&lt;br /&gt;
The repositories are [http://repo.pub.meego.com/Project:/OBS_Light/ here]. Available Ubuntu versions are '''10.04''' and '''11.10'''.&lt;br /&gt;
There is only one package, ''obslight'', which contains the commandline, the GUI and the utilities. Add the following line to your '''/etc/apt/sources.list''' file (or to a new file '''/etc/apt/sources.list.d/obslight.list'''):&lt;br /&gt;
 # Ubuntu 10.04&lt;br /&gt;
 deb http://repo.pub.meego.com/Project:/OBS_Light/Ubuntu_10.04/ ./&lt;br /&gt;
 deb http://download.meego.com/live/devel:/tools:/building/Ubuntu_10.04/ ./&lt;br /&gt;
&lt;br /&gt;
 # Ubuntu 11.10&lt;br /&gt;
 deb http://repo.pub.meego.com/Project:/OBS_Light/Ubuntu_11.10/ ./&lt;br /&gt;
 deb http://download.meego.com/live/devel:/tools:/building/xUbuntu_11.10/ ./&lt;br /&gt;
You also need a recent version of [http://www.pyside.org/ PySide]:&lt;br /&gt;
 sudo apt-add-repository ppa:pyside/ppa&lt;br /&gt;
If you have Ubuntu 10.04 and an old version of '''osc''' (&amp;lt; 0.132) we suggest also adding:&lt;br /&gt;
 deb http://download.opensuse.org/repositories/openSUSE:/Tools/xUbuntu_10.04/ ./&lt;br /&gt;
Refresh the APT database and install OBS Light:&lt;br /&gt;
 sudo apt-get update&lt;br /&gt;
 sudo apt-get install obslight&lt;br /&gt;
Add yourself to the '''users''' group:&lt;br /&gt;
 sudo usermod -a -G users `whoami`&lt;br /&gt;
You should log out so that the system takes into account your new group.&lt;br /&gt;
If you don't want to log out, you can use &amp;quot;''newgrp users''&amp;quot; before running obslight (but it will only work in the current console).&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
To get a brief overview of all available commands, just type:&lt;br /&gt;
 obslight --help&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== OBS Tagging and Project copying ==&lt;br /&gt;
One of the problem that any user of a private OBS will quickly face, is the need to tag specific version of a project and allow the copy of the project from an OBS to an other OBS or from one project to an other project.&lt;br /&gt;
&lt;br /&gt;
More details on obstag and obs2obscopy can be found [[obstag | here]]&lt;br /&gt;
&lt;br /&gt;
= Links =&lt;br /&gt;
* [[OBS Light | OBS Light main page]]&lt;br /&gt;
* [[OBS_Light_FAQ | OBS Light Frequently Asked Questions]]&lt;br /&gt;
* [[OBS_Light_Manual | OBS Light Manual]]&lt;br /&gt;
* [https://meego.gitorious.org/meego-developer-tools/obs-light/ OBS Light project on Gitorious]&lt;br /&gt;
* [https://build.pub.meego.com/project/show?project=Project%3AOBS_Light OBS Light project on MeeGo build service]&lt;/div&gt;</summary>
		<author><name>Fvennetier</name></author>	</entry>

	<entry>
		<id>http://wiki.meego.com/User:Fvennetier/OBS_Light_MIC</id>
		<title>User:Fvennetier/OBS Light MIC</title>
		<link rel="alternate" type="text/html" href="http://wiki.meego.com/User:Fvennetier/OBS_Light_MIC"/>
				<updated>2012-03-30T07:27:47Z</updated>
		
		<summary type="html">&lt;p&gt;Fvennetier: Blanked the page&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Fvennetier</name></author>	</entry>

	<entry>
		<id>http://wiki.meego.com/User:Fvennetier/OBS_Light_Create_new_package</id>
		<title>User:Fvennetier/OBS Light Create new package</title>
		<link rel="alternate" type="text/html" href="http://wiki.meego.com/User:Fvennetier/OBS_Light_Create_new_package"/>
				<updated>2012-03-30T07:24:46Z</updated>
		
		<summary type="html">&lt;p&gt;Fvennetier: Blanked the page&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Fvennetier</name></author>	</entry>

	<entry>
		<id>http://wiki.meego.com/OBS_Light_FAQ</id>
		<title>OBS Light FAQ</title>
		<link rel="alternate" type="text/html" href="http://wiki.meego.com/OBS_Light_FAQ"/>
				<updated>2012-03-26T13:36:45Z</updated>
		
		<summary type="html">&lt;p&gt;Fvennetier: /* How to prepare a Spec file using Spectacle ? */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Frequently Asked Questions =&lt;br /&gt;
== Where does ''obslight'' store its data? ==&lt;br /&gt;
All data is stored in '''~/OBSLight''' and subdirectories.&lt;br /&gt;
&lt;br /&gt;
Each OBS project has its own directory in '''~/OBSLight/ObsProjects/''', each MIC project has its own directory in '''~/OBSLight/MicProjects/'''.&lt;br /&gt;
&lt;br /&gt;
== Is there a configuration file ? ==&lt;br /&gt;
Configuration file is '''~/OBSLight/ObslightConfig'''.&lt;br /&gt;
&lt;br /&gt;
== How do I run OBS light server appliance on my Desktop ? ==&lt;br /&gt;
While running an OBS Light appliance is simple and easy and just requires 1GB of RAM allocated to the virtual machine, running an OBS server appliance can be much more demanding but running the OBS server server appliance on your desktop or laptop (a minimum 4GB of RAM is mandatory) via a virtual machine can be very handy during evaluation tests.&amp;lt;br/&amp;gt;&lt;br /&gt;
The main advantage is that you do not need a special authorisation from your IT department to start playing but you need to allocate at least 2GB to the appliance and as many CPU cores that you can spare. You need to patch on the OBS server appliance ''(need to be root)'' the file '''/etc/sysconfig/obs-worker''' to set the variable OBS_WORKER_INSTANCES to 1 (default is zero) to limit the RAM resources requires by your appliance during build process.&lt;br /&gt;
If you plan to build large packages such as Chromium you will need more than 2GB of RAM allocated (actually on my desktop I have 16GB). &amp;lt;br/&amp;gt;&lt;br /&gt;
You can overcome that limit with the addition of an obsworker appliance on a separate server. OBS Light project provides one pre-configured to work with and OBS Light server appliance.&amp;lt;br/&amp;gt;&lt;br /&gt;
If you use the Bridge mode, external OBS work appliance will be detected and used automatically (NAT more would require a complex configuration). The Worker can be running on a more powerfull unit and speed the preparation work before for example leaving the office with a complete fully built project on a laptop.&lt;br /&gt;
You can stop the worker on the laptop by the command '''rcobsworker stop''' ''(need to be root)''. You can check that your OBS Worker appliance can see your OBS Light Server Appliance with the command '''slptool findsrvs obs.source_server'''&amp;lt;br/&amp;gt;&lt;br /&gt;
As a general rule using the bridge mode is advisable. Note ''this is '''not''' the default option of VirtualBox''.&lt;br /&gt;
The NAT mode is interesting to run an OBS Light server via a VPN or for unconnected demos. In that case you will need to declare NAT rules in your Vitual Machine Manager redirecting the ports 80, 81 and 82 from your local host to your OBS appliance internal NAT address ''(with VitualBox under Linux rerouting port bellow 1000 is reserved for root only)''.&amp;lt;br/&amp;gt;&lt;br /&gt;
Do not forget to add a host name &amp;quot;obslightserver&amp;quot; in your workstation pointing to the OBS Light server appliance IP address or localhost in the case of a NAT configuration.&lt;br /&gt;
&lt;br /&gt;
== How to show the log ? ==&lt;br /&gt;
* From the menu: ''Window'' -&amp;gt; ''Show log''&lt;br /&gt;
* When a long operation is running, there is a button under the progress bar.&lt;br /&gt;
* A log file is written in &amp;lt;tt&amp;gt;~/OBSLight/obslight.log&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== Why does MeeGo's '''kernel''' package fail to build for ARM? ==&lt;br /&gt;
The '''kernel''' package has flags to prevent builds on ARM.&lt;br /&gt;
To compile an ARM kernel, you must use another package, for example the '''kernel-adaptation-n900''' package.&lt;br /&gt;
&lt;br /&gt;
== How install the dependency of a package into the project filesystem? ==&lt;br /&gt;
If the project on your OBS doesn’t provide some dependencies and you must add a repository to your project filesystem's zypper configuration, you have two choices:&lt;br /&gt;
* First one, use an URL and an alias:&lt;br /&gt;
 ## obslight filesystem repositories add &amp;lt;repository_url&amp;gt; &amp;lt;repository_alias&amp;gt; &amp;lt;project_alias&amp;gt;&lt;br /&gt;
 obslight filesystem repositories add http://download.meego.com/live/MeeGo:/1.2:/non-oss/MeeGo_1.2/ MeeGo_non-oss MeeGo_1.2_oss&lt;br /&gt;
* Second one, add the repository of another local project:&lt;br /&gt;
 ## obslight filesystem repositories add from &amp;lt;source_project_alias&amp;gt; &amp;lt;project_alias&amp;gt;&lt;br /&gt;
 obslight filesystem repositories add from MeeGo_1.2_non-oss MeeGo_1.2_oss&lt;br /&gt;
&lt;br /&gt;
== How to create a new package ? (from an existing SPEC file) ==&lt;br /&gt;
=== Requirements ===&lt;br /&gt;
* A project on an OBS server (public or [http://susestudio.com/a/e0uuBG/meego-obs private]) where you have maintainer rights (for example your home project), and with a [http://en.opensuse.org/openSUSE:Build_Service_Tutorial#Step_Three.C2.A0.E2.80.93_Choose_build_targets build target] already configured.&lt;br /&gt;
* An archive of your program, named like &amp;lt;tt&amp;gt;program-version.tar.gz&amp;lt;/tt&amp;gt; (&amp;lt;tt&amp;gt;tar.bz2&amp;lt;/tt&amp;gt; is OK).&lt;br /&gt;
* A valid SPEC file, named &amp;lt;tt&amp;gt;program.spec&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== Procedure ===&lt;br /&gt;
[[OBS Light]] cannot create new packages at the moment. You have to use the web UI or ''osc'' first.&lt;br /&gt;
# Using the web UI:&lt;br /&gt;
#* Go to the project you want to add your package to.&lt;br /&gt;
#* Go to ''Packages'' tab.&lt;br /&gt;
#* Click ''Create package''.&lt;br /&gt;
#* Give a name to the package (we recommend the same name as your program, in lower-case), a title and a description (optional but recommended).&lt;br /&gt;
# Now you should be able to import this package in [[OBS Light]].&lt;br /&gt;
#* Run &amp;lt;tt&amp;gt;obslightgui&amp;lt;/tt&amp;gt;.&lt;br /&gt;
#* Click ''Import project'' button (on the left-bottom).&lt;br /&gt;
#* Select a server from the list or configure a new one.&lt;br /&gt;
#* Select your project in the list.&lt;br /&gt;
#* Select a target and an architecture.&lt;br /&gt;
#* Give an alias to the project (can be the name of the project without &amp;quot;''':'''&amp;quot;, we suggest suffixing with the architecture).&lt;br /&gt;
#* You should now see a list of packages, with the one you created in web UI.&lt;br /&gt;
#* Select it and press ''finish''.&lt;br /&gt;
# The package is now imported into OBS Light, with status ''broken'' (because it has no files).&lt;br /&gt;
#* In the right panel, select tab ''Local directory'', click ''Import file''.&lt;br /&gt;
#* Select your SPEC file and archive (and YAML file if you have one).&lt;br /&gt;
#* The files appear in the list with status ''Added''.&lt;br /&gt;
#* In the middle panel, click ''Commit changes'', and enter a commit message.&lt;br /&gt;
#* The files are uploaded, and the package starts to build on the OBS server.&lt;br /&gt;
&lt;br /&gt;
== How to prepare a Spec file using Spectacle ? ==&lt;br /&gt;
*Official documentation: [[Spectacle]]&lt;br /&gt;
*Why using Spectacle: [[Packaging/Guidelines#Writing_a_package_from_scratch]]&lt;br /&gt;
&lt;br /&gt;
=== Generate a YAML file from scratch ===&lt;br /&gt;
==== Manually ====&lt;br /&gt;
Run the following command:&lt;br /&gt;
 specify --new=your_package_name&lt;br /&gt;
It will create a new YAML file from a template, and ask you to edit the file. Just replace &amp;quot;&amp;lt;tt&amp;gt;^^^&amp;lt;/tt&amp;gt;&amp;quot; occurrences by which seems appropriate, and got to the [[#Customize_the_Spec_and_YAML_files | Spec and YAML customization section]].&lt;br /&gt;
&lt;br /&gt;
==== Automatically ====&lt;br /&gt;
[https://meego.gitorious.org/meego-developer-tools/autospectacle autospectacle] can analyze source archives and generate an appropriate YAML file, but has no documentation.&lt;br /&gt;
&lt;br /&gt;
=== Generate a YAML file from a Spec file ===&lt;br /&gt;
If you already have a Spec file for your program, you may still want to create a YAML file in order to standardize or simplify it. Run the following command:&lt;br /&gt;
 spec2spectacle your_package_name.spec&lt;br /&gt;
It will parse your Spec file, generate a YAML file, and generate a new Spec file from the YAML file. Notice that the conversion is not perfect, and you may lost information.&lt;br /&gt;
&lt;br /&gt;
=== Customize the Spec and YAML files ===&lt;br /&gt;
Except from lines between &amp;quot;&amp;lt;tt&amp;gt;# &amp;gt;&amp;gt; &amp;lt;/tt&amp;gt;&amp;quot; and &amp;quot;&amp;lt;tt&amp;gt;# &amp;lt;&amp;lt; &amp;lt;/tt&amp;gt;&amp;quot; tags, the content of the Spec file should not be modified by you, because it will be re-written by &amp;lt;tt&amp;gt;specify&amp;lt;/tt&amp;gt; each time you modify the YAML file. So if you see a line you don't like, you have to find which option of the YAML file has generated it (or can prevent it to be generated), change it, and run the following command to update the Spec file:&lt;br /&gt;
 specify your_package_name.yaml&lt;br /&gt;
Complete list of Spectacle options is here: [[Spectacle#Syntax_of_spectacle_YAML | Syntax of spectacle YAML]]&lt;br /&gt;
&lt;br /&gt;
== Where to send bug reports ? ==&lt;br /&gt;
Bugs are centralized on [https://bugs.meego.com/buglist.cgi?product=Development%20Tools&amp;amp;component=OBS%20Light MeeGo's bugzilla].&lt;br /&gt;
&lt;br /&gt;
= Links =&lt;br /&gt;
* [[OBS_Light | OBS Light main page]]&lt;br /&gt;
* [[ObsLightDeliverable | OBS Light deliverables]]&lt;br /&gt;
* [[OBS_Light_Manual | OBS Light manual]]&lt;br /&gt;
* [https://meego.gitorious.org/meego-developer-tools/obs-light/ OBS Light project on Gitorious]&lt;br /&gt;
* [https://build.pub.meego.com/project/show?project=Project%3AOBS_Light OBS Light project on MeeGo build service]&lt;/div&gt;</summary>
		<author><name>Fvennetier</name></author>	</entry>

	<entry>
		<id>http://wiki.meego.com/OBS_Light_FAQ</id>
		<title>OBS Light FAQ</title>
		<link rel="alternate" type="text/html" href="http://wiki.meego.com/OBS_Light_FAQ"/>
				<updated>2012-03-26T13:26:58Z</updated>
		
		<summary type="html">&lt;p&gt;Fvennetier: /* How to create a new package ? (from an existing SPEC file) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Frequently Asked Questions =&lt;br /&gt;
== Where does ''obslight'' store its data? ==&lt;br /&gt;
All data is stored in '''~/OBSLight''' and subdirectories.&lt;br /&gt;
&lt;br /&gt;
Each OBS project has its own directory in '''~/OBSLight/ObsProjects/''', each MIC project has its own directory in '''~/OBSLight/MicProjects/'''.&lt;br /&gt;
&lt;br /&gt;
== Is there a configuration file ? ==&lt;br /&gt;
Configuration file is '''~/OBSLight/ObslightConfig'''.&lt;br /&gt;
&lt;br /&gt;
== How do I run OBS light server appliance on my Desktop ? ==&lt;br /&gt;
While running an OBS Light appliance is simple and easy and just requires 1GB of RAM allocated to the virtual machine, running an OBS server appliance can be much more demanding but running the OBS server server appliance on your desktop or laptop (a minimum 4GB of RAM is mandatory) via a virtual machine can be very handy during evaluation tests.&amp;lt;br/&amp;gt;&lt;br /&gt;
The main advantage is that you do not need a special authorisation from your IT department to start playing but you need to allocate at least 2GB to the appliance and as many CPU cores that you can spare. You need to patch on the OBS server appliance ''(need to be root)'' the file '''/etc/sysconfig/obs-worker''' to set the variable OBS_WORKER_INSTANCES to 1 (default is zero) to limit the RAM resources requires by your appliance during build process.&lt;br /&gt;
If you plan to build large packages such as Chromium you will need more than 2GB of RAM allocated (actually on my desktop I have 16GB). &amp;lt;br/&amp;gt;&lt;br /&gt;
You can overcome that limit with the addition of an obsworker appliance on a separate server. OBS Light project provides one pre-configured to work with and OBS Light server appliance.&amp;lt;br/&amp;gt;&lt;br /&gt;
If you use the Bridge mode, external OBS work appliance will be detected and used automatically (NAT more would require a complex configuration). The Worker can be running on a more powerfull unit and speed the preparation work before for example leaving the office with a complete fully built project on a laptop.&lt;br /&gt;
You can stop the worker on the laptop by the command '''rcobsworker stop''' ''(need to be root)''. You can check that your OBS Worker appliance can see your OBS Light Server Appliance with the command '''slptool findsrvs obs.source_server'''&amp;lt;br/&amp;gt;&lt;br /&gt;
As a general rule using the bridge mode is advisable. Note ''this is '''not''' the default option of VirtualBox''.&lt;br /&gt;
The NAT mode is interesting to run an OBS Light server via a VPN or for unconnected demos. In that case you will need to declare NAT rules in your Vitual Machine Manager redirecting the ports 80, 81 and 82 from your local host to your OBS appliance internal NAT address ''(with VitualBox under Linux rerouting port bellow 1000 is reserved for root only)''.&amp;lt;br/&amp;gt;&lt;br /&gt;
Do not forget to add a host name &amp;quot;obslightserver&amp;quot; in your workstation pointing to the OBS Light server appliance IP address or localhost in the case of a NAT configuration.&lt;br /&gt;
&lt;br /&gt;
== How to show the log ? ==&lt;br /&gt;
* From the menu: ''Window'' -&amp;gt; ''Show log''&lt;br /&gt;
* When a long operation is running, there is a button under the progress bar.&lt;br /&gt;
* A log file is written in &amp;lt;tt&amp;gt;~/OBSLight/obslight.log&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== Why does MeeGo's '''kernel''' package fail to build for ARM? ==&lt;br /&gt;
The '''kernel''' package has flags to prevent builds on ARM.&lt;br /&gt;
To compile an ARM kernel, you must use another package, for example the '''kernel-adaptation-n900''' package.&lt;br /&gt;
&lt;br /&gt;
== How install the dependency of a package into the project filesystem? ==&lt;br /&gt;
If the project on your OBS doesn’t provide some dependencies and you must add a repository to your project filesystem's zypper configuration, you have two choices:&lt;br /&gt;
* First one, use an URL and an alias:&lt;br /&gt;
 ## obslight filesystem repositories add &amp;lt;repository_url&amp;gt; &amp;lt;repository_alias&amp;gt; &amp;lt;project_alias&amp;gt;&lt;br /&gt;
 obslight filesystem repositories add http://download.meego.com/live/MeeGo:/1.2:/non-oss/MeeGo_1.2/ MeeGo_non-oss MeeGo_1.2_oss&lt;br /&gt;
* Second one, add the repository of another local project:&lt;br /&gt;
 ## obslight filesystem repositories add from &amp;lt;source_project_alias&amp;gt; &amp;lt;project_alias&amp;gt;&lt;br /&gt;
 obslight filesystem repositories add from MeeGo_1.2_non-oss MeeGo_1.2_oss&lt;br /&gt;
&lt;br /&gt;
== How to create a new package ? (from an existing SPEC file) ==&lt;br /&gt;
=== Requirements ===&lt;br /&gt;
* A project on an OBS server (public or [http://susestudio.com/a/e0uuBG/meego-obs private]) where you have maintainer rights (for example your home project), and with a [http://en.opensuse.org/openSUSE:Build_Service_Tutorial#Step_Three.C2.A0.E2.80.93_Choose_build_targets build target] already configured.&lt;br /&gt;
* An archive of your program, named like &amp;lt;tt&amp;gt;program-version.tar.gz&amp;lt;/tt&amp;gt; (&amp;lt;tt&amp;gt;tar.bz2&amp;lt;/tt&amp;gt; is OK).&lt;br /&gt;
* A valid SPEC file, named &amp;lt;tt&amp;gt;program.spec&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== Procedure ===&lt;br /&gt;
[[OBS Light]] cannot create new packages at the moment. You have to use the web UI or ''osc'' first.&lt;br /&gt;
# Using the web UI:&lt;br /&gt;
#* Go to the project you want to add your package to.&lt;br /&gt;
#* Go to ''Packages'' tab.&lt;br /&gt;
#* Click ''Create package''.&lt;br /&gt;
#* Give a name to the package (we recommend the same name as your program, in lower-case), a title and a description (optional but recommended).&lt;br /&gt;
# Now you should be able to import this package in [[OBS Light]].&lt;br /&gt;
#* Run &amp;lt;tt&amp;gt;obslightgui&amp;lt;/tt&amp;gt;.&lt;br /&gt;
#* Click ''Import project'' button (on the left-bottom).&lt;br /&gt;
#* Select a server from the list or configure a new one.&lt;br /&gt;
#* Select your project in the list.&lt;br /&gt;
#* Select a target and an architecture.&lt;br /&gt;
#* Give an alias to the project (can be the name of the project without &amp;quot;''':'''&amp;quot;, we suggest suffixing with the architecture).&lt;br /&gt;
#* You should now see a list of packages, with the one you created in web UI.&lt;br /&gt;
#* Select it and press ''finish''.&lt;br /&gt;
# The package is now imported into OBS Light, with status ''broken'' (because it has no files).&lt;br /&gt;
#* In the right panel, select tab ''Local directory'', click ''Import file''.&lt;br /&gt;
#* Select your SPEC file and archive (and YAML file if you have one).&lt;br /&gt;
#* The files appear in the list with status ''Added''.&lt;br /&gt;
#* In the middle panel, click ''Commit changes'', and enter a commit message.&lt;br /&gt;
#* The files are uploaded, and the package starts to build on the OBS server.&lt;br /&gt;
&lt;br /&gt;
== How to prepare a Spec file using Spectacle ? ==&lt;br /&gt;
Official documentation: [[Spectacle]]&lt;br /&gt;
&lt;br /&gt;
=== Generate a YAML file from scratch ===&lt;br /&gt;
==== Manually ====&lt;br /&gt;
Run the following command:&lt;br /&gt;
 specify --new=your_package_name&lt;br /&gt;
It will create a new YAML file from a template, and ask you to edit the file. Just replace &amp;quot;&amp;lt;tt&amp;gt;^^^&amp;lt;/tt&amp;gt;&amp;quot; occurrences by which seems appropriate, and got to the [[#Customize_the_Spec_and_YAML_files | Spec and YAML customization section]].&lt;br /&gt;
&lt;br /&gt;
==== Automatically ====&lt;br /&gt;
[https://meego.gitorious.org/meego-developer-tools/autospectacle autospectacle] can analyze source archives and generate an appropriate YAML file, but has no documentation.&lt;br /&gt;
&lt;br /&gt;
=== Generate a YAML file from a Spec file ===&lt;br /&gt;
Run the following command:&lt;br /&gt;
 spec2spectacle your_package_name.spec&lt;br /&gt;
It will parse your Spec file, generate a YAML file, and generate a new Spec file from the YAML file. Notice that the conversion is not perfect, and you may lost information.&lt;br /&gt;
&lt;br /&gt;
=== Customize the Spec and YAML files ===&lt;br /&gt;
Except from lines between &amp;quot;&amp;lt;tt&amp;gt;# &amp;gt;&amp;gt; &amp;lt;/tt&amp;gt;&amp;quot; and &amp;quot;&amp;lt;tt&amp;gt;# &amp;lt;&amp;lt; &amp;lt;/tt&amp;gt;&amp;quot; tags, the content of the Spec file should not be modified by you, because it will be re-written by &amp;lt;tt&amp;gt;specify&amp;lt;/tt&amp;gt; each time you modify the YAML file. So if you see a line you don't like, you have to find which option of the YAML file has generated it (or can prevent it to be generated), change it, and run the following command to update the Spec file:&lt;br /&gt;
 specify your_package_name.yaml&lt;br /&gt;
Complete list of Spectacle options is here: [[Spectacle#Syntax_of_spectacle_YAML | Syntax of spectacle YAML]]&lt;br /&gt;
&lt;br /&gt;
== Where to send bug reports ? ==&lt;br /&gt;
Bugs are centralized on [https://bugs.meego.com/buglist.cgi?product=Development%20Tools&amp;amp;component=OBS%20Light MeeGo's bugzilla].&lt;br /&gt;
&lt;br /&gt;
= Links =&lt;br /&gt;
* [[OBS_Light | OBS Light main page]]&lt;br /&gt;
* [[ObsLightDeliverable | OBS Light deliverables]]&lt;br /&gt;
* [[OBS_Light_Manual | OBS Light manual]]&lt;br /&gt;
* [https://meego.gitorious.org/meego-developer-tools/obs-light/ OBS Light project on Gitorious]&lt;br /&gt;
* [https://build.pub.meego.com/project/show?project=Project%3AOBS_Light OBS Light project on MeeGo build service]&lt;/div&gt;</summary>
		<author><name>Fvennetier</name></author>	</entry>

	<entry>
		<id>http://wiki.meego.com/OBS_Light_FAQ</id>
		<title>OBS Light FAQ</title>
		<link rel="alternate" type="text/html" href="http://wiki.meego.com/OBS_Light_FAQ"/>
				<updated>2012-03-23T11:33:11Z</updated>
		
		<summary type="html">&lt;p&gt;Fvennetier: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Frequently Asked Questions =&lt;br /&gt;
== Where does ''obslight'' store its data? ==&lt;br /&gt;
All data is stored in '''~/OBSLight''' and subdirectories.&lt;br /&gt;
&lt;br /&gt;
Each OBS project has its own directory in '''~/OBSLight/ObsProjects/''', each MIC project has its own directory in '''~/OBSLight/MicProjects/'''.&lt;br /&gt;
&lt;br /&gt;
== Is there a configuration file ? ==&lt;br /&gt;
Configuration file is '''~/OBSLight/ObslightConfig'''.&lt;br /&gt;
&lt;br /&gt;
== How do I run OBS light server appliance on my Desktop ? ==&lt;br /&gt;
While running an OBS Light appliance is simple and easy and just requires 1GB of RAM allocated to the virtual machine, running an OBS server appliance can be much more demanding but running the OBS server server appliance on your desktop or laptop (a minimum 4GB of RAM is mandatory) via a virtual machine can be very handy during evaluation tests.&amp;lt;br/&amp;gt;&lt;br /&gt;
The main advantage is that you do not need a special authorisation from your IT department to start playing but you need to allocate at least 2GB to the appliance and as many CPU cores that you can spare. You need to patch on the OBS server appliance ''(need to be root)'' the file '''/etc/sysconfig/obs-worker''' to set the variable OBS_WORKER_INSTANCES to 1 (default is zero) to limit the RAM resources requires by your appliance during build process.&lt;br /&gt;
If you plan to build large packages such as Chromium you will need more than 2GB of RAM allocated (actually on my desktop I have 16GB). &amp;lt;br/&amp;gt;&lt;br /&gt;
You can overcome that limit with the addition of an obsworker appliance on a separate server. OBS Light project provides one pre-configured to work with and OBS Light server appliance.&amp;lt;br/&amp;gt;&lt;br /&gt;
If you use the Bridge mode, external OBS work appliance will be detected and used automatically (NAT more would require a complex configuration). The Worker can be running on a more powerfull unit and speed the preparation work before for example leaving the office with a complete fully built project on a laptop.&lt;br /&gt;
You can stop the worker on the laptop by the command '''rcobsworker stop''' ''(need to be root)''. You can check that your OBS Worker appliance can see your OBS Light Server Appliance with the command '''slptool findsrvs obs.source_server'''&amp;lt;br/&amp;gt;&lt;br /&gt;
As a general rule using the bridge mode is advisable. Note ''this is '''not''' the default option of VirtualBox''.&lt;br /&gt;
The NAT mode is interesting to run an OBS Light server via a VPN or for unconnected demos. In that case you will need to declare NAT rules in your Vitual Machine Manager redirecting the ports 80, 81 and 82 from your local host to your OBS appliance internal NAT address ''(with VitualBox under Linux rerouting port bellow 1000 is reserved for root only)''.&amp;lt;br/&amp;gt;&lt;br /&gt;
Do not forget to add a host name &amp;quot;obslightserver&amp;quot; in your workstation pointing to the OBS Light server appliance IP address or localhost in the case of a NAT configuration.&lt;br /&gt;
&lt;br /&gt;
== How to show the log ? ==&lt;br /&gt;
* From the menu: ''Window'' -&amp;gt; ''Show log''&lt;br /&gt;
* When a long operation is running, there is a button under the progress bar.&lt;br /&gt;
* A log file is written in &amp;lt;tt&amp;gt;~/OBSLight/obslight.log&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== Why does MeeGo's '''kernel''' package fail to build for ARM? ==&lt;br /&gt;
The '''kernel''' package has flags to prevent builds on ARM.&lt;br /&gt;
To compile an ARM kernel, you must use another package, for example the '''kernel-adaptation-n900''' package.&lt;br /&gt;
&lt;br /&gt;
== How install the dependency of a package into the project filesystem? ==&lt;br /&gt;
If the project on your OBS doesn’t provide some dependencies and you must add a repository to your project filesystem's zypper configuration, you have two choices:&lt;br /&gt;
* First one, use an URL and an alias:&lt;br /&gt;
 ## obslight filesystem repositories add &amp;lt;repository_url&amp;gt; &amp;lt;repository_alias&amp;gt; &amp;lt;project_alias&amp;gt;&lt;br /&gt;
 obslight filesystem repositories add http://download.meego.com/live/MeeGo:/1.2:/non-oss/MeeGo_1.2/ MeeGo_non-oss MeeGo_1.2_oss&lt;br /&gt;
* Second one, add the repository of another local project:&lt;br /&gt;
 ## obslight filesystem repositories add from &amp;lt;source_project_alias&amp;gt; &amp;lt;project_alias&amp;gt;&lt;br /&gt;
 obslight filesystem repositories add from MeeGo_1.2_non-oss MeeGo_1.2_oss&lt;br /&gt;
&lt;br /&gt;
== How to create a new package ? (from an existing SPEC file) ==&lt;br /&gt;
=== Requirements ===&lt;br /&gt;
* A project on an OBS server where you have maintainer rights (for example your home project).&lt;br /&gt;
* An archive of your program, named like &amp;lt;tt&amp;gt;program-version.tar.gz&amp;lt;/tt&amp;gt; (&amp;lt;tt&amp;gt;tar.bz2&amp;lt;/tt&amp;gt; is OK).&lt;br /&gt;
* A valid SPEC file, named &amp;lt;tt&amp;gt;program.spec&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== Procedure ===&lt;br /&gt;
[[OBS Light]] cannot create new packages at the moment. You have to use the web UI or ''osc'' first.&lt;br /&gt;
# Using the web UI:&lt;br /&gt;
#* Go to the project you want to add your package to.&lt;br /&gt;
#* Go to ''Packages'' tab.&lt;br /&gt;
#* Click ''Create package''.&lt;br /&gt;
#* Give a name to the package (we recommend the same name as your program, in lower-case), a title and a description (optional but recommended).&lt;br /&gt;
# Now you should be able to import this package in [[OBS Light]].&lt;br /&gt;
#* Run &amp;lt;tt&amp;gt;obslightgui&amp;lt;/tt&amp;gt;.&lt;br /&gt;
#* Click ''Import project'' button.&lt;br /&gt;
#* Select a server from the list or add a new one (not explained here).&lt;br /&gt;
#* Select your project in the list.&lt;br /&gt;
#* Select a target and an architecture.&lt;br /&gt;
#* Give an alias to the project (can be the name of the project, without &amp;quot;''':'''&amp;quot;).&lt;br /&gt;
#* You should now see a list of packages, with the one you created in web UI.&lt;br /&gt;
#* Select it and press ''finish''.&lt;br /&gt;
# The package is now imported into OBS Light, with status ''broken'' (because it has no files).&lt;br /&gt;
#* In the right panel, select tab ''Local directory'', click ''Import file''.&lt;br /&gt;
#* Select your SPEC file and archive (and YAML file if you have one).&lt;br /&gt;
#* The files appear in the list with status ''Added''.&lt;br /&gt;
#* In the middle panel, click ''Commit changes'', and enter a commit message.&lt;br /&gt;
#* The files are uploaded on the OBS server, and the package starts to build.&lt;br /&gt;
&lt;br /&gt;
== How to prepare a Spec file using Spectacle ? ==&lt;br /&gt;
Official documentation: [[Spectacle]]&lt;br /&gt;
&lt;br /&gt;
=== Generate a YAML file from scratch ===&lt;br /&gt;
==== Manually ====&lt;br /&gt;
Run the following command:&lt;br /&gt;
 specify --new=your_package_name&lt;br /&gt;
It will create a new YAML file from a template, and ask you to edit the file. Just replace &amp;quot;&amp;lt;tt&amp;gt;^^^&amp;lt;/tt&amp;gt;&amp;quot; occurrences by which seems appropriate, and got to the [[#Customize_the_Spec_and_YAML_files | Spec and YAML customization section]].&lt;br /&gt;
&lt;br /&gt;
==== Automatically ====&lt;br /&gt;
[https://meego.gitorious.org/meego-developer-tools/autospectacle autospectacle] can analyze source archives and generate an appropriate YAML file, but has no documentation.&lt;br /&gt;
&lt;br /&gt;
=== Generate a YAML file from a Spec file ===&lt;br /&gt;
Run the following command:&lt;br /&gt;
 spec2spectacle your_package_name.spec&lt;br /&gt;
It will parse your Spec file, generate a YAML file, and generate a new Spec file from the YAML file. Notice that the conversion is not perfect, and you may lost information.&lt;br /&gt;
&lt;br /&gt;
=== Customize the Spec and YAML files ===&lt;br /&gt;
Except from lines between &amp;quot;&amp;lt;tt&amp;gt;# &amp;gt;&amp;gt; &amp;lt;/tt&amp;gt;&amp;quot; and &amp;quot;&amp;lt;tt&amp;gt;# &amp;lt;&amp;lt; &amp;lt;/tt&amp;gt;&amp;quot; tags, the content of the Spec file should not be modified by you, because it will be re-written by &amp;lt;tt&amp;gt;specify&amp;lt;/tt&amp;gt; each time you modify the YAML file. So if you see a line you don't like, you have to find which option of the YAML file has generated it (or can prevent it to be generated), change it, and run the following command to update the Spec file:&lt;br /&gt;
 specify your_package_name.yaml&lt;br /&gt;
Complete list of Spectacle options is here: [[Spectacle#Syntax_of_spectacle_YAML | Syntax of spectacle YAML]]&lt;br /&gt;
&lt;br /&gt;
== Where to send bug reports ? ==&lt;br /&gt;
Bugs are centralized on [https://bugs.meego.com/buglist.cgi?product=Development%20Tools&amp;amp;component=OBS%20Light MeeGo's bugzilla].&lt;br /&gt;
&lt;br /&gt;
= Links =&lt;br /&gt;
* [[OBS_Light | OBS Light main page]]&lt;br /&gt;
* [[ObsLightDeliverable | OBS Light deliverables]]&lt;br /&gt;
* [[OBS_Light_Manual | OBS Light manual]]&lt;br /&gt;
* [https://meego.gitorious.org/meego-developer-tools/obs-light/ OBS Light project on Gitorious]&lt;br /&gt;
* [https://build.pub.meego.com/project/show?project=Project%3AOBS_Light OBS Light project on MeeGo build service]&lt;/div&gt;</summary>
		<author><name>Fvennetier</name></author>	</entry>

	<entry>
		<id>http://wiki.meego.com/User:Fvennetier/OBS_Light_Create_new_package</id>
		<title>User:Fvennetier/OBS Light Create new package</title>
		<link rel="alternate" type="text/html" href="http://wiki.meego.com/User:Fvennetier/OBS_Light_Create_new_package"/>
				<updated>2012-03-23T10:53:43Z</updated>
		
		<summary type="html">&lt;p&gt;Fvennetier: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= How to prepare a Spec file using Spectacle ? =&lt;br /&gt;
Official documentation: [[Spectacle]]&lt;br /&gt;
&lt;br /&gt;
== Generate a YAML file from scratch ==&lt;br /&gt;
=== The manual way ===&lt;br /&gt;
Run the following command:&lt;br /&gt;
 specify --new=your_package_name&lt;br /&gt;
It will create a new YAML file from a template, and ask you to edit the file.&lt;br /&gt;
&lt;br /&gt;
=== The automatic way ===&lt;br /&gt;
[https://meego.gitorious.org/meego-developer-tools/autospectacle autospectacle]&lt;br /&gt;
&lt;br /&gt;
== Generate a YAML file from a Spec file ==&lt;br /&gt;
Run the following command:&lt;br /&gt;
 spec2spectacle your_package_name.spec&lt;br /&gt;
It will parse your Spec file, generate a YAML file, and generate a new Spec file from the YAML file.&lt;br /&gt;
&lt;br /&gt;
== Customize the Spec and YAML files ==&lt;br /&gt;
Except from lines between &amp;quot;&amp;lt;tt&amp;gt;# &amp;gt;&amp;gt; &amp;lt;/tt&amp;gt;&amp;quot; and &amp;quot;&amp;lt;tt&amp;gt;# &amp;lt;&amp;lt; &amp;lt;/tt&amp;gt;&amp;quot; tags, the content of the Spec file should not be modified by you, because it will be re-written by &amp;lt;tt&amp;gt;specify&amp;lt;/tt&amp;gt; each time you modify the YAML file. So if you see a line you don't like, you have to find which option of the YAML file has generated it (or can prevent it to be generated), change it, and run the following command to update the Spec file:&lt;br /&gt;
 specify your_package_name.yaml&lt;br /&gt;
&lt;br /&gt;
== Create the package ==&lt;br /&gt;
[[OBS_Light_FAQ#How_to_create_a_new_package_.3F_.28from_an_existing_SPEC_file.29 | Procedure is there]]&lt;/div&gt;</summary>
		<author><name>Fvennetier</name></author>	</entry>

	<entry>
		<id>http://wiki.meego.com/User:Fvennetier/OBS_Light_Create_new_package</id>
		<title>User:Fvennetier/OBS Light Create new package</title>
		<link rel="alternate" type="text/html" href="http://wiki.meego.com/User:Fvennetier/OBS_Light_Create_new_package"/>
				<updated>2012-03-23T09:42:22Z</updated>
		
		<summary type="html">&lt;p&gt;Fvennetier: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= How to create a new package using spectacle and a SPEC file ? =&lt;br /&gt;
Official documentation: [[Spectacle]]&lt;br /&gt;
== Requirements ==&lt;br /&gt;
* A project on an OBS server where you have maintainer rights (for example your home project)&lt;br /&gt;
* OBS Light [[ObsLightDeliverable | already installed on your computer]]&lt;br /&gt;
* An archive of your program, named like &amp;lt;tt&amp;gt;program-version.tar.gz&amp;lt;/tt&amp;gt; (&amp;lt;tt&amp;gt;tar.bz2&amp;lt;/tt&amp;gt; is OK)&lt;br /&gt;
* A SPEC file, &amp;lt;tt&amp;gt;program.spec&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Prepare the SPEC file ==&lt;br /&gt;
* First you have to generate a YAML file:&lt;br /&gt;
 spec2spectacle mypackage.spec&lt;br /&gt;
* Edit the generated YAML file, &amp;lt;tt&amp;gt;mypackage.yaml&amp;lt;/tt&amp;gt;. You may have to complete some fields, for example the source file, which should look like ''%{name}-%{version}.tar.gz''.&lt;br /&gt;
* Re-generate the SPEC file&lt;br /&gt;
 specify mypackage.yaml&lt;br /&gt;
* Now check the SPEC file, especially the script section. Your old scripts should have been surrounded by &amp;quot;'''# &amp;gt;&amp;gt; '''&amp;quot; and &amp;quot;'''# &amp;lt;&amp;lt; '''&amp;quot; tags. '''%if''' macros have been removed.&lt;br /&gt;
&lt;br /&gt;
== Create the package ==&lt;br /&gt;
[[OBS_Light_FAQ#How_to_create_a_new_package_.3F_.28from_an_existing_SPEC_file.29 | Procedure is there]]&lt;/div&gt;</summary>
		<author><name>Fvennetier</name></author>	</entry>

	<entry>
		<id>http://wiki.meego.com/OBS_Light_FAQ</id>
		<title>OBS Light FAQ</title>
		<link rel="alternate" type="text/html" href="http://wiki.meego.com/OBS_Light_FAQ"/>
				<updated>2012-03-23T09:00:47Z</updated>
		
		<summary type="html">&lt;p&gt;Fvennetier: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Frequently Asked Questions =&lt;br /&gt;
== Where does ''obslight'' store its data? ==&lt;br /&gt;
All data is stored in '''~/OBSLight''' and subdirectories.&lt;br /&gt;
&lt;br /&gt;
Each OBS project has its own directory in '''~/OBSLight/ObsProjects/''', each MIC project has its own directory in '''~/OBSLight/MicProjects/'''.&lt;br /&gt;
&lt;br /&gt;
== Is there a configuration file ? ==&lt;br /&gt;
Configuration file is '''~/OBSLight/ObslightConfig'''.&lt;br /&gt;
&lt;br /&gt;
== How do I run OBS light server appliance on my Desktop ? ==&lt;br /&gt;
While running an OBS Light appliance is simple and easy and just requires 1GB of RAM allocated to the virtual machine, running an OBS server appliance can be much more demanding but running the OBS server server appliance on your desktop or laptop (a minimum 4GB of RAM is mandatory) via a virtual machine can be very handy during evaluation tests.&amp;lt;br/&amp;gt;&lt;br /&gt;
The main advantage is that you do not need a special authorisation from your IT department to start playing but you need to allocate at least 2GB to the appliance and as many CPU cores that you can spare. You need to patch on the OBS server appliance ''(need to be root)'' the file '''/etc/sysconfig/obs-worker''' to set the variable OBS_WORKER_INSTANCES to 1 (default is zero) to limit the RAM resources requires by your appliance during build process.&lt;br /&gt;
If you plan to build large packages such as Chromium you will need more than 2GB of RAM allocated (actually on my desktop I have 16GB). &amp;lt;br/&amp;gt;&lt;br /&gt;
You can overcome that limit with the addition of an obsworker appliance on a separate server. OBS Light project provides one pre-configured to work with and OBS Light server appliance.&amp;lt;br/&amp;gt;&lt;br /&gt;
If you use the Bridge mode, external OBS work appliance will be detected and used automatically (NAT more would require a complex configuration). The Worker can be running on a more powerfull unit and speed the preparation work before for example leaving the office with a complete fully built project on a laptop.&lt;br /&gt;
You can stop the worker on the laptop by the command '''rcobsworker stop''' ''(need to be root)''. You can check that your OBS Worker appliance can see your OBS Light Server Appliance with the command '''slptool findsrvs obs.source_server'''&amp;lt;br/&amp;gt;&lt;br /&gt;
As a general rule using the bridge mode is advisable. Note ''this is '''not''' the default option of VirtualBox''.&lt;br /&gt;
The NAT mode is interesting to run an OBS Light server via a VPN or for unconnected demos. In that case you will need to declare NAT rules in your Vitual Machine Manager redirecting the ports 80, 81 and 82 from your local host to your OBS appliance internal NAT address ''(with VitualBox under Linux rerouting port bellow 1000 is reserved for root only)''.&amp;lt;br/&amp;gt;&lt;br /&gt;
Do not forget to add a host name &amp;quot;obslightserver&amp;quot; in your workstation pointing to the OBS Light server appliance IP address or localhost in the case of a NAT configuration.&lt;br /&gt;
&lt;br /&gt;
== How to show the log ? ==&lt;br /&gt;
* From the menu: ''Window'' -&amp;gt; ''Show log''&lt;br /&gt;
* When a long operation is running, there is a button under the progress bar.&lt;br /&gt;
* A log file is written in &amp;lt;tt&amp;gt;~/OBSLight/obslight.log&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== Why does MeeGo's '''kernel''' package fail to build for ARM? ==&lt;br /&gt;
The '''kernel''' package has flags to prevent builds on ARM.&lt;br /&gt;
To compile an ARM kernel, you must use another package, for example the '''kernel-adaptation-n900''' package.&lt;br /&gt;
&lt;br /&gt;
== How install the dependency of a package into the project filesystem? ==&lt;br /&gt;
If the project on your OBS doesn’t provide some dependencies and you must add a repository to your project filesystem's zypper configuration, you have two choices:&lt;br /&gt;
* First one, use an URL and an alias:&lt;br /&gt;
 ## obslight filesystem repositories add &amp;lt;repository_url&amp;gt; &amp;lt;repository_alias&amp;gt; &amp;lt;project_alias&amp;gt;&lt;br /&gt;
 obslight filesystem repositories add http://download.meego.com/live/MeeGo:/1.2:/non-oss/MeeGo_1.2/ MeeGo_non-oss MeeGo_1.2_oss&lt;br /&gt;
* Second one, add the repository of another local project:&lt;br /&gt;
 ## obslight filesystem repositories add from &amp;lt;source_project_alias&amp;gt; &amp;lt;project_alias&amp;gt;&lt;br /&gt;
 obslight filesystem repositories add from MeeGo_1.2_non-oss MeeGo_1.2_oss&lt;br /&gt;
&lt;br /&gt;
== How to create a new package ? (from an existing SPEC file) ==&lt;br /&gt;
=== Requirements ===&lt;br /&gt;
* A project on an OBS server where you have maintainer rights (for example your home project).&lt;br /&gt;
* An archive of your program, named like &amp;lt;tt&amp;gt;program-version.tar.gz&amp;lt;/tt&amp;gt; (&amp;lt;tt&amp;gt;tar.bz2&amp;lt;/tt&amp;gt; is OK).&lt;br /&gt;
* A valid SPEC file, named &amp;lt;tt&amp;gt;program.spec&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== Procedure ===&lt;br /&gt;
[[OBS Light]] cannot create new packages at the moment. You have to use the web UI or ''osc'' first.&lt;br /&gt;
# Using the web UI:&lt;br /&gt;
#* Go to the project you want to add your package to.&lt;br /&gt;
#* Go to ''Packages'' tab.&lt;br /&gt;
#* Click ''Create package''.&lt;br /&gt;
#* Give a name to the package (we recommend the same name as your program, in lower-case), a title and a description (optional but recommended).&lt;br /&gt;
# Now you should be able to import this package in [[OBS Light]].&lt;br /&gt;
#* Run &amp;lt;tt&amp;gt;obslightgui&amp;lt;/tt&amp;gt;.&lt;br /&gt;
#* Click ''Import project'' button.&lt;br /&gt;
#* Select a server from the list or add a new one (not explained here).&lt;br /&gt;
#* Select your project in the list.&lt;br /&gt;
#* Select a target and an architecture.&lt;br /&gt;
#* Give an alias to the project (can be the name of the project, without &amp;quot;''':'''&amp;quot;).&lt;br /&gt;
#* You should now see a list of packages, with the one you created in web UI.&lt;br /&gt;
#* Select it and press ''finish''.&lt;br /&gt;
# The package is now imported into OBS Light, with status ''broken'' (because it has no files).&lt;br /&gt;
#* In the right panel, select tab ''Local directory'', click ''Import file''.&lt;br /&gt;
#* Select your SPEC file and archive (and YAML file if you have one).&lt;br /&gt;
#* The files appear in the list with status ''Added''.&lt;br /&gt;
#* In the middle panel, click ''Commit changes'', and enter a commit message.&lt;br /&gt;
#* The files are uploaded on the OBS server, and the package starts to build.&lt;br /&gt;
&lt;br /&gt;
== Where to send bug reports ? ==&lt;br /&gt;
Bugs are centralized on [https://bugs.meego.com/buglist.cgi?product=Development%20Tools&amp;amp;component=OBS%20Light MeeGo's bugzilla].&lt;br /&gt;
&lt;br /&gt;
= Links =&lt;br /&gt;
* [[OBS_Light | OBS Light main page]]&lt;br /&gt;
* [[ObsLightDeliverable | OBS Light deliverables]]&lt;br /&gt;
* [[OBS_Light_Manual | OBS Light manual]]&lt;br /&gt;
* [https://meego.gitorious.org/meego-developer-tools/obs-light/ OBS Light project on Gitorious]&lt;br /&gt;
* [https://build.pub.meego.com/project/show?project=Project%3AOBS_Light OBS Light project on MeeGo build service]&lt;/div&gt;</summary>
		<author><name>Fvennetier</name></author>	</entry>

	<entry>
		<id>http://wiki.meego.com/OBS_Light_FAQ</id>
		<title>OBS Light FAQ</title>
		<link rel="alternate" type="text/html" href="http://wiki.meego.com/OBS_Light_FAQ"/>
				<updated>2012-03-22T17:26:15Z</updated>
		
		<summary type="html">&lt;p&gt;Fvennetier: /* How to show the log ? */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Frequently Asked Questions =&lt;br /&gt;
== Where does ''obslight'' store its data? ==&lt;br /&gt;
All data is stored in '''~/OBSLight''' and subdirectories.&lt;br /&gt;
&lt;br /&gt;
Each OBS project has its own directory in '''~/OBSLight/ObsProjects/''', each MIC project has its own directory in '''~/OBSLight/MicProjects/'''.&lt;br /&gt;
&lt;br /&gt;
== Is there a configuration file ? ==&lt;br /&gt;
Configuration file is '''~/OBSLight/ObslightConfig'''.&lt;br /&gt;
&lt;br /&gt;
== How do I run OBS light server appliance on my Desktop ? ==&lt;br /&gt;
While running an OBS Light appliance is simple and easy and just requires 1GB of RAM allocated to the virtual machine, running an OBS server appliance can be much more demanding but running the OBS server server appliance on your desktop or laptop (a minimum 4GB of RAM is mandatory) via a virtual machine can be very handy during evaluation tests.&amp;lt;br/&amp;gt;&lt;br /&gt;
The main advantage is that you do not need a special authorisation from your IT department to start playing but you need to allocate at least 2GB to the appliance and as many CPU cores that you can spare. You need to patch on the OBS server appliance ''(need to be root)'' the file '''/etc/sysconfig/obs-worker''' to set the variable OBS_WORKER_INSTANCES to 1 (default is zero) to limit the RAM resources requires by your appliance during build process.&lt;br /&gt;
If you plan to build large packages such as Chromium you will need more than 2GB of RAM allocated (actually on my desktop I have 16GB). &amp;lt;br/&amp;gt;&lt;br /&gt;
You can overcome that limit with the addition of an obsworker appliance on a separate server. OBS Light project provides one pre-configured to work with and OBS Light server appliance.&amp;lt;br/&amp;gt;&lt;br /&gt;
If you use the Bridge mode, external OBS work appliance will be detected and used automatically (NAT more would require a complex configuration). The Worker can be running on a more powerfull unit and speed the preparation work before for example leaving the office with a complete fully built project on a laptop.&lt;br /&gt;
You can stop the worker on the laptop by the command '''rcobsworker stop''' ''(need to be root)''. You can check that your OBS Worker appliance can see your OBS Light Server Appliance with the command '''slptool findsrvs obs.source_server'''&amp;lt;br/&amp;gt;&lt;br /&gt;
As a general rule using the bridge mode is advisable. Note ''this is '''not''' the default option of VirtualBox''.&lt;br /&gt;
The NAT mode is interesting to run an OBS Light server via a VPN or for unconnected demos. In that case you will need to declare NAT rules in your Vitual Machine Manager redirecting the ports 80, 81 and 82 from your local host to your OBS appliance internal NAT address ''(with VitualBox under Linux rerouting port bellow 1000 is reserved for root only)''.&amp;lt;br/&amp;gt;&lt;br /&gt;
Do not forget to add a host name &amp;quot;obslightserver&amp;quot; in your workstation pointing to the OBS Light server appliance IP address or localhost in the case of a NAT configuration.&lt;br /&gt;
&lt;br /&gt;
== How to show the log ? ==&lt;br /&gt;
* From the menu: ''Window'' -&amp;gt; ''Show log''&lt;br /&gt;
* When a long operation is running, there is a button under the progress bar.&lt;br /&gt;
* A log file is written in &amp;lt;tt&amp;gt;~/OBSLight/obslight.log&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== Why does MeeGo's '''kernel''' package fail to build for ARM? ==&lt;br /&gt;
The '''kernel''' package has flags to prevent builds on ARM.&lt;br /&gt;
To compile an ARM kernel, you must use another package, for example the '''kernel-adaptation-n900''' package.&lt;br /&gt;
&lt;br /&gt;
== How install the dependency of a package into the project filesystem? ==&lt;br /&gt;
If the project on your OBS doesn’t provide some dependencies and you must add a repository to your project filesystem's zypper configuration, you have two choices:&lt;br /&gt;
* First one, use an URL and an alias:&lt;br /&gt;
 ## obslight filesystem repositories add &amp;lt;repository_url&amp;gt; &amp;lt;repository_alias&amp;gt; &amp;lt;project_alias&amp;gt;&lt;br /&gt;
 obslight filesystem repositories add http://download.meego.com/live/MeeGo:/1.2:/non-oss/MeeGo_1.2/ MeeGo_non-oss MeeGo_1.2_oss&lt;br /&gt;
* Second one, add the repository of another local project:&lt;br /&gt;
 ## obslight filesystem repositories add from &amp;lt;source_project_alias&amp;gt; &amp;lt;project_alias&amp;gt;&lt;br /&gt;
 obslight filesystem repositories add from MeeGo_1.2_non-oss MeeGo_1.2_oss&lt;br /&gt;
&lt;br /&gt;
== Where to send bug reports ? ==&lt;br /&gt;
Bugs are centralized on [https://bugs.meego.com/buglist.cgi?product=Development%20Tools&amp;amp;component=OBS%20Light MeeGo's bugzilla].&lt;br /&gt;
&lt;br /&gt;
= Links =&lt;br /&gt;
* [[OBS_Light | OBS Light main page]]&lt;br /&gt;
* [[ObsLightDeliverable | OBS Light deliverables]]&lt;br /&gt;
* [[OBS_Light_Manual | OBS Light manual]]&lt;br /&gt;
* [https://meego.gitorious.org/meego-developer-tools/obs-light/ OBS Light project on Gitorious]&lt;br /&gt;
* [https://build.pub.meego.com/project/show?project=Project%3AOBS_Light OBS Light project on MeeGo build service]&lt;/div&gt;</summary>
		<author><name>Fvennetier</name></author>	</entry>

	<entry>
		<id>http://wiki.meego.com/OBS_Light_FAQ</id>
		<title>OBS Light FAQ</title>
		<link rel="alternate" type="text/html" href="http://wiki.meego.com/OBS_Light_FAQ"/>
				<updated>2012-03-22T17:22:23Z</updated>
		
		<summary type="html">&lt;p&gt;Fvennetier: /* How to show the log ? */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Frequently Asked Questions =&lt;br /&gt;
== Where does ''obslight'' store its data? ==&lt;br /&gt;
All data is stored in '''~/OBSLight''' and subdirectories.&lt;br /&gt;
&lt;br /&gt;
Each OBS project has its own directory in '''~/OBSLight/ObsProjects/''', each MIC project has its own directory in '''~/OBSLight/MicProjects/'''.&lt;br /&gt;
&lt;br /&gt;
== Is there a configuration file ? ==&lt;br /&gt;
Configuration file is '''~/OBSLight/ObslightConfig'''.&lt;br /&gt;
&lt;br /&gt;
== How do I run OBS light server appliance on my Desktop ? ==&lt;br /&gt;
While running an OBS Light appliance is simple and easy and just requires 1GB of RAM allocated to the virtual machine, running an OBS server appliance can be much more demanding but running the OBS server server appliance on your desktop or laptop (a minimum 4GB of RAM is mandatory) via a virtual machine can be very handy during evaluation tests.&amp;lt;br/&amp;gt;&lt;br /&gt;
The main advantage is that you do not need a special authorisation from your IT department to start playing but you need to allocate at least 2GB to the appliance and as many CPU cores that you can spare. You need to patch on the OBS server appliance ''(need to be root)'' the file '''/etc/sysconfig/obs-worker''' to set the variable OBS_WORKER_INSTANCES to 1 (default is zero) to limit the RAM resources requires by your appliance during build process.&lt;br /&gt;
If you plan to build large packages such as Chromium you will need more than 2GB of RAM allocated (actually on my desktop I have 16GB). &amp;lt;br/&amp;gt;&lt;br /&gt;
You can overcome that limit with the addition of an obsworker appliance on a separate server. OBS Light project provides one pre-configured to work with and OBS Light server appliance.&amp;lt;br/&amp;gt;&lt;br /&gt;
If you use the Bridge mode, external OBS work appliance will be detected and used automatically (NAT more would require a complex configuration). The Worker can be running on a more powerfull unit and speed the preparation work before for example leaving the office with a complete fully built project on a laptop.&lt;br /&gt;
You can stop the worker on the laptop by the command '''rcobsworker stop''' ''(need to be root)''. You can check that your OBS Worker appliance can see your OBS Light Server Appliance with the command '''slptool findsrvs obs.source_server'''&amp;lt;br/&amp;gt;&lt;br /&gt;
As a general rule using the bridge mode is advisable. Note ''this is '''not''' the default option of VirtualBox''.&lt;br /&gt;
The NAT mode is interesting to run an OBS Light server via a VPN or for unconnected demos. In that case you will need to declare NAT rules in your Vitual Machine Manager redirecting the ports 80, 81 and 82 from your local host to your OBS appliance internal NAT address ''(with VitualBox under Linux rerouting port bellow 1000 is reserved for root only)''.&amp;lt;br/&amp;gt;&lt;br /&gt;
Do not forget to add a host name &amp;quot;obslightserver&amp;quot; in your workstation pointing to the OBS Light server appliance IP address or localhost in the case of a NAT configuration.&lt;br /&gt;
&lt;br /&gt;
== How to show the log ? ==&lt;br /&gt;
* From the menu: ''Window'' -&amp;gt; ''Show log''&lt;br /&gt;
* When a long operation is running, there is a button in the progress bar.&lt;br /&gt;
&lt;br /&gt;
== Why does MeeGo's '''kernel''' package fail to build for ARM? ==&lt;br /&gt;
The '''kernel''' package has flags to prevent builds on ARM.&lt;br /&gt;
To compile an ARM kernel, you must use another package, for example the '''kernel-adaptation-n900''' package.&lt;br /&gt;
&lt;br /&gt;
== How install the dependency of a package into the project filesystem? ==&lt;br /&gt;
If the project on your OBS doesn’t provide some dependencies and you must add a repository to your project filesystem's zypper configuration, you have two choices:&lt;br /&gt;
* First one, use an URL and an alias:&lt;br /&gt;
 ## obslight filesystem repositories add &amp;lt;repository_url&amp;gt; &amp;lt;repository_alias&amp;gt; &amp;lt;project_alias&amp;gt;&lt;br /&gt;
 obslight filesystem repositories add http://download.meego.com/live/MeeGo:/1.2:/non-oss/MeeGo_1.2/ MeeGo_non-oss MeeGo_1.2_oss&lt;br /&gt;
* Second one, add the repository of another local project:&lt;br /&gt;
 ## obslight filesystem repositories add from &amp;lt;source_project_alias&amp;gt; &amp;lt;project_alias&amp;gt;&lt;br /&gt;
 obslight filesystem repositories add from MeeGo_1.2_non-oss MeeGo_1.2_oss&lt;br /&gt;
&lt;br /&gt;
== Where to send bug reports ? ==&lt;br /&gt;
Bugs are centralized on [https://bugs.meego.com/buglist.cgi?product=Development%20Tools&amp;amp;component=OBS%20Light MeeGo's bugzilla].&lt;br /&gt;
&lt;br /&gt;
= Links =&lt;br /&gt;
* [[OBS_Light | OBS Light main page]]&lt;br /&gt;
* [[ObsLightDeliverable | OBS Light deliverables]]&lt;br /&gt;
* [[OBS_Light_Manual | OBS Light manual]]&lt;br /&gt;
* [https://meego.gitorious.org/meego-developer-tools/obs-light/ OBS Light project on Gitorious]&lt;br /&gt;
* [https://build.pub.meego.com/project/show?project=Project%3AOBS_Light OBS Light project on MeeGo build service]&lt;/div&gt;</summary>
		<author><name>Fvennetier</name></author>	</entry>

	<entry>
		<id>http://wiki.meego.com/User:Fvennetier/OBS_Light_Create_new_package</id>
		<title>User:Fvennetier/OBS Light Create new package</title>
		<link rel="alternate" type="text/html" href="http://wiki.meego.com/User:Fvennetier/OBS_Light_Create_new_package"/>
				<updated>2012-03-22T17:16:15Z</updated>
		
		<summary type="html">&lt;p&gt;Fvennetier: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= How to create a new package using spectacle and a SPEC file ? =&lt;br /&gt;
Official documentation: [[Spectacle]]&lt;br /&gt;
== Requirements ==&lt;br /&gt;
* A project on an OBS server where you have maintainer rights (for example your home project)&lt;br /&gt;
* OBS Light [[ObsLightDeliverable | already installed on your computer]]&lt;br /&gt;
* An archive of your program, named like &amp;lt;tt&amp;gt;program-version.tar.gz&amp;lt;/tt&amp;gt; (&amp;lt;tt&amp;gt;tar.bz2&amp;lt;/tt&amp;gt; is OK)&lt;br /&gt;
* A SPEC file, &amp;lt;tt&amp;gt;program.spec&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Prepare the SPEC file ==&lt;br /&gt;
* First you have to generate a YAML file:&lt;br /&gt;
 spec2spectacle mypackage.spec&lt;br /&gt;
* Edit the generated YAML file, &amp;lt;tt&amp;gt;mypackage.yaml&amp;lt;/tt&amp;gt;. You may have to complete some fields, for example the source file, which should look like ''%{name}-%{version}.tar.gz''.&lt;br /&gt;
* Re-generate the SPEC file&lt;br /&gt;
 specify mypackage.yaml&lt;br /&gt;
* Now check the SPEC file, especially the script section. Your old scripts should have been surrounded by &amp;quot;'''# &amp;gt;&amp;gt; '''&amp;quot; and &amp;quot;'''# &amp;lt;&amp;lt; '''&amp;quot; tags. '''%if''' macros have been removed.&lt;br /&gt;
&lt;br /&gt;
== Create the package ==&lt;br /&gt;
[[OBS Light]] cannot create new packages at the moment. You have to use the web UI, or ''osc''.&lt;br /&gt;
&lt;br /&gt;
# Using the web UI:&lt;br /&gt;
#* Go to the project you want to add your package to.&lt;br /&gt;
#* Go to ''Packages'' tab.&lt;br /&gt;
#* Click ''Create package''.&lt;br /&gt;
#* Give a name to the package (we recommend the same name as your program, in lower-case), a title and a description (optional but recommended).&lt;br /&gt;
# Now you should be able to import this package in [[OBS Light]].&lt;br /&gt;
#* Run &amp;lt;tt&amp;gt;obslightgui&amp;lt;/tt&amp;gt;.&lt;br /&gt;
#* Click ''Import project'' button.&lt;br /&gt;
#* Select a server from the list or add a new one (not explained here).&lt;br /&gt;
#* Select your project in the list.&lt;br /&gt;
#* Select a target and an architecture.&lt;br /&gt;
#* Give an alias to the project (can be the name of the project, without &amp;quot;''':'''&amp;quot;).&lt;br /&gt;
#* You should now see a list of packages, with the one you created earlier.&lt;br /&gt;
#* Select it and press ''finish''.&lt;br /&gt;
# The package is now imported into OBS Light, with status ''broken''.&lt;br /&gt;
#* In the right panel, tab ''Local directory'', click ''Import file''.&lt;br /&gt;
#* Select your SPEC file, YAML file and archive.&lt;br /&gt;
#* The files appear in the list with status ''Added''.&lt;br /&gt;
#* In the middle panel, click ''Commit changes'', and enter a commit message.&lt;br /&gt;
#* The files are uploaded on the OBS server, and the package starts to build.&lt;/div&gt;</summary>
		<author><name>Fvennetier</name></author>	</entry>

	<entry>
		<id>http://wiki.meego.com/User:Fvennetier/OBS_Light_Create_new_package</id>
		<title>User:Fvennetier/OBS Light Create new package</title>
		<link rel="alternate" type="text/html" href="http://wiki.meego.com/User:Fvennetier/OBS_Light_Create_new_package"/>
				<updated>2012-03-22T16:34:31Z</updated>
		
		<summary type="html">&lt;p&gt;Fvennetier: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= How to create a new package using spectacle and a SPEC file ? =&lt;br /&gt;
Official documentation: [[Spectacle]]&lt;br /&gt;
== Requirements ==&lt;br /&gt;
* A project on an OBS server where you have maintainer rights (for example your home project)&lt;br /&gt;
* OBS Light [[ObsLightDeliverable | already installed on your computer]]&lt;br /&gt;
* An archive of your program, named like &amp;lt;tt&amp;gt;program-version.tar.gz&amp;lt;/tt&amp;gt; (&amp;lt;tt&amp;gt;tar.bz2&amp;lt;/tt&amp;gt; is OK)&lt;br /&gt;
* A SPEC file, &amp;lt;tt&amp;gt;program.spec&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Round-trip the SPEC file ==&lt;br /&gt;
* First you have to generate a YAML file:&lt;br /&gt;
 spec2spectacle mypackage.spec&lt;br /&gt;
* Edit the generated YAML file, &amp;lt;tt&amp;gt;mypackage.yaml&amp;lt;/tt&amp;gt;. You may have to complete some fields, for example the source file, which should look like ''%{name}-%{version}.tar.gz''.&lt;br /&gt;
* Re-generate the SPEC file&lt;br /&gt;
 specify mypackage.yaml&lt;br /&gt;
* Now check the SPEC file, especially the script section. Your old scripts should have been surrounded by &amp;quot;'''# &amp;gt;&amp;gt; '''&amp;quot; and &amp;quot;'''# &amp;lt;&amp;lt; '''&amp;quot; tags. '''%if''' macros have been removed.&lt;br /&gt;
&lt;br /&gt;
== Create the package on OBS ==&lt;br /&gt;
[[OBS Light]] cannot create new packages at the moment. You have to use the web UI, or ''osc''.&lt;br /&gt;
&lt;br /&gt;
* Using the web UI, go to the project you want to add your package to, go to ''Packages'' tab and click ''Create package''. Give a name to the package (we recommend the same name as your program, in lower-case), a title and a description (optional but recommended).&lt;br /&gt;
* Now you should be able to import this package in [[OBS Light]].&lt;/div&gt;</summary>
		<author><name>Fvennetier</name></author>	</entry>

	<entry>
		<id>http://wiki.meego.com/User:Fvennetier/OBS_Light_Create_new_package</id>
		<title>User:Fvennetier/OBS Light Create new package</title>
		<link rel="alternate" type="text/html" href="http://wiki.meego.com/User:Fvennetier/OBS_Light_Create_new_package"/>
				<updated>2012-03-22T16:09:16Z</updated>
		
		<summary type="html">&lt;p&gt;Fvennetier: Created page with &amp;quot;= How to create a new package using spectacle and a SPEC file ? = Official documentation: Spectacle == Requirements == * An archive of your program, named like &amp;lt;tt&amp;gt;program-ve...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= How to create a new package using spectacle and a SPEC file ? =&lt;br /&gt;
Official documentation: [[Spectacle]]&lt;br /&gt;
== Requirements ==&lt;br /&gt;
* An archive of your program, named like &amp;lt;tt&amp;gt;program-version.tar.gz&amp;lt;/tt&amp;gt; (&amp;lt;tt&amp;gt;tar.bz2&amp;lt;/tt&amp;gt; is OK)&lt;br /&gt;
* A SPEC file, &amp;lt;tt&amp;gt;program.spec&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Round-trip the SPEC file ==&lt;br /&gt;
* First you have to generate a YAML file:&lt;br /&gt;
 spec2spectacle mypackage.spec&lt;br /&gt;
* Edit the generated YAML file, &amp;lt;tt&amp;gt;mypackage.yaml&amp;lt;/tt&amp;gt;. You may have to complete some fields, for example the source file, which should look like ''%{name}-%{version}.tar.gz''.&lt;br /&gt;
* Re-generate the SPEC file&lt;br /&gt;
 specify mypackage.yaml&lt;br /&gt;
* Now check the SPEC file, especially the script section. Your old scripts should have been surrounded by &amp;quot;'''# &amp;gt;&amp;gt; '''&amp;quot; and &amp;quot;'''# &amp;lt;&amp;lt; '''&amp;quot; tags. '''%if''' macros have been removed.&lt;/div&gt;</summary>
		<author><name>Fvennetier</name></author>	</entry>

	<entry>
		<id>http://wiki.meego.com/OBS_Light_Installation</id>
		<title>OBS Light Installation</title>
		<link rel="alternate" type="text/html" href="http://wiki.meego.com/OBS_Light_Installation"/>
				<updated>2012-03-20T13:52:22Z</updated>
		
		<summary type="html">&lt;p&gt;Fvennetier: /* For OpenSUSE 12.1 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= OBS Light Deliverable =&lt;br /&gt;
== Introduction ==&lt;br /&gt;
[[OBS Light]] project deliverable which are available are listed on this page. Publication of the information will follow the progress of the implementation (yes, we do publish early draft versions, using them is at your risk)&lt;br /&gt;
&lt;br /&gt;
== Packaged versions ==&lt;br /&gt;
Packaged versions of the OBS Light client (still in development) are available for OpenSUSE, MeeGo, Debian and Ubuntu.&lt;br /&gt;
=== For OpenSUSE 11.4 ===&lt;br /&gt;
The repository is [http://repo.pub.meego.com/Project:/OBS_Light/openSUSE_11.4/ here].&lt;br /&gt;
There are 2 packages:&lt;br /&gt;
* ''obslight'', which contains the API, a commandline client, and [[obstag | obstag, obs2obscopy and obsextractgroups]]&lt;br /&gt;
* ''obslight-gui'', which contains the graphical user interface&lt;br /&gt;
To install ''obslight'':&lt;br /&gt;
 zypper ar -f http://repo.pub.meego.com/Project:/OBS_Light/openSUSE_11.4/ OBS_Light&lt;br /&gt;
optional, to disable GPG checks and prevent &amp;quot;File 'repomd.xml' from repository 'OBS_Light' is unsigned&amp;quot; messages&lt;br /&gt;
 echo &amp;quot;gpgcheck=0&amp;quot; &amp;gt;&amp;gt; /etc/zypp/repos.d/OBS_Light.repo&lt;br /&gt;
 zypper --gpg-auto-import-keys ref&lt;br /&gt;
 zypper in obslight&lt;br /&gt;
To install the GUI, you will need PySide:&lt;br /&gt;
 zypper ar http://download.opensuse.org/repositories/home:/cgoncalves:/pyside:/shiboken/openSUSE_11.4/ pyside&lt;br /&gt;
 zypper --gpg-auto-import-keys ref&lt;br /&gt;
 zypper in obslight-gui&lt;br /&gt;
&lt;br /&gt;
=== For OpenSUSE 12.1 ===&lt;br /&gt;
There are 2 packages:&lt;br /&gt;
* ''obslight'', which contains the API, a commandline client, and [[obstag | obstag, obs2obscopy and obsextractgroups]]&lt;br /&gt;
* ''obslight-gui'', which contains the graphical user interface&lt;br /&gt;
 zypper ar http://repo.pub.meego.com/Project:/OBS_Light:/openSUSE:/12.1/openSUSE_12.1/Project:OBS_Light:openSUSE:12.1.repo &lt;br /&gt;
or&lt;br /&gt;
 zypper ar http://repo.pub.meego.com/Project:/OBS_Light:/openSUSE:/12.1/openSUSE_12.1/ Project_OBS_Light_openSUSE_12.1&lt;br /&gt;
optional, to disable GPG checks and prevent &amp;quot;File 'repomd.xml' from repository 'OBS_Light' is unsigned&amp;quot; messages&lt;br /&gt;
 echo &amp;quot;gpgcheck=0&amp;quot; &amp;gt;&amp;gt; &amp;quot;/etc/zypp/repos.d/Project_OBS_Light_openSUSE_12.1.repo&amp;quot;&lt;br /&gt;
&lt;br /&gt;
To install the GUI, you will need PySide:&lt;br /&gt;
 zypper ar http://download.opensuse.org/repositories/home:/Fisiu:/pyside/openSUSE_12.1/home:Fisiu:pyside.repo&lt;br /&gt;
or &lt;br /&gt;
 zypper ar http://download.opensuse.org/repositories/home:/Fisiu:/pyside/openSUSE_12.1/ Pyside&lt;br /&gt;
&lt;br /&gt;
 zypper --gpg-auto-import-keys ref&lt;br /&gt;
 zypper in obslight obslight-gui&lt;br /&gt;
&lt;br /&gt;
=== For Ubuntu ===&lt;br /&gt;
The repositories are [http://repo.pub.meego.com/Project:/OBS_Light/ here]. Available Ubuntu versions are '''10.04''', '''11.04''' and '''11.10'''.&lt;br /&gt;
There is only one package, ''obslight'', which contains the commandline, the GUI and the utilities. Add the following line to your '''/etc/apt/sources.list''' file (or to a new file '''/etc/apt/sources.list.d/obslight.list'''), replacing '''&amp;lt;version&amp;gt;''' by the appropriate version:&lt;br /&gt;
 deb http://repo.pub.meego.com/Project:/OBS_Light/Ubuntu_&amp;lt;version&amp;gt;/ ./&lt;br /&gt;
You also need a recent version of [http://www.pyside.org/ PySide]:&lt;br /&gt;
 sudo apt-add-repository ppa:pyside/ppa&lt;br /&gt;
If you have Ubuntu 10.04 and an old version of '''osc''' (&amp;lt; 0.132) we suggest also adding:&lt;br /&gt;
 deb http://download.opensuse.org/repositories/openSUSE:/Tools/xUbuntu_10.04/ ./&lt;br /&gt;
Refresh the APT database and install OBS Light:&lt;br /&gt;
 sudo apt-get update&lt;br /&gt;
 sudo apt-get install obslight&lt;br /&gt;
Add yourself to the '''users''' group:&lt;br /&gt;
 sudo usermod -a -G users `whoami`&lt;br /&gt;
You should log out so that the system takes into account your new group.&lt;br /&gt;
If you don't want to log out, you can use &amp;quot;''newgrp users''&amp;quot; before running obslight (but it will only work in the current console).&lt;br /&gt;
&lt;br /&gt;
=== For Debian ===&lt;br /&gt;
[''Not tested'']&lt;br /&gt;
The repository is [http://repo.pub.meego.com/home:/ronan:/OBS_Light/Debian_6.0/ here].&lt;br /&gt;
&lt;br /&gt;
''Note'': the '''obslight''' package has a dependency to [http://www.pyside.org/ PySide], which is not included in Debian &amp;quot;stable&amp;quot;. So you will need Debian &amp;quot;testing&amp;quot; if you want to test.&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
To get a brief overview of all available commands, just type:&lt;br /&gt;
 obslight --help&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== OBS Tagging and Project copying ==&lt;br /&gt;
One of the problem that any user of a private OBS will quickly face, is the need to tag specific version of a project and allow the copy of the project from an OBS to an other OBS or from one project to an other project.&lt;br /&gt;
&lt;br /&gt;
More details on obstag and obs2obscopy can be found [[obstag | here]]&lt;br /&gt;
&lt;br /&gt;
= Links =&lt;br /&gt;
* [[OBS Light | OBS Light main page]]&lt;br /&gt;
* [[OBS_Light_FAQ | OBS Light Frequently Asked Questions]]&lt;br /&gt;
* [[OBS_Light_Manual | OBS Light Manual]]&lt;br /&gt;
* [https://meego.gitorious.org/meego-developer-tools/obs-light/ OBS Light project on Gitorious]&lt;br /&gt;
* [https://build.pub.meego.com/project/show?project=Project%3AOBS_Light OBS Light project on MeeGo build service]&lt;/div&gt;</summary>
		<author><name>Fvennetier</name></author>	</entry>

	<entry>
		<id>http://wiki.meego.com/OBS_Light_Installation</id>
		<title>OBS Light Installation</title>
		<link rel="alternate" type="text/html" href="http://wiki.meego.com/OBS_Light_Installation"/>
				<updated>2012-03-15T11:15:37Z</updated>
		
		<summary type="html">&lt;p&gt;Fvennetier: /* Packaged versions */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= OBS Light Deliverable =&lt;br /&gt;
== Introduction ==&lt;br /&gt;
[[OBS Light]] project deliverable which are available are listed on this page. Publication of the information will follow the progress of the implementation (yes, we do publish early draft versions, using them is at your risk)&lt;br /&gt;
&lt;br /&gt;
== Packaged versions ==&lt;br /&gt;
Packaged versions of the OBS Light client (still in development) are available for OpenSUSE, MeeGo, Debian and Ubuntu.&lt;br /&gt;
=== For OpenSUSE 11.4 ===&lt;br /&gt;
The repository is [http://repo.pub.meego.com/Project:/OBS_Light/openSUSE_11.4/ here].&lt;br /&gt;
There are 2 packages:&lt;br /&gt;
* ''obslight'', which contains the API, a commandline client, and [[obstag | obstag, obs2obscopy and obsextractgroups]]&lt;br /&gt;
* ''obslight-gui'', which contains the graphical user interface&lt;br /&gt;
To install ''obslight'':&lt;br /&gt;
 zypper ar -f http://repo.pub.meego.com/Project:/OBS_Light/openSUSE_11.4/ OBS_Light&lt;br /&gt;
optional, to disable GPG checks and prevent &amp;quot;File 'repomd.xml' from repository 'OBS_Light' is unsigned&amp;quot; messages&lt;br /&gt;
 echo &amp;quot;gpgcheck=0&amp;quot; &amp;gt;&amp;gt; /etc/zypp/repos.d/OBS_Light.repo&lt;br /&gt;
 zypper --gpg-auto-import-keys ref&lt;br /&gt;
 zypper in obslight&lt;br /&gt;
To install the GUI, you will need PySide:&lt;br /&gt;
 zypper ar http://download.opensuse.org/repositories/home:/cgoncalves:/pyside:/shiboken/openSUSE_11.4/ pyside&lt;br /&gt;
 zypper --gpg-auto-import-keys ref&lt;br /&gt;
 zypper in obslight-gui&lt;br /&gt;
&lt;br /&gt;
=== For OpenSUSE 12.1 ===&lt;br /&gt;
There are 2 packages:&lt;br /&gt;
* ''obslight'', which contains the API, a commandline client, and [[obstag | obstag, obs2obscopy and obsextractgroups]]&lt;br /&gt;
* ''obslight-gui'', which contains the graphical user interface&lt;br /&gt;
 zypper ar http://repo.pub.meego.com/Project:/OBS_Light:/openSUSE:/12.1/openSUSE_12.1/Project:OBS_Light:openSUSE:12.1.repo&lt;br /&gt;
optional, to disable GPG checks and prevent &amp;quot;File 'repomd.xml' from repository 'OBS_Light' is unsigned&amp;quot; messages&lt;br /&gt;
 echo &amp;quot;gpgcheck=0&amp;quot; &amp;gt;&amp;gt; /etc/zypp/repos.d/Project_OBS_Light.repo&lt;br /&gt;
&lt;br /&gt;
To install the GUI, you will need PySide:&lt;br /&gt;
 zypper ar http://download.opensuse.org/repositories/home:/Fisiu:/pyside/openSUSE_12.1/home:Fisiu:pyside.repo&lt;br /&gt;
 zypper --gpg-auto-import-keys ref&lt;br /&gt;
&lt;br /&gt;
 zypper in obslight obslight-gui&lt;br /&gt;
&lt;br /&gt;
=== For Ubuntu ===&lt;br /&gt;
The repositories are [http://repo.pub.meego.com/Project:/OBS_Light/ here]. Available Ubuntu versions are '''10.04''', '''11.04''' and '''11.10'''.&lt;br /&gt;
There is only one package, ''obslight'', which contains the commandline, the GUI and the utilities. Add the following line to your '''/etc/apt/sources.list''' file (or to a new file '''/etc/apt/sources.list.d/obslight.list'''), replacing '''&amp;lt;version&amp;gt;''' by the appropriate version:&lt;br /&gt;
 deb http://repo.pub.meego.com/Project:/OBS_Light/Ubuntu_&amp;lt;version&amp;gt;/ ./&lt;br /&gt;
You also need a recent version of [http://www.pyside.org/ PySide]:&lt;br /&gt;
 sudo apt-add-repository ppa:pyside/ppa&lt;br /&gt;
If you have Ubuntu 10.04 and an old version of '''osc''' (&amp;lt; 0.132) we suggest also adding:&lt;br /&gt;
 deb http://download.opensuse.org/repositories/openSUSE:/Tools/xUbuntu_10.04/ ./&lt;br /&gt;
Refresh the APT database and install OBS Light:&lt;br /&gt;
 sudo apt-get update&lt;br /&gt;
 sudo apt-get install obslight&lt;br /&gt;
Add yourself to the '''users''' group:&lt;br /&gt;
 sudo usermod -a -G users `whoami`&lt;br /&gt;
You should log out so that the system takes into account your new group.&lt;br /&gt;
If you don't want to log out, you can use &amp;quot;''newgrp users''&amp;quot; before running obslight (but it will only work in the current console).&lt;br /&gt;
&lt;br /&gt;
=== For Debian ===&lt;br /&gt;
[''Not tested'']&lt;br /&gt;
The repository is [http://repo.pub.meego.com/home:/ronan:/OBS_Light/Debian_6.0/ here].&lt;br /&gt;
&lt;br /&gt;
''Note'': the '''obslight''' package has a dependency to [http://www.pyside.org/ PySide], which is not included in Debian &amp;quot;stable&amp;quot;. So you will need Debian &amp;quot;testing&amp;quot; if you want to test.&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
To get a brief overview of all available commands, just type:&lt;br /&gt;
 obslight --help&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== OBS Tagging and Project copying ==&lt;br /&gt;
One of the problem that any user of a private OBS will quickly face, is the need to tag specific version of a project and allow the copy of the project from an OBS to an other OBS or from one project to an other project.&lt;br /&gt;
&lt;br /&gt;
More details on obstag and obs2obscopy can be found [[obstag | here]]&lt;br /&gt;
&lt;br /&gt;
= Links =&lt;br /&gt;
* [[OBS Light | OBS Light main page]]&lt;br /&gt;
* [[OBS_Light_FAQ | OBS Light Frequently Asked Questions]]&lt;br /&gt;
* [[OBS_Light_Manual | OBS Light Manual]]&lt;br /&gt;
* [https://meego.gitorious.org/meego-developer-tools/obs-light/ OBS Light project on Gitorious]&lt;br /&gt;
* [https://build.pub.meego.com/project/show?project=Project%3AOBS_Light OBS Light project on MeeGo build service]&lt;/div&gt;</summary>
		<author><name>Fvennetier</name></author>	</entry>

	<entry>
		<id>http://wiki.meego.com/OBS_Light_Manual</id>
		<title>OBS Light Manual</title>
		<link rel="alternate" type="text/html" href="http://wiki.meego.com/OBS_Light_Manual"/>
				<updated>2012-03-14T13:41:28Z</updated>
		
		<summary type="html">&lt;p&gt;Fvennetier: /* Troubleshooting */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is the user manual of the command-line and graphical interface of OBS Light.&lt;br /&gt;
* [[OBS_Light | OBS Light project]]&lt;br /&gt;
* [[OBS_Light_FAQ | Frequently Asked Questions]]&lt;br /&gt;
* [[ObsLightDeliverable | Installation]]&lt;br /&gt;
= General principles =&lt;br /&gt;
== Operation modes ==&lt;br /&gt;
OBS Light is available via command line (obslight) and a graphical user interface GUI (obslightgui).&lt;br /&gt;
Independently of that fact that you are using the command line or the GUI, you will get access to the same services.&lt;br /&gt;
&lt;br /&gt;
== Videos training ==&lt;br /&gt;
We have created a set of video which will provide you a quick overview of how to start with OBS Light.&amp;lt;br&amp;gt;&lt;br /&gt;
They cover :&lt;br /&gt;
* Where to find the tool and information&lt;br /&gt;
* How to install OBS Light and get write access to an OBS&lt;br /&gt;
* Creation of you first project and package import&lt;br /&gt;
* Working in the project filesystem&lt;br /&gt;
* Auto creation of patch and upload to OBS&lt;br /&gt;
&lt;br /&gt;
http://www.dailymotion.com/playlist/x1t5ll_dominigarfoll_obs-light-training&lt;br /&gt;
&lt;br /&gt;
== Step by step ==&lt;br /&gt;
=== Get Login access to an OBS server ===&lt;br /&gt;
OBS Light is a simplified model to develop code via an OBS. It does not replace your OBS.&lt;br /&gt;
&lt;br /&gt;
To use OBS Light you will need a login access to an OBS. You have two simple methods to get a login on an OBS:&lt;br /&gt;
* You can create a login on several &amp;quot;free&amp;quot; OBS :&lt;br /&gt;
** MeeGo Community https://build.pub.meego.com/&lt;br /&gt;
** OpenSUSE https://build.opensuse.org/&lt;br /&gt;
* Run your private OBS instance&lt;br /&gt;
** Select a ready made MeeGo OBS appliance (highly recommended) http://susestudio.com/a/e0uuBG/meego-obs&lt;br /&gt;
** Install your private full appliance (advanced users only) http://en.opensuse.org/openSUSE:Build_Service_private_instance&lt;br /&gt;
&lt;br /&gt;
Once you have a login on an OBS instance, you will need to copy a project to play with. You can use the utilities ''obstag'' and ''obs2obscopy'' to achieve that in an easy way. See [[ Obstag ]].&lt;br /&gt;
&lt;br /&gt;
=== Configure your OBS servers ===&lt;br /&gt;
OBS Light needs to know on which server you will connect to. As OBS Light does more than the osc tool, more information will be needed. You will be asked the following  :&lt;br /&gt;
* OBS server web URL&lt;br /&gt;
* OBS server API URL&lt;br /&gt;
* OBS repository URL&lt;br /&gt;
* Login&lt;br /&gt;
* Password&lt;br /&gt;
* Alias (note that Alias will need to be different from any Alias already present in your osc configuration and OBS light will enforce that constrain). If you plan to use the import/export functions make sure that you use the same Alias on the sending and receiving hosts.&lt;br /&gt;
&lt;br /&gt;
Even if these information are copied in ''.osrcrc'', they must be maintain via the OBS light command.&lt;br /&gt;
&lt;br /&gt;
=== Import the package(s) to work on ===&lt;br /&gt;
After the configuration of one or more OBS servers, you will be able to import a package to work on.&lt;br /&gt;
You can also create an empty package would you like to.&lt;br /&gt;
&lt;br /&gt;
OBS Light will create a local copy of that package on your workstation in a very similar way to what an osc checkout action would do.&lt;br /&gt;
As osc, OBS Light transparently keeps track directly of the links between the packages and the associated OBS servers.&lt;br /&gt;
&lt;br /&gt;
=== Create the project filesystem ===&lt;br /&gt;
Once that you have loaded the packages, you can request the creation of a &amp;quot;chroot jail&amp;quot; (thereafter referred to as &amp;quot;filesystem&amp;quot; or &amp;quot;project filesystem&amp;quot;), where the packages can be built without interfering with the host's filesystem. The created filesystem is specific to the project and will not be recreated if it's already present.&lt;br /&gt;
During the creation of the filesystem, extra packages imposed by the build dependencies will be loaded automatically. If you are connected on a remote OBS that phase can take some time and may require a bit of patience.&lt;br /&gt;
&lt;br /&gt;
OBS Light tries to load automatically the dependencies from the analysis of the .spec file in the RPM but that is not always possible. The user has the possibility to add manually extra file and/or packages to the filesystem.&lt;br /&gt;
&lt;br /&gt;
Packages can be imported either from a project already present in OBS Light or from any URL.&lt;br /&gt;
&lt;br /&gt;
=== Importing the code in the project filesystem ===&lt;br /&gt;
Once that the filesystem is created, the source from the package can be imported in the filesystem. During that process, OBS Light will load the extra package needed to build that specific imported source and will create a special git tree which will monitor any changes done by the user.&lt;br /&gt;
&lt;br /&gt;
The user can directly open a window on the filesystem from OBS Light. The console program used by default can be defined in the OBS Light configuration file.&lt;br /&gt;
From there direct modification of the code in the filesystem is possible and local build can be run as often as desired.&lt;br /&gt;
&lt;br /&gt;
=== Committing changes ===&lt;br /&gt;
When the user is happy of his change, he can request the change from the filesystem to be committed directly in the package.&lt;br /&gt;
&lt;br /&gt;
A patch will be created and added to the package and configured in the .spec file by OBS Light.&lt;br /&gt;
&lt;br /&gt;
=== Saving changes on the OBS server ===&lt;br /&gt;
Once that changes on a given project (which can work on one or multiple packages) achieve a stage which is worth to push on the OBS server. The user can simply request to save the project and OBS Light will commit the changes automatically.&lt;br /&gt;
&lt;br /&gt;
== Example: patching MeeGo 1.2 ''kernel'' package ==&lt;br /&gt;
&lt;br /&gt;
=== Step1: inform ''obslight'' about your OBS account ===&lt;br /&gt;
 ## synthax: obslight server add server_alias &amp;lt;server_alias&amp;gt; login &amp;lt;login&amp;gt; password &amp;lt;password&amp;gt; api_url &amp;lt;api_url&amp;gt; repository_url &amp;lt;repository_url&amp;gt; web_url &amp;lt;web_url&amp;gt;&lt;br /&gt;
;''server_alias''&lt;br /&gt;
: is the alias you want to use to refer to this server.&lt;br /&gt;
;''api_url''&lt;br /&gt;
: is the URL to the OBS control API. If you are using [http://susestudio.com/a/e0uuBG/meego-obs OBS appliance], it's probably on port 81.&lt;br /&gt;
;''repository_url''&lt;br /&gt;
: is the URL to the OBS package repositories. If you are using [http://susestudio.com/a/e0uuBG/meego-obs OBS appliance], it's probably on port 82.&lt;br /&gt;
;''web_url''&lt;br /&gt;
: is the URL to the OBS web interface.&lt;br /&gt;
&lt;br /&gt;
=== Step2: create a local project related to your OBS project ===&lt;br /&gt;
* The project is created in '''~/OBSLight/ObsProjects/MeeGo_1.2_oss/'''&lt;br /&gt;
 ## synthax: obslight obsproject add &amp;lt;project_alias&amp;gt; &amp;lt;name_on_obs&amp;gt; &amp;lt;target&amp;gt; &amp;lt;arch&amp;gt; &amp;lt;server_alias&amp;gt;&lt;br /&gt;
 obslight obsproject add MeeGo_1.2_oss MeeGo:1.2:oss standard i586 &amp;lt;server_alias&amp;gt;&lt;br /&gt;
;''project_alias''&lt;br /&gt;
: is the name you will use to refer to this project with the ''obslight'' command (e.g. ''MeeGo_1.2_oss'').&lt;br /&gt;
;''name_on_obs''&lt;br /&gt;
: is the name of the project on the OBS (e.g. ''MeeGo:1.2:oss'').&lt;br /&gt;
;''target''&lt;br /&gt;
: is the target against which we will build (''standard'' is the common name when there is only one).&lt;br /&gt;
;''arch''&lt;br /&gt;
: is the target architecture of the project.&lt;br /&gt;
;''server_alias''&lt;br /&gt;
: is the alias of the OBS server from which we get the project (which has been configured in first step).&lt;br /&gt;
&lt;br /&gt;
=== Step3: add the kernel package to your local project ===&lt;br /&gt;
* The package is created in '''~/OBSLight/ObsProjects/MeeGo_1.2_oss/MeeGo:1.2:oss/kernel/'''&lt;br /&gt;
* In this directory, the package is manageable by osc.&lt;br /&gt;
 ## synthax: obslight package add package &amp;lt;package&amp;gt; project_alias &amp;lt;project_alias&amp;gt;&lt;br /&gt;
 obslight package add package kernel project_alias MeeGo_1.2_oss&lt;br /&gt;
;''package''&lt;br /&gt;
: is the name of the package you want to work on (e.g. '''kernel''').&lt;br /&gt;
;''project_alias''&lt;br /&gt;
: is the name of the project you created in step2.&lt;br /&gt;
&lt;br /&gt;
=== Step4: create the filesystem of the project ===&lt;br /&gt;
* The filesystem root directory is '''~/OBSLight/ObsProjects/MeeGo_1.2_oss/aChroot/'''.&lt;br /&gt;
* zypper is included in the filesystem and your OBS project's repository is automatically added.&lt;br /&gt;
 ## synthax: obslight filesystem create &amp;lt;project_alias&amp;gt;&lt;br /&gt;
 obslight filesystem create MeeGo_1.2_oss&lt;br /&gt;
&lt;br /&gt;
=== Step5: add the source of the kernel package into your filesystem ===&lt;br /&gt;
* The source package is extracted in directory '''/root/rpmbuild/BUILD/kernel-X.X.X/linux-X.X.X'''.&lt;br /&gt;
* After the installation, a git repository is initialized in package's directory.&lt;br /&gt;
 ## synthax: obslight rpmbuild prepare package &amp;lt;package&amp;gt; project_alias &amp;lt;project_alias&amp;gt;&lt;br /&gt;
 obslight rpmbuild prepare package kernel project_alias MeeGo_1.2_oss&lt;br /&gt;
&lt;br /&gt;
=== Step6: work as you want into your filesystem ===&lt;br /&gt;
* The directory '''~/OBSLight/ObsProjects/MeeGo_1.2_oss/chrootTransfert/''' is mounted into the chroot jail in '''/chrootTransfert/'''.&lt;br /&gt;
* Every script executed in ''aChroot'', is stored in '''/chrootTransfert/''' as '''runMe_YYYY-MM-DD_HHhMMmSS.sh'''.&lt;br /&gt;
 ## synthax: obslight filesystem enter package &amp;lt;package&amp;gt; project_alias &amp;lt;project_alias&amp;gt;&lt;br /&gt;
 obslight filesystem enter package kernel project_alias MeeGo_1.2_oss&lt;br /&gt;
&lt;br /&gt;
Now you are logged in the chroot jail.&lt;br /&gt;
In this example we just modify the kernel configuration.&lt;br /&gt;
 $ cp configs/kernel-x86.config .config&lt;br /&gt;
 $ make menuconfig&lt;br /&gt;
&lt;br /&gt;
=== Step7: save your modifications ===&lt;br /&gt;
There are two methods.&lt;br /&gt;
&lt;br /&gt;
==== Method1: by making a patch ====&lt;br /&gt;
 $ cp .config config-x86&lt;br /&gt;
 $ exit&lt;br /&gt;
&lt;br /&gt;
 ## synthax: obslight rpmbuild createpatch &amp;lt;patch&amp;gt; package &amp;lt;package&amp;gt; project_alias &amp;lt;project_alias&amp;gt;&lt;br /&gt;
 obslight rpmbuild createpatch myKernelPatch.patch package kernel project_alias MeeGo_1.2_oss&lt;br /&gt;
&lt;br /&gt;
* The patch is automatically added to the local spec file.&lt;br /&gt;
* '''myKernelPatch.patch''' is automatically added to the local package directory.&lt;br /&gt;
* ''kernel package specific:'' you must move the patch application command '''%patchXXX -p1''' after the command line '''cp $RPM_SOURCE_DIR/config-* .''' in the local spec file&lt;br /&gt;
 vi ~/OBSLight/MeeGo_1.2_oss/MeeGo:1.2:oss/kernel/kernel.spec&lt;br /&gt;
&lt;br /&gt;
==== Method2: by copying the new configuration file in OSC directory ====&lt;br /&gt;
 $ cp .config /chrootTransfert/config-x86&lt;br /&gt;
 $ exit&lt;br /&gt;
 cp ~/OBSLight/ObsProjects/MeeGo_1.2_oss/chrootTransfert/config-x86 ~/OBSLight/ObsProjects/MeeGo_1.2_oss/MeeGo:1.2:oss/kernel/&lt;br /&gt;
&lt;br /&gt;
=== Step8: Upstream your modifications to the OBS server ===&lt;br /&gt;
* The command ''package commit'' checks the additions and deletions of files, before committing the package to the OBS server.&lt;br /&gt;
 ## synthax: obslight package commit &amp;lt;message&amp;gt; package &amp;lt;package&amp;gt; project_alias &amp;lt;project_alias&amp;gt;&lt;br /&gt;
 obslight package commit &amp;quot;Patch kernel&amp;quot; package kernel project_alias MeeGo_1.2_oss&lt;br /&gt;
&lt;br /&gt;
= Command-line =&lt;br /&gt;
&lt;br /&gt;
The help is integrated in the tool. ''obslight help'' will give you an online help.&lt;br /&gt;
&lt;br /&gt;
To get more detail on a specific command you can type ''obslight &amp;lt;command&amp;gt; help''.&lt;br /&gt;
&lt;br /&gt;
 $ obslight help &lt;br /&gt;
 OBSlight:&lt;br /&gt;
    Provides a tool to manage an OBS project on your local machine in command line&lt;br /&gt;
    For informations, see the Help section&lt;br /&gt;
        obslight --Help&lt;br /&gt;
    The gui for OBSlight is obslightgui&lt;br /&gt;
    A FAQ is available at:&lt;br /&gt;
        *http://wiki.meego.com/OBS_Light_FAQ&lt;br /&gt;
    For additional informations, see:&lt;br /&gt;
        *http://wiki.meego.com/OBS_Light&lt;br /&gt;
 Usage: OBSlight [global command] &amp;lt;command&amp;gt; [--command-options]&lt;br /&gt;
 &lt;br /&gt;
 Type OBSlight &amp;lt;command&amp;gt; --Help to get Help on a specific command.&lt;br /&gt;
 Commands:&lt;br /&gt;
 &lt;br /&gt;
    server:                   Manage the OBS server&lt;br /&gt;
    obsproject:               Manage the OBSlight project&lt;br /&gt;
    package:                  Manage the packages of OBSlight project&lt;br /&gt;
    projectfilesystem (projectfs,filesystem,pfs) :&lt;br /&gt;
                              Manage the project filesystem of OBSlight project&lt;br /&gt;
    rpmbuild (rb) :           Manage the rpmbuild of the package into the project filesystem&lt;br /&gt;
    man:                      print the man help document&lt;br /&gt;
 &lt;br /&gt;
 global Options:&lt;br /&gt;
 &lt;br /&gt;
    quiet (-quiet,--quiet) :  run obslight in quiet mode&lt;br /&gt;
    debug (-debug,--debug) :  run obslight in debugger mode&lt;br /&gt;
    version (--version) :     show program's version number and exit&lt;br /&gt;
    help (-h,-help,--help) :  show this help message and exit&lt;br /&gt;
    noaction:                 Execute command but do nothing&lt;br /&gt;
&lt;br /&gt;
= Graphical interface =&lt;br /&gt;
The GUI is launched via the command ''obslightgui''.&lt;br /&gt;
Only the parameter ''--version'' is supported.&lt;br /&gt;
&lt;br /&gt;
It has two main tabs: one for OBS projects, one for MIC projects&lt;br /&gt;
&lt;br /&gt;
The buttons in each section apply to the relative section. They display a tool-tip when the mouse is positioned on them.&lt;br /&gt;
Button are grayed when there are not active or not yet implemented.&lt;br /&gt;
&lt;br /&gt;
== OBS projects tab ==&lt;br /&gt;
[[File: Obslightgui_01.png|600px|OBS Light GUI main window]]&lt;br /&gt;
&lt;br /&gt;
This tab allows you to manage an OBS project, its packages (and their files) and its filesystem.&lt;br /&gt;
&lt;br /&gt;
It has 3 main areas:&lt;br /&gt;
* OBS project&lt;br /&gt;
* Packages&lt;br /&gt;
* local files and project filesystem (on a tab)&lt;br /&gt;
&lt;br /&gt;
=== The project panel ===&lt;br /&gt;
The panel on the left displays the list of OBS projects locally configured, and information about the selected project.&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;5&amp;quot;&lt;br /&gt;
|&lt;br /&gt;
;New&lt;br /&gt;
: Create a new project. Currently you cannot create a new project from scratch using OBS Light, only import one.&lt;br /&gt;
;Import&lt;br /&gt;
: Import a project from an OBS server.&lt;br /&gt;
;Delete&lt;br /&gt;
: Delete the selected project. The project will be removed locally but will remain on the OBS server.&lt;br /&gt;
;Modify&lt;br /&gt;
: Modify the selected project configuration.&lt;br /&gt;
|&lt;br /&gt;
;Save&lt;br /&gt;
: Save the selected project to a file.&lt;br /&gt;
;Load&lt;br /&gt;
: Load a project from a file.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== The package panel ===&lt;br /&gt;
The panel on the middle displays the list of packages of the selected project, and information about the selected package.&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;5&amp;quot;&lt;br /&gt;
|&lt;br /&gt;
;New&lt;br /&gt;
: Create a new package. Currently you cannot create a new package from scratch using OBS Light, only import one.&lt;br /&gt;
;Import&lt;br /&gt;
: Import a package from an OBS project.&lt;br /&gt;
;Delete&lt;br /&gt;
: Delete the selected package(s). The packages will be removed locally but will remain on the OBS server.&lt;br /&gt;
;Modify&lt;br /&gt;
: Modify the package title and description. Currently not available.&lt;br /&gt;
|&lt;br /&gt;
;Update files&lt;br /&gt;
: Checkout/update files from the OBS (''osc update'' equivalent).&lt;br /&gt;
;Commit changes&lt;br /&gt;
: Commit changes to the OBS (''osc commit'' equivalent).&lt;br /&gt;
;Repair OSC directory&lt;br /&gt;
: Repair the OSC working copy of a package.&lt;br /&gt;
|&lt;br /&gt;
;Refresh status&lt;br /&gt;
: Refresh OBS and Local statuses.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== The file panel ===&lt;br /&gt;
The file panel has two tabs: '''Local directory''' and '''Project filesystem'''.&lt;br /&gt;
&lt;br /&gt;
==== The local directory tab ====&lt;br /&gt;
This tab shows the list of files contained in the selected package.&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;5&amp;quot;&lt;br /&gt;
|colspan=&amp;quot;2&amp;quot;|&lt;br /&gt;
;Open terminal&lt;br /&gt;
: Open a terminal in the package directory&lt;br /&gt;
;Package path&lt;br /&gt;
: Location of the package's OSC working copy&lt;br /&gt;
|-&lt;br /&gt;
| File-related buttons&lt;br /&gt;
| Patch-related buttons&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
;New&lt;br /&gt;
: Create a new empty file. Currently not available.&lt;br /&gt;
;Import&lt;br /&gt;
: Add a file from your local filesystem to the package.&lt;br /&gt;
;Delete&lt;br /&gt;
: Delete the selected file from the package.&lt;br /&gt;
;Modify&lt;br /&gt;
: Launch an editor on the selected file.&lt;br /&gt;
|&lt;br /&gt;
;New&lt;br /&gt;
: Generate a patch from the changes made into the project filesystem, and add this patch to the package and in the yaml and/or spec files. This patch becomes the current patch of the package, until the next '%prep'.&lt;br /&gt;
;Import&lt;br /&gt;
: Import an external patch. Currently not available.&lt;br /&gt;
;Delete&lt;br /&gt;
: Delete a patch. Currently not available.&lt;br /&gt;
;Update&lt;br /&gt;
: Update the current patch with new modifications.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== The project filesystem tab ====&lt;br /&gt;
This tab shows the complete file tree of selected project's filesystem.&lt;br /&gt;
If a package is selected and it has previously been imported into the filesystem, its path is expanded by default.&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;5&amp;quot;&lt;br /&gt;
|colspan=&amp;quot;3&amp;quot;|&lt;br /&gt;
;Open terminal&lt;br /&gt;
: Open a terminal in the filesystem, using '''chroot''', in the source directory of the current package if it is installed.&lt;br /&gt;
;Chroot path&lt;br /&gt;
: Location of the project filesystem.&lt;br /&gt;
|-&lt;br /&gt;
| Repository-related buttons&lt;br /&gt;
| Filesystem-related buttons&lt;br /&gt;
| Rpmbuild-related buttons&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
;New&lt;br /&gt;
: Make a package repository accessible from zypper inside the filesystem, by URL.&lt;br /&gt;
;Import&lt;br /&gt;
: Make the package repository of another OBS Light project accessible from zypper inside the filesystem.&lt;br /&gt;
;Delete&lt;br /&gt;
: Delete a repository from the filesystem.&lt;br /&gt;
;Modify&lt;br /&gt;
: Modify the URL or alias of a repository.&lt;br /&gt;
|&lt;br /&gt;
;New&lt;br /&gt;
: Create the filesystem of the project.&lt;br /&gt;
;Import&lt;br /&gt;
: Not yet implemented.&lt;br /&gt;
;Delete&lt;br /&gt;
: Delete the filesystem&lt;br /&gt;
;Modify&lt;br /&gt;
: Not yet implemented.&lt;br /&gt;
|&lt;br /&gt;
;%prep&lt;br /&gt;
: Install the sources of a package into the filesystem, execute the %prep section of the spec file and do the first build.&lt;br /&gt;
;%build&lt;br /&gt;
: Execute the %build section of the spec file of the selected package, in an alternative rpmbuild directory.&lt;br /&gt;
;%install&lt;br /&gt;
: Execute the %install section of the spec file of the selected package, in an alternative rpmbuild directory.&lt;br /&gt;
;%files&lt;br /&gt;
: Build the source and binary RPMs of the selected package, in an alternative rpmbuild directory.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== MIC projects tab ==&lt;br /&gt;
This tab allows you to manage a MIC (MeeGo Image Creator) project. You can change its architecture and image type, and edit its Kickstart file.&lt;br /&gt;
&lt;br /&gt;
On the left panel you can see a list of MIC projects. Click ''New'' to add one, you will be asked for a name, and an empty Kickstart file will be created.&lt;br /&gt;
&lt;br /&gt;
=== Project options ===&lt;br /&gt;
[[File: Obslightgui_mic_01.png|600px|OBS Light GUI main window - MIC project - Project options]]&lt;br /&gt;
&lt;br /&gt;
In this tab you can:&lt;br /&gt;
* change the generated image type&lt;br /&gt;
** ''fs'': a directory hierarchy containing the whole filesystem&lt;br /&gt;
** ''livecd'': a bootable image suitable for a CD&lt;br /&gt;
** ''liveusb'': a bootable image suitable for a USB key&lt;br /&gt;
** ''loop'': a filesystem image to be mounted with a loop device (with ''mount -o loop'')&lt;br /&gt;
** ''raw''&lt;br /&gt;
* change the architecture of the project (only i686 has been tested)&lt;br /&gt;
* open the directory of the project (with you default file browser)&lt;br /&gt;
* import a Kickstart file (that will overwrite the current file)&lt;br /&gt;
* export the current Kickstart file&lt;br /&gt;
* launch the creation of the image&lt;br /&gt;
&lt;br /&gt;
=== Kickstart options ===&lt;br /&gt;
[[File: Obslightgui_mic_02.png|600px|OBS Light GUI main window - MIC project - Kickstart options]]&lt;br /&gt;
&lt;br /&gt;
In this tab you can add, delete or modify the different options of the project's Kickstart file. These options are documented [http://fedoraproject.org/wiki/Anaconda/Kickstart here].&lt;br /&gt;
&lt;br /&gt;
* To add an option press the ''add'' button, and enter the full option line in the bottom text field, then press ''save''.&lt;br /&gt;
* To modify an option, select it, modify the bottom text field and press ''save''.&lt;br /&gt;
* To delete an option, select it, press ''delete'', and then ''save''.&lt;br /&gt;
&lt;br /&gt;
Notice that some options may have aliases, which will appear on the same line in the option list.&lt;br /&gt;
The ''repo'' option will not be listed here, but in the [[OBS_Light_Manual#Repositories | Repositories]] tab.&lt;br /&gt;
&lt;br /&gt;
=== Repositories ===&lt;br /&gt;
[[File: Obslightgui_mic_03.png|600px|OBS Light GUI main window - MIC project - Kickstart repositories]]&lt;br /&gt;
&lt;br /&gt;
In this tab, you can add, delete, or modify Kickstart repositories.&lt;br /&gt;
&lt;br /&gt;
* To add a repository, there are two possibilities:&lt;br /&gt;
** The repository is from an OBS project you worked on with OBS Light: press ''Import from OBS project'' and select the project.&lt;br /&gt;
** The repository is from an external project: press ''Add by URL'', and you will be asked for an URL and a name.&lt;br /&gt;
* To delete a repository, select it and press ''Delete''.&lt;br /&gt;
* To edit a repository, double-click on the cell of the property you want to edit (or simple click if it is a checkbox).&lt;br /&gt;
The changes are automatically saved.&lt;br /&gt;
&lt;br /&gt;
=== Packages ===&lt;br /&gt;
[[File: Obslightgui_mic_04.png|600px|OBS Light GUI main window - MIC project - Kickstart packages]]&lt;br /&gt;
&lt;br /&gt;
Here you can edit the package list of the project's Kickstart file.&lt;br /&gt;
Notice that multiple ''%package'' sections of original Kickstart file have been merged into one.&lt;br /&gt;
&lt;br /&gt;
Each package has an ''Included'' parameter which tells if it should be included in the generated image. If ''Included'' is not checked, the package will be explicitly excluded in the Kickstart file (its name will be prefixed with '-').&lt;br /&gt;
&lt;br /&gt;
=== Package groups ===&lt;br /&gt;
Here you can edit the list of package groups of the project's Kickstart file.&lt;br /&gt;
At the moment, no verification is done on package groups.&lt;br /&gt;
&lt;br /&gt;
=== Scripts ===&lt;br /&gt;
[[File: Obslightgui_mic_06.png|600px|OBS Light GUI main window - MIC project - Kickstart scripts]]&lt;br /&gt;
&lt;br /&gt;
Here you can add, delete or modify Kickstart scripts.&lt;br /&gt;
&lt;br /&gt;
* To add a script, press ''Add'', write your script in the bottom text field, choose script options in the right panel, and press ''Save''.&lt;br /&gt;
* To delete a script, select it and press ''Delete''.&lt;br /&gt;
* To modify a script, select it, modify the script in the bottom text field or the script options in the right panel, and press ''Save''.&lt;br /&gt;
&lt;br /&gt;
=== Overlay files ===&lt;br /&gt;
[[File: Obslightgui_mic_07.png|600px|OBS Light GUI main window - MIC project - Overlay files]]&lt;br /&gt;
&lt;br /&gt;
Here you can add files that will be included in the project image.&lt;br /&gt;
* To add an overlay file, press ''Add'' and a file browser will appear. Browse to your file and validate. Then a text dialog will appear, enter the path were you want your file to be copied in the image. '''tar''' archives will be extracted at the location you selected, instead of simply being copied.&lt;br /&gt;
* To delete an overlay file, select it and press ''Delete''.&lt;br /&gt;
&lt;br /&gt;
Implementation details:&lt;br /&gt;
* source files are first copied in MIC project's directory&lt;br /&gt;
* each overlay file will appear as a ''%post --nochoot'' script in the Kickstart file (but will be hidden in the ''Scripts'' tab).&lt;br /&gt;
&lt;br /&gt;
= Troubleshooting =&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;tt&amp;gt;&amp;quot;Source package 'xxx' not found&amp;quot;&amp;lt;/tt&amp;gt; or &amp;lt;tt&amp;gt;&amp;quot;Problem: nothing provides X needed by Y&amp;quot;&amp;lt;/tt&amp;gt; ==&lt;br /&gt;
These message may appear in two situations:&lt;br /&gt;
* The package you are trying to build is missing a dependency. OBS Light is not capable of searching dependencies outside the project from which your package comes. You will need to configure an additional repository in the project filesystem, using command ''filesystem repositories add'' or [[OBS_Light_Manual#The_project_filesystem_tab | the repository-related buttons]] in the GUI.&lt;br /&gt;
* In an ARM project filesystem, zypper or libzypp are broken, they do not see '''noarch''' packages. This problem was reported with zypper 1.5.3 and libzypp 8.12.1. We suggest you to update your zypper version to 1.6+. For convenience, we pre-built zypper 1.6.15 and libzypp 9.10.2 to Meego 1.2.0.&lt;br /&gt;
&lt;br /&gt;
=== How to install zypper 1.6.15 from our repository in an ARM project filesystem ===&lt;br /&gt;
==== From commandline ====&lt;br /&gt;
First add our repository to your filesystem's zypper configuration file:&lt;br /&gt;
 obslight filesystem repositories add http://repo.pub.meego.com/Project:/OBS_Light:/Zypper/MeeGo_1.2_OSS/ &amp;quot;Zypper_1.6.15_backport&amp;quot; $ProjectName&lt;br /&gt;
&lt;br /&gt;
Then chroot in the filesystem and update '''zypper''':&lt;br /&gt;
 obslight filesystem enter $ProjectName&lt;br /&gt;
  $ zypper update zypper&lt;br /&gt;
  $ exit&lt;br /&gt;
==== From GUI ====&lt;br /&gt;
* ''Project filesystem'' tab, ''Repository''-&amp;gt;''New'', URL http://repo.pub.meego.com/Project:/OBS_Light:/Zypper/MeeGo_1.2_OSS/ and alias &amp;quot;Zypper_1.6.15_backport&amp;quot;&lt;br /&gt;
* Then ''Project filesystem''-&amp;gt;''Open terminal''&lt;br /&gt;
 # zypper update zypper&lt;br /&gt;
 # exit&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;tt&amp;gt;&amp;quot;error: Architecture is not included: armv8el&amp;quot;&amp;lt;/tt&amp;gt; ==&lt;br /&gt;
The '''build''' package of your project filesystem does not support armv8el builds. Consider using another version, like the 2011.03.29 of MeeGo's repositories.&lt;br /&gt;
&lt;br /&gt;
=== How to install '''build''' version 2011.03.29 in a MeeGo 1.2.0 project filesystem ===&lt;br /&gt;
First add the MeeGo building tools repository to your project filesystem's zypper configuration file:&lt;br /&gt;
 obslight filesystem repositories add http://download.meego.com/live/Tools:/Building/MeeGo_1.2.0/ &amp;quot;Tools:Building_MeeGo_1.2.0&amp;quot; $ProjectName&lt;br /&gt;
&lt;br /&gt;
Then chroot in the filesystem and update '''build''':&lt;br /&gt;
 obslight filesystem enter $ProjectName&lt;br /&gt;
   # zypper update build&lt;br /&gt;
   # exit&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;tt&amp;gt;&amp;quot;chroot: failed to run command `sh': No such file or directory&amp;quot;&amp;lt;/tt&amp;gt; ==&lt;br /&gt;
This appears when '''binfmt_misc''' is not or badly configured.&lt;br /&gt;
Launch qemu's binfmt configuration script (as root):&lt;br /&gt;
 qemu-binfmt-conf.sh&lt;br /&gt;
If you still get the same message, try this (as root):&lt;br /&gt;
 echo -1 &amp;gt; /proc/sys/fs/binfmt_misc/arm&lt;br /&gt;
 echo &amp;quot;:arm:M::\x7fELF\x01\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x28\x00:\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff\xff:`which qemu-arm`:&amp;quot; &amp;gt; /proc/sys/fs/binfmt_misc/register&lt;br /&gt;
&lt;br /&gt;
== gnomekeyring.IOError ==&lt;br /&gt;
This error appears on Ubuntu when running obslight from a console, without a graphical environment. At the moment, the only known solution is to run obslight only from a graphical environment (e.g. Gnome).&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;tt&amp;gt;&amp;quot;sudo: sorry, you must have a tty to run sudo&amp;quot;&amp;lt;/tt&amp;gt; ==&lt;br /&gt;
This message may appear in logs if the '''requiretty''' option is set in sudo configuration file. Edit ''/etc/sudoers'' and comment out the following line:&lt;br /&gt;
 Defaults    requiretty&lt;br /&gt;
&lt;br /&gt;
= Internals =&lt;br /&gt;
== ObsLight GUI ==&lt;br /&gt;
[[File: ObsLightGui_class_diagram.png|link=http://wiki.meego.com/images/ObsLightGui_class_diagram.png|OBS Light GUI class diagram, click to see full size]]&lt;br /&gt;
&lt;br /&gt;
[https://meego.gitorious.org/meego-developer-tools/obs-light/blobs/master/Doc/dia_Resource/ObsLightGui_class_diagram.dia Dia source file]&lt;br /&gt;
&lt;br /&gt;
== ObsLight command line ==&lt;br /&gt;
[[File: Doc_ObsLightCommandLine_class_diagram.png|link=http://wiki.meego.com/File:Doc_ObsLightCommandLine_class_diagram.png|OBS Light command line class diagram, click to see full size]]&lt;br /&gt;
&lt;br /&gt;
[https://meego.gitorious.org/meego-developer-tools/obs-light/blobs/master/Doc/dia_Resource/Doc_ObsLightCommandLine_class_diagram.dia Dia source file]&lt;br /&gt;
&lt;br /&gt;
== ObsLight API Manager ==&lt;br /&gt;
[[File: Doc_ObsLight_API_Manager_class_diagram.png|link=http://wiki.meego.com/File:Doc_ObsLight_API_Manager_class_diagram.png|OBS Light API Manager class diagram, click to see full size]]&lt;br /&gt;
&lt;br /&gt;
[https://meego.gitorious.org/meego-developer-tools/obs-light/blobs/master/Doc/dia_Resource/Doc_ObsLight_API_Manager_class_diagram.dia Dia source file]&lt;/div&gt;</summary>
		<author><name>Fvennetier</name></author>	</entry>

	<entry>
		<id>http://wiki.meego.com/OBS_Light_Installation</id>
		<title>OBS Light Installation</title>
		<link rel="alternate" type="text/html" href="http://wiki.meego.com/OBS_Light_Installation"/>
				<updated>2012-03-08T10:02:59Z</updated>
		
		<summary type="html">&lt;p&gt;Fvennetier: /* OBS Light Deliverable */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= OBS Light Deliverable =&lt;br /&gt;
== Introduction ==&lt;br /&gt;
[[OBS Light]] project deliverable which are available are listed on this page. Publication of the information will follow the progress of the implementation (yes, we do publish early draft versions, using them is at your risk)&lt;br /&gt;
&lt;br /&gt;
== Packaged versions ==&lt;br /&gt;
Packaged versions of the OBS Light client (still in development) are available for OpenSUSE, MeeGo, Debian and Ubuntu.&lt;br /&gt;
=== For OpenSUSE 11.4 ===&lt;br /&gt;
The repository is [http://repo.pub.meego.com/Project:/OBS_Light/openSUSE_11.4/ here].&lt;br /&gt;
There are 2 packages:&lt;br /&gt;
* ''obslight'', which contains the API, a commandline client, and [[obstag | obstag, obs2obscopy and obsextractgroups]]&lt;br /&gt;
* ''obslight-gui'', which contains the graphical user interface&lt;br /&gt;
To install ''obslight'':&lt;br /&gt;
 zypper ar -f http://repo.pub.meego.com/Project:/OBS_Light/openSUSE_11.4/ OBS_Light&lt;br /&gt;
optional, to disable GPG checks and prevent &amp;quot;File 'repomd.xml' from repository 'OBS_Light' is unsigned&amp;quot; messages&lt;br /&gt;
 echo &amp;quot;gpgcheck=0&amp;quot; &amp;gt;&amp;gt; /etc/zypp/repos.d/OBS_Light.repo&lt;br /&gt;
 zypper --gpg-auto-import-keys ref&lt;br /&gt;
 zypper in obslight&lt;br /&gt;
To install the GUI, you will need PySide:&lt;br /&gt;
 zypper ar http://download.opensuse.org/repositories/home:/cgoncalves:/pyside:/shiboken/openSUSE_11.4/ pyside&lt;br /&gt;
 zypper --gpg-auto-import-keys ref&lt;br /&gt;
 zypper in obslight-gui&lt;br /&gt;
&lt;br /&gt;
=== For OpenSUSE 12.1 ===&lt;br /&gt;
There are 2 packages:&lt;br /&gt;
* ''obslight'', which contains the API, a commandline client, and [[obstag | obstag, obs2obscopy and obsextractgroups]]&lt;br /&gt;
* ''obslight-gui'', which contains the graphical user interface&lt;br /&gt;
 zypper ar http://repo.pub.meego.com/Project:/OBS_Light:/openSUSE:/12.1/openSUSE_12.1/Project:OBS_Light:openSUSE:12.1.repo&lt;br /&gt;
optional, to disable GPG checks and prevent &amp;quot;File 'repomd.xml' from repository 'OBS_Light' is unsigned&amp;quot; messages&lt;br /&gt;
 echo &amp;quot;gpgcheck=0&amp;quot; &amp;gt;&amp;gt; /etc/zypp/repos.d/Project_OBS_Light.repo&lt;br /&gt;
&lt;br /&gt;
To install the GUI, you will need PySide:&lt;br /&gt;
 zypper ar http://download.opensuse.org/repositories/home:/Fisiu:/pyside/openSUSE_12.1/home:Fisiu:pyside.repo&lt;br /&gt;
 zypper --gpg-auto-import-keys ref&lt;br /&gt;
&lt;br /&gt;
 zypper in obslight obslight-gui&lt;br /&gt;
&lt;br /&gt;
=== For Ubuntu 11.04 ===&lt;br /&gt;
The repository is [http://repo.pub.meego.com/Project:/OBS_Light/Ubuntu_11.04/ here].&lt;br /&gt;
There is only one package, ''obslight'', which contains the commandline, the GUI and the utilities. Add these lines to your '''/etc/apt/sources.list''' file (or to a new file '''/etc/apt/sources.list.d/obslight.list'''):&lt;br /&gt;
 deb http://repo.pub.meego.com/Project:/OBS_Light/Ubuntu_11.04/ ./&lt;br /&gt;
 deb http://download.opensuse.org/repositories/openSUSE:/Tools/xUbuntu_11.04 ./&lt;br /&gt;
You also need a recent version of [http://www.pyside.org/ PySide]:&lt;br /&gt;
 sudo apt-add-repository ppa:pyside/ppa&lt;br /&gt;
Refresh the APT database and install OBS Light:&lt;br /&gt;
 wget http://download.opensuse.org/repositories/openSUSE:/Tools/xUbuntu_11.04/Release.key -O - | sudo apt-key add -&lt;br /&gt;
 sudo apt-get update&lt;br /&gt;
 sudo apt-get install obslight&lt;br /&gt;
Add yourself to the '''users''' group:&lt;br /&gt;
 sudo usermod -a -G users `whoami`&lt;br /&gt;
You should log out so that the system takes into account your new group.&lt;br /&gt;
If you don't want to log out, you can use &amp;quot;''newgrp users''&amp;quot; before running obslight (but it will only work in the current console).&lt;br /&gt;
&lt;br /&gt;
=== For Ubuntu 11.10 ===&lt;br /&gt;
The repository is [http://repo.pub.meego.com/Project:/OBS_Light/Ubuntu_11.10/ here]&lt;br /&gt;
Add these line to your '''/etc/apt/sources.list''' file (or to a new file '''/etc/apt/sources.list.d/obslight.list'''):&lt;br /&gt;
 deb http://repo.pub.meego.com/Project:/OBS_Light/Ubuntu_11.10/ ./&lt;br /&gt;
Refresh the APT database and install OBS Light:&lt;br /&gt;
 sudo apt-get update&lt;br /&gt;
 sudo apt-get install obslight&lt;br /&gt;
Add yourself to the '''users''' group:&lt;br /&gt;
 sudo usermod -a -G users `whoami`&lt;br /&gt;
You should log out so that the system takes into account your new group.&lt;br /&gt;
If you don't want to log out, you can use &amp;quot;''newgrp users''&amp;quot; before running obslight (but it will only work in the current console).&lt;br /&gt;
&lt;br /&gt;
=== For MeeGo 1.2.0 ===&lt;br /&gt;
[''Not tested''] The repository is [http://repo.pub.meego.com/home:/ronan:/OBS_Light/MeeGo_1.2.0_standard/ here].&lt;br /&gt;
&lt;br /&gt;
=== For Debian ===&lt;br /&gt;
[''Not tested'']&lt;br /&gt;
The repository is [http://repo.pub.meego.com/home:/ronan:/OBS_Light/Debian_6.0/ here].&lt;br /&gt;
&lt;br /&gt;
''Note'': the '''obslight''' package has a dependency to [http://www.pyside.org/ PySide], which is not included in Debian &amp;quot;stable&amp;quot;. So you will need Debian &amp;quot;testing&amp;quot; if you want to test.&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
To get a brief overview of all available commands, just type:&lt;br /&gt;
 obslight --help&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== OBS Tagging and Project copying ==&lt;br /&gt;
One of the problem that any user of a private OBS will quickly face, is the need to tag specific version of a project and allow the copy of the project from an OBS to an other OBS or from one project to an other project.&lt;br /&gt;
&lt;br /&gt;
More details on obstag and obs2obscopy can be found [[obstag | here]]&lt;br /&gt;
&lt;br /&gt;
= Links =&lt;br /&gt;
* [[OBS Light | OBS Light main page]]&lt;br /&gt;
* [[OBS_Light_FAQ | OBS Light Frequently Asked Questions]]&lt;br /&gt;
* [[OBS_Light_Manual | OBS Light Manual]]&lt;br /&gt;
* [https://meego.gitorious.org/meego-developer-tools/obs-light/ OBS Light project on Gitorious]&lt;br /&gt;
* [https://build.pub.meego.com/project/show?project=Project%3AOBS_Light OBS Light project on MeeGo build service]&lt;/div&gt;</summary>
		<author><name>Fvennetier</name></author>	</entry>

	<entry>
		<id>http://wiki.meego.com/OBS_Light_Installation</id>
		<title>OBS Light Installation</title>
		<link rel="alternate" type="text/html" href="http://wiki.meego.com/OBS_Light_Installation"/>
				<updated>2012-03-07T17:05:38Z</updated>
		
		<summary type="html">&lt;p&gt;Fvennetier: /* OBS Light Deliverable */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= OBS Light Deliverable =&lt;br /&gt;
== Introduction ==&lt;br /&gt;
[[OBS Light]] project deliverable which are available are listed on this page. Publication of the information will follow the progress of the implementation (yes, we do publish early draft versions, using them is at your risk)&lt;br /&gt;
&lt;br /&gt;
== Packaged versions ==&lt;br /&gt;
Packaged versions of the OBS Light client (still in development) are available for OpenSUSE, MeeGo, Debian and Ubuntu.&lt;br /&gt;
=== For OpenSUSE 11.4 ===&lt;br /&gt;
The repository is [http://repo.pub.meego.com/Project:/OBS_Light/openSUSE_11.4/ here].&lt;br /&gt;
There are 2 packages:&lt;br /&gt;
* ''obslight'', which contains the API, a commandline client, and [[obstag | obstag, obs2obscopy and obsextractgroups]]&lt;br /&gt;
* ''obslight-gui'', which contains the graphical user interface&lt;br /&gt;
To install ''obslight'':&lt;br /&gt;
 zypper ar -f http://repo.pub.meego.com/Project:/OBS_Light/openSUSE_11.4/ OBS_Light&lt;br /&gt;
optional, to disable GPG checks and prevent &amp;quot;File 'repomd.xml' from repository 'OBS_Light' is unsigned&amp;quot; messages&lt;br /&gt;
 echo &amp;quot;gpgcheck=0&amp;quot; &amp;gt;&amp;gt; /etc/zypp/repos.d/OBS_Light.repo&lt;br /&gt;
 zypper --gpg-auto-import-keys ref&lt;br /&gt;
 zypper in obslight&lt;br /&gt;
To install the GUI, you will need PySide:&lt;br /&gt;
 zypper ar http://download.opensuse.org/repositories/home:/cgoncalves:/pyside:/shiboken/openSUSE_11.4/ pyside&lt;br /&gt;
 zypper --gpg-auto-import-keys ref&lt;br /&gt;
 zypper in obslight-gui&lt;br /&gt;
&lt;br /&gt;
=== For OpenSUSE 12.1 ===&lt;br /&gt;
There are 3 packages:&lt;br /&gt;
* ''obslight-base'', which contains only the commandline version&lt;br /&gt;
* ''obslight-gui'', which contains the graphical user interface&lt;br /&gt;
* ''obslight-utils'', which contains [[obstag | obstag, obs2obscopy and obsextractgroups]]&lt;br /&gt;
 zypper ar http://repo.pub.meego.com/Project:/OBS_Light:/openSUSE:/12.1/openSUSE_12.1/Project:OBS_Light:openSUSE:12.1.repo&lt;br /&gt;
optional, to disable GPG checks and prevent &amp;quot;File 'repomd.xml' from repository 'OBS_Light' is unsigned&amp;quot; messages&lt;br /&gt;
 echo &amp;quot;gpgcheck=0&amp;quot; &amp;gt;&amp;gt; /etc/zypp/repos.d/Project_OBS_Light.repo&lt;br /&gt;
&lt;br /&gt;
To install the GUI, you will need PySide:&lt;br /&gt;
 zypper ar http://download.opensuse.org/repositories/home:/Fisiu:/pyside/openSUSE_12.1/home:Fisiu:pyside.repo&lt;br /&gt;
 zypper --gpg-auto-import-keys ref&lt;br /&gt;
&lt;br /&gt;
=== For Ubuntu 11.04 ===&lt;br /&gt;
The repository is [http://repo.pub.meego.com/Project:/OBS_Light/Ubuntu_11.04/ here].&lt;br /&gt;
There is only one package, ''obslight'', which contains the commandline, the GUI and the utilities. Add these lines to your '''/etc/apt/sources.list''' file (or to a new file '''/etc/apt/sources.list.d/obslight.list'''):&lt;br /&gt;
 deb http://repo.pub.meego.com/Project:/OBS_Light/Ubuntu_11.04/ ./&lt;br /&gt;
 deb http://download.opensuse.org/repositories/openSUSE:/Tools/xUbuntu_11.04 ./&lt;br /&gt;
You also need a recent version of [http://www.pyside.org/ PySide]:&lt;br /&gt;
 sudo apt-add-repository ppa:pyside/ppa&lt;br /&gt;
Refresh the APT database and install OBS Light:&lt;br /&gt;
 wget http://download.opensuse.org/repositories/openSUSE:/Tools/xUbuntu_11.04/Release.key -O - | sudo apt-key add -&lt;br /&gt;
 sudo apt-get update&lt;br /&gt;
 sudo apt-get install obslight&lt;br /&gt;
Add yourself to the '''users''' group:&lt;br /&gt;
 sudo usermod -a -G users `whoami`&lt;br /&gt;
You should log out so that the system takes into account your new group.&lt;br /&gt;
If you don't want to log out, you can use &amp;quot;''newgrp users''&amp;quot; before running obslight (but it will only work in the current console).&lt;br /&gt;
&lt;br /&gt;
=== For Ubuntu 11.10 ===&lt;br /&gt;
The repository is [http://repo.pub.meego.com/Project:/OBS_Light/Ubuntu_11.10/ here]&lt;br /&gt;
Add these line to your '''/etc/apt/sources.list''' file (or to a new file '''/etc/apt/sources.list.d/obslight.list'''):&lt;br /&gt;
 deb http://repo.pub.meego.com/Project:/OBS_Light/Ubuntu_11.10/ ./&lt;br /&gt;
Refresh the APT database and install OBS Light:&lt;br /&gt;
 sudo apt-get update&lt;br /&gt;
 sudo apt-get install obslight&lt;br /&gt;
Add yourself to the '''users''' group:&lt;br /&gt;
 sudo usermod -a -G users `whoami`&lt;br /&gt;
You should log out so that the system takes into account your new group.&lt;br /&gt;
If you don't want to log out, you can use &amp;quot;''newgrp users''&amp;quot; before running obslight (but it will only work in the current console).&lt;br /&gt;
&lt;br /&gt;
=== For MeeGo 1.2.0 ===&lt;br /&gt;
[''Not tested''] The repository is [http://repo.pub.meego.com/home:/ronan:/OBS_Light/MeeGo_1.2.0_standard/ here].&lt;br /&gt;
&lt;br /&gt;
=== For Debian ===&lt;br /&gt;
[''Not tested'']&lt;br /&gt;
The repository is [http://repo.pub.meego.com/home:/ronan:/OBS_Light/Debian_6.0/ here].&lt;br /&gt;
&lt;br /&gt;
''Note'': the '''obslight''' package has a dependency to [http://www.pyside.org/ PySide], which is neither included in Debian stable nor in Debian testing. So you will need Debian unstable if you want to test.&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
To get a brief overview of all available commands, just type:&lt;br /&gt;
 obslight --help&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== OBS Tagging and Project copying ==&lt;br /&gt;
One of the problem that any user of a private OBS will quickly face, is the need to tag specific version of a project and allow the copy of the project from an OBS to an other OBS or from one project to an other project.&lt;br /&gt;
&lt;br /&gt;
More details on obstag and obs2obscopy can be found [[obstag | here]]&lt;br /&gt;
&lt;br /&gt;
= Links =&lt;br /&gt;
* [[OBS Light | OBS Light main page]]&lt;br /&gt;
* [[OBS_Light_FAQ | OBS Light Frequently Asked Questions]]&lt;br /&gt;
* [[OBS_Light_Manual | OBS Light Manual]]&lt;br /&gt;
* [https://meego.gitorious.org/meego-developer-tools/obs-light/ OBS Light project on Gitorious]&lt;br /&gt;
* [https://build.pub.meego.com/project/show?project=Project%3AOBS_Light OBS Light project on MeeGo build service]&lt;/div&gt;</summary>
		<author><name>Fvennetier</name></author>	</entry>

	<entry>
		<id>http://wiki.meego.com/OBS_Light_Installation</id>
		<title>OBS Light Installation</title>
		<link rel="alternate" type="text/html" href="http://wiki.meego.com/OBS_Light_Installation"/>
				<updated>2012-03-07T08:37:26Z</updated>
		
		<summary type="html">&lt;p&gt;Fvennetier: /* Packaged versions */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= OBS Light Deliverable =&lt;br /&gt;
== Introduction ==&lt;br /&gt;
[[OBS Light]] project deliverable which are available are listed on this page. Publication of the information will follow the progress of the implementation (yes, we do publish early draft versions, using them is at your risk)&lt;br /&gt;
&lt;br /&gt;
A command line version of any individual feature will generally precede its implementation as an OSC plugin (when applicable) and creation of a UI will come last.&lt;br /&gt;
Please note that once a command will have been published as an osc plugin the stand alone command will be deprecated.&lt;br /&gt;
&lt;br /&gt;
== Packaged versions ==&lt;br /&gt;
Packaged versions of the OBS Light client (still in development) are available for OpenSUSE, MeeGo, Debian and Ubuntu.&lt;br /&gt;
=== For OpenSUSE 11.4 ===&lt;br /&gt;
The repository is [http://repo.pub.meego.com/Project:/OBS_Light/openSUSE_11.4/ here].&lt;br /&gt;
There are 3 packages:&lt;br /&gt;
* ''obslight-base'', which contains only the commandline version&lt;br /&gt;
* ''obslight-gui'', which contains the graphical user interface&lt;br /&gt;
* ''obslight-utils'', which contains [[obstag | obstag, obs2obscopy and obsextractgroups]]&lt;br /&gt;
To install ''obslight-base'', you will need the meego Tools:&lt;br /&gt;
 zypper ar http://download.meego.com/live/devel:/tools:/building/openSUSE_11.4/ meegoTools&lt;br /&gt;
 zypper --gpg-auto-import-keys ref&lt;br /&gt;
 zypper ar -f http://repo.pub.meego.com/Project:/OBS_Light/openSUSE_11.4/ OBS_Light&lt;br /&gt;
optional, to disable GPG checks and prevent &amp;quot;File 'repomd.xml' from repository 'OBS_Light' is unsigned&amp;quot; messages&lt;br /&gt;
 echo &amp;quot;gpgcheck=0&amp;quot; &amp;gt;&amp;gt; /etc/zypp/repos.d/OBS_Light.repo&lt;br /&gt;
 zypper --gpg-auto-import-keys ref&lt;br /&gt;
 zypper in obslight-base obslight-utils&lt;br /&gt;
To install the GUI, you will need PySide:&lt;br /&gt;
 zypper ar http://download.opensuse.org/repositories/home:/cgoncalves:/pyside:/shiboken/openSUSE_11.4/ pyside&lt;br /&gt;
 zypper --gpg-auto-import-keys ref&lt;br /&gt;
 zypper in obslight-gui&lt;br /&gt;
&lt;br /&gt;
=== For OpenSUSE 12.1 ===&lt;br /&gt;
There are 3 packages:&lt;br /&gt;
* ''obslight-base'', which contains only the commandline version&lt;br /&gt;
* ''obslight-gui'', which contains the graphical user interface&lt;br /&gt;
* ''obslight-utils'', which contains [[obstag | obstag, obs2obscopy and obsextractgroups]]&lt;br /&gt;
 zypper ar http://repo.pub.meego.com/Project:/OBS_Light:/openSUSE:/12.1/openSUSE_12.1/Project:OBS_Light:openSUSE:12.1.repo&lt;br /&gt;
optional, to disable GPG checks and prevent &amp;quot;File 'repomd.xml' from repository 'OBS_Light' is unsigned&amp;quot; messages&lt;br /&gt;
 echo &amp;quot;gpgcheck=0&amp;quot; &amp;gt;&amp;gt; /etc/zypp/repos.d/Project_OBS_Light.repo&lt;br /&gt;
&lt;br /&gt;
To install the GUI, you will need PySide:&lt;br /&gt;
 zypper ar http://download.opensuse.org/repositories/home:/Fisiu:/pyside/openSUSE_12.1/home:Fisiu:pyside.repo&lt;br /&gt;
 zypper --gpg-auto-import-keys ref&lt;br /&gt;
&lt;br /&gt;
=== For Ubuntu 11.04 ===&lt;br /&gt;
The repository is [http://repo.pub.meego.com/Project:/OBS_Light/Ubuntu_11.04/ here].&lt;br /&gt;
There is only one package, ''obslight'', which contains the commandline, the GUI and the utilities. Add these lines to your '''/etc/apt/sources.list''' file (or to a new file '''/etc/apt/sources.list.d/obslight.list'''):&lt;br /&gt;
 deb http://repo.pub.meego.com/Project:/OBS_Light/Ubuntu_11.04/ ./&lt;br /&gt;
 deb http://download.opensuse.org/repositories/openSUSE:/Tools/xUbuntu_11.04 ./&lt;br /&gt;
You also need a recent version of [http://www.pyside.org/ PySide]:&lt;br /&gt;
 sudo apt-add-repository ppa:pyside/ppa&lt;br /&gt;
Refresh the APT database and install OBS Light:&lt;br /&gt;
 wget http://download.opensuse.org/repositories/openSUSE:/Tools/xUbuntu_11.04/Release.key -O - | sudo apt-key add -&lt;br /&gt;
 sudo apt-get update&lt;br /&gt;
 sudo apt-get install obslight&lt;br /&gt;
Add yourself to the '''users''' group:&lt;br /&gt;
 sudo usermod -a -G users `whoami`&lt;br /&gt;
You should log out so that the system takes into account your new group.&lt;br /&gt;
If you don't want to log out, you can use &amp;quot;''newgrp users''&amp;quot; before running obslight (but it will only work in the current console).&lt;br /&gt;
&lt;br /&gt;
=== For Ubuntu 11.10 ===&lt;br /&gt;
We are currently experiencing some dependency problems with Ubuntu 11.10, so OBS Light is not available for this distribution at the moment.&lt;br /&gt;
&lt;br /&gt;
=== For MeeGo 1.2.0 ===&lt;br /&gt;
[''Not tested''] The repository is [http://repo.pub.meego.com/home:/ronan:/OBS_Light/MeeGo_1.2.0_standard/ here].&lt;br /&gt;
&lt;br /&gt;
=== For Debian ===&lt;br /&gt;
[''Not tested'']&lt;br /&gt;
The repository is [http://repo.pub.meego.com/home:/ronan:/OBS_Light/Debian_6.0/ here].&lt;br /&gt;
&lt;br /&gt;
''Note'': the '''obslight''' package has a dependency to [http://www.pyside.org/ PySide], which is neither included in Debian stable nor in Debian testing. So you will need Debian unstable if you want to test.&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
To get a brief overview of all available commands, just type:&lt;br /&gt;
 obslight --help&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== OBS Tagging and Project copying ==&lt;br /&gt;
One of the problem that any user of a private OBS will quickly face, is the need to tag specific version of a project and allow the copy of the project from an OBS to an other OBS or from one project to an other project.&lt;br /&gt;
&lt;br /&gt;
More details on obstag and obs2obscopy can be found [[obstag | here]]&lt;br /&gt;
&lt;br /&gt;
= Links =&lt;br /&gt;
* [[OBS Light | OBS Light main page]]&lt;br /&gt;
* [[OBS_Light_FAQ | OBS Light Frequently Asked Questions]]&lt;br /&gt;
* [[OBS_Light_Manual | OBS Light Manual]]&lt;br /&gt;
* [https://meego.gitorious.org/meego-developer-tools/obs-light/ OBS Light project on Gitorious]&lt;br /&gt;
* [https://build.pub.meego.com/project/show?project=Project%3AOBS_Light OBS Light project on MeeGo build service]&lt;/div&gt;</summary>
		<author><name>Fvennetier</name></author>	</entry>

	<entry>
		<id>http://wiki.meego.com/File:Obslightgui_01.png</id>
		<title>File:Obslightgui 01.png</title>
		<link rel="alternate" type="text/html" href="http://wiki.meego.com/File:Obslightgui_01.png"/>
				<updated>2012-03-01T10:19:18Z</updated>
		
		<summary type="html">&lt;p&gt;Fvennetier: uploaded a new version of &amp;amp;quot;File:Obslightgui 01.png&amp;amp;quot;: OBS Light 0.4.17&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Main window of OBS Light GUI&lt;/div&gt;</summary>
		<author><name>Fvennetier</name></author>	</entry>

	<entry>
		<id>http://wiki.meego.com/OBS_Light_Manual</id>
		<title>OBS Light Manual</title>
		<link rel="alternate" type="text/html" href="http://wiki.meego.com/OBS_Light_Manual"/>
				<updated>2012-03-01T09:08:38Z</updated>
		
		<summary type="html">&lt;p&gt;Fvennetier: /* GUI */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is the user manual of the command-line and graphical interface of OBS Light.&lt;br /&gt;
* [[OBS_Light | OBS Light project]]&lt;br /&gt;
* [[OBS_Light_FAQ | Frequently Asked Questions]]&lt;br /&gt;
* [[ObsLightDeliverable | Installation]]&lt;br /&gt;
= General principles =&lt;br /&gt;
== Operation modes ==&lt;br /&gt;
OBS Light is available via command line (obslight) and a graphical user interface GUI (obslightgui).&lt;br /&gt;
Independently of that fact that you are using the command line or the GUI, you will get access to the same services.&lt;br /&gt;
&lt;br /&gt;
== Videos training ==&lt;br /&gt;
We have created a set of video which will provide you a quick overview of how to start with OBS Light.&amp;lt;br&amp;gt;&lt;br /&gt;
They cover :&lt;br /&gt;
* Where to find the tool and information&lt;br /&gt;
* How to install OBS Light and get write access to an OBS&lt;br /&gt;
* Creation of you first project and package import&lt;br /&gt;
* Working in the project filesystem&lt;br /&gt;
* Auto creation of patch and upload to OBS&lt;br /&gt;
&lt;br /&gt;
http://www.dailymotion.com/playlist/x1t5ll_dominigarfoll_obs-light-training&lt;br /&gt;
&lt;br /&gt;
== Step by step ==&lt;br /&gt;
=== Get Login access to an OBS server ===&lt;br /&gt;
OBS Light is a simplified model to develop code via an OBS. It does not replace your OBS.&lt;br /&gt;
&lt;br /&gt;
To use OBS Light you will need a login access to an OBS. You have two simple methods to get a login on an OBS:&lt;br /&gt;
* You can create a login on several &amp;quot;free&amp;quot; OBS :&lt;br /&gt;
** MeeGo Community https://build.pub.meego.com/&lt;br /&gt;
** OpenSUSE https://build.opensuse.org/&lt;br /&gt;
* Run your private OBS instance&lt;br /&gt;
** Select a ready made MeeGo OBS appliance (highly recommended) http://susestudio.com/a/e0uuBG/meego-obs&lt;br /&gt;
** Install your private full appliance (advanced users only) http://en.opensuse.org/openSUSE:Build_Service_private_instance&lt;br /&gt;
&lt;br /&gt;
Once you have a login on an OBS instance, you will need to copy a project to play with. You can use the utilities ''obstag'' and ''obs2obscopy'' to achieve that in an easy way. See [[ Obstag ]].&lt;br /&gt;
&lt;br /&gt;
=== Configure your OBS servers ===&lt;br /&gt;
OBS Light needs to know on which server you will connect to. As OBS Light does more than the osc tool, more information will be needed. You will be asked the following  :&lt;br /&gt;
* OBS server web URL&lt;br /&gt;
* OBS server API URL&lt;br /&gt;
* OBS repository URL&lt;br /&gt;
* Login&lt;br /&gt;
* Password&lt;br /&gt;
* Alias (note that Alias will need to be different from any Alias already present in your osc configuration and OBS light will enforce that constrain). If you plan to use the import/export functions make sure that you use the same Alias on the sending and receiving hosts.&lt;br /&gt;
&lt;br /&gt;
Even if these information are copied in ''.osrcrc'', they must be maintain via the OBS light command.&lt;br /&gt;
&lt;br /&gt;
=== Import the package(s) to work on ===&lt;br /&gt;
After the configuration of one or more OBS servers, you will be able to import a package to work on.&lt;br /&gt;
You can also create an empty package would you like to.&lt;br /&gt;
&lt;br /&gt;
OBS Light will create a local copy of that package on your workstation in a very similar way to what an osc checkout action would do.&lt;br /&gt;
As osc, OBS Light transparently keeps track directly of the links between the packages and the associated OBS servers.&lt;br /&gt;
&lt;br /&gt;
=== Create the project filesystem ===&lt;br /&gt;
Once that you have loaded the packages, you can request the creation of a &amp;quot;chroot jail&amp;quot; (thereafter referred to as &amp;quot;filesystem&amp;quot; or &amp;quot;project filesystem&amp;quot;), where the packages can be built without interfering with the host's filesystem. The created filesystem is specific to the project and will not be recreated if it's already present.&lt;br /&gt;
During the creation of the filesystem, extra packages imposed by the build dependencies will be loaded automatically. If you are connected on a remote OBS that phase can take some time and may require a bit of patience.&lt;br /&gt;
&lt;br /&gt;
OBS Light tries to load automatically the dependencies from the analysis of the .spec file in the RPM but that is not always possible. The user has the possibility to add manually extra file and/or packages to the filesystem.&lt;br /&gt;
&lt;br /&gt;
Packages can be imported either from a project already present in OBS Light or from any URL.&lt;br /&gt;
&lt;br /&gt;
=== Importing the code in the project filesystem ===&lt;br /&gt;
Once that the filesystem is created, the source from the package can be imported in the filesystem. During that process, OBS Light will load the extra package needed to build that specific imported source and will create a special git tree which will monitor any changes done by the user.&lt;br /&gt;
&lt;br /&gt;
The user can directly open a window on the filesystem from OBS Light. The console program used by default can be defined in the OBS Light configuration file.&lt;br /&gt;
From there direct modification of the code in the filesystem is possible and local build can be run as often as desired.&lt;br /&gt;
&lt;br /&gt;
=== Committing changes ===&lt;br /&gt;
When the user is happy of his change, he can request the change from the filesystem to be committed directly in the package.&lt;br /&gt;
&lt;br /&gt;
A patch will be created and added to the package and configured in the .spec file by OBS Light.&lt;br /&gt;
&lt;br /&gt;
=== Saving changes on the OBS server ===&lt;br /&gt;
Once that changes on a given project (which can work on one or multiple packages) achieve a stage which is worth to push on the OBS server. The user can simply request to save the project and OBS Light will commit the changes automatically.&lt;br /&gt;
&lt;br /&gt;
== Example: patching MeeGo 1.2 ''kernel'' package ==&lt;br /&gt;
&lt;br /&gt;
=== Step1: inform ''obslight'' about your OBS account ===&lt;br /&gt;
 ## synthax: obslight server add server_alias &amp;lt;server_alias&amp;gt; login &amp;lt;login&amp;gt; password &amp;lt;password&amp;gt; api_url &amp;lt;api_url&amp;gt; repository_url &amp;lt;repository_url&amp;gt; web_url &amp;lt;web_url&amp;gt;&lt;br /&gt;
;''server_alias''&lt;br /&gt;
: is the alias you want to use to refer to this server.&lt;br /&gt;
;''api_url''&lt;br /&gt;
: is the URL to the OBS control API. If you are using [http://susestudio.com/a/e0uuBG/meego-obs OBS appliance], it's probably on port 81.&lt;br /&gt;
;''repository_url''&lt;br /&gt;
: is the URL to the OBS package repositories. If you are using [http://susestudio.com/a/e0uuBG/meego-obs OBS appliance], it's probably on port 82.&lt;br /&gt;
;''web_url''&lt;br /&gt;
: is the URL to the OBS web interface.&lt;br /&gt;
&lt;br /&gt;
=== Step2: create a local project related to your OBS project ===&lt;br /&gt;
* The project is created in '''~/OBSLight/ObsProjects/MeeGo_1.2_oss/'''&lt;br /&gt;
 ## synthax: obslight obsproject add &amp;lt;project_alias&amp;gt; &amp;lt;name_on_obs&amp;gt; &amp;lt;target&amp;gt; &amp;lt;arch&amp;gt; &amp;lt;server_alias&amp;gt;&lt;br /&gt;
 obslight obsproject add MeeGo_1.2_oss MeeGo:1.2:oss standard i586 &amp;lt;server_alias&amp;gt;&lt;br /&gt;
;''project_alias''&lt;br /&gt;
: is the name you will use to refer to this project with the ''obslight'' command (e.g. ''MeeGo_1.2_oss'').&lt;br /&gt;
;''name_on_obs''&lt;br /&gt;
: is the name of the project on the OBS (e.g. ''MeeGo:1.2:oss'').&lt;br /&gt;
;''target''&lt;br /&gt;
: is the target against which we will build (''standard'' is the common name when there is only one).&lt;br /&gt;
;''arch''&lt;br /&gt;
: is the target architecture of the project.&lt;br /&gt;
;''server_alias''&lt;br /&gt;
: is the alias of the OBS server from which we get the project (which has been configured in first step).&lt;br /&gt;
&lt;br /&gt;
=== Step3: add the kernel package to your local project ===&lt;br /&gt;
* The package is created in '''~/OBSLight/ObsProjects/MeeGo_1.2_oss/MeeGo:1.2:oss/kernel/'''&lt;br /&gt;
* In this directory, the package is manageable by osc.&lt;br /&gt;
 ## synthax: obslight package add package &amp;lt;package&amp;gt; project_alias &amp;lt;project_alias&amp;gt;&lt;br /&gt;
 obslight package add package kernel project_alias MeeGo_1.2_oss&lt;br /&gt;
;''package''&lt;br /&gt;
: is the name of the package you want to work on (e.g. '''kernel''').&lt;br /&gt;
;''project_alias''&lt;br /&gt;
: is the name of the project you created in step2.&lt;br /&gt;
&lt;br /&gt;
=== Step4: create the filesystem of the project ===&lt;br /&gt;
* The filesystem root directory is '''~/OBSLight/ObsProjects/MeeGo_1.2_oss/aChroot/'''.&lt;br /&gt;
* zypper is included in the filesystem and your OBS project's repository is automatically added.&lt;br /&gt;
 ## synthax: obslight filesystem create &amp;lt;project_alias&amp;gt;&lt;br /&gt;
 obslight filesystem create MeeGo_1.2_oss&lt;br /&gt;
&lt;br /&gt;
=== Step5: add the source of the kernel package into your filesystem ===&lt;br /&gt;
* The source package is extracted in directory '''/root/rpmbuild/BUILD/kernel-X.X.X/linux-X.X.X'''.&lt;br /&gt;
* After the installation, a git repository is initialized in package's directory.&lt;br /&gt;
 ## synthax: obslight rpmbuild prepare package &amp;lt;package&amp;gt; project_alias &amp;lt;project_alias&amp;gt;&lt;br /&gt;
 obslight rpmbuild prepare package kernel project_alias MeeGo_1.2_oss&lt;br /&gt;
&lt;br /&gt;
=== Step6: work as you want into your filesystem ===&lt;br /&gt;
* The directory '''~/OBSLight/ObsProjects/MeeGo_1.2_oss/chrootTransfert/''' is mounted into the chroot jail in '''/chrootTransfert/'''.&lt;br /&gt;
* Every script executed in ''aChroot'', is stored in '''/chrootTransfert/''' as '''runMe_YYYY-MM-DD_HHhMMmSS.sh'''.&lt;br /&gt;
 ## synthax: obslight filesystem enter package &amp;lt;package&amp;gt; project_alias &amp;lt;project_alias&amp;gt;&lt;br /&gt;
 obslight filesystem enter package kernel project_alias MeeGo_1.2_oss&lt;br /&gt;
&lt;br /&gt;
Now you are logged in the chroot jail.&lt;br /&gt;
In this example we just modify the kernel configuration.&lt;br /&gt;
 $ cp configs/kernel-x86.config .config&lt;br /&gt;
 $ make menuconfig&lt;br /&gt;
&lt;br /&gt;
=== Step7: save your modifications ===&lt;br /&gt;
There are two methods.&lt;br /&gt;
&lt;br /&gt;
==== Method1: by making a patch ====&lt;br /&gt;
 $ cp .config config-x86&lt;br /&gt;
 $ exit&lt;br /&gt;
&lt;br /&gt;
 ## synthax: obslight rpmbuild createpatch &amp;lt;patch&amp;gt; package &amp;lt;package&amp;gt; project_alias &amp;lt;project_alias&amp;gt;&lt;br /&gt;
 obslight rpmbuild createpatch myKernelPatch.patch package kernel project_alias MeeGo_1.2_oss&lt;br /&gt;
&lt;br /&gt;
* The patch is automatically added to the local spec file.&lt;br /&gt;
* '''myKernelPatch.patch''' is automatically added to the local package directory.&lt;br /&gt;
* ''kernel package specific:'' you must move the patch application command '''%patchXXX -p1''' after the command line '''cp $RPM_SOURCE_DIR/config-* .''' in the local spec file&lt;br /&gt;
 vi ~/OBSLight/MeeGo_1.2_oss/MeeGo:1.2:oss/kernel/kernel.spec&lt;br /&gt;
&lt;br /&gt;
==== Method2: by copying the new configuration file in OSC directory ====&lt;br /&gt;
 $ cp .config /chrootTransfert/config-x86&lt;br /&gt;
 $ exit&lt;br /&gt;
 cp ~/OBSLight/ObsProjects/MeeGo_1.2_oss/chrootTransfert/config-x86 ~/OBSLight/ObsProjects/MeeGo_1.2_oss/MeeGo:1.2:oss/kernel/&lt;br /&gt;
&lt;br /&gt;
=== Step8: Upstream your modifications to the OBS server ===&lt;br /&gt;
* The command ''package commit'' checks the additions and deletions of files, before committing the package to the OBS server.&lt;br /&gt;
 ## synthax: obslight package commit &amp;lt;message&amp;gt; package &amp;lt;package&amp;gt; project_alias &amp;lt;project_alias&amp;gt;&lt;br /&gt;
 obslight package commit &amp;quot;Patch kernel&amp;quot; package kernel project_alias MeeGo_1.2_oss&lt;br /&gt;
&lt;br /&gt;
= Command-line =&lt;br /&gt;
&lt;br /&gt;
The help is integrated in the tool. ''obslight help'' will give you an online help.&lt;br /&gt;
&lt;br /&gt;
To get more detail on a specific command you can type ''obslight &amp;lt;command&amp;gt; help''.&lt;br /&gt;
&lt;br /&gt;
 $ obslight help &lt;br /&gt;
 OBSlight:&lt;br /&gt;
    Provides a tool to manage an OBS project on your local machine in command line&lt;br /&gt;
    For informations, see the Help section&lt;br /&gt;
        obslight --Help&lt;br /&gt;
    The gui for OBSlight is obslightgui&lt;br /&gt;
    A FAQ is available at:&lt;br /&gt;
        *http://wiki.meego.com/OBS_Light_FAQ&lt;br /&gt;
    For additional informations, see:&lt;br /&gt;
        *http://wiki.meego.com/OBS_Light&lt;br /&gt;
 Usage: OBSlight [global command] &amp;lt;command&amp;gt; [--command-options]&lt;br /&gt;
 &lt;br /&gt;
 Type OBSlight &amp;lt;command&amp;gt; --Help to get Help on a specific command.&lt;br /&gt;
 Commands:&lt;br /&gt;
 &lt;br /&gt;
    server:                   Manage the OBS server&lt;br /&gt;
    obsproject:               Manage the OBSlight project&lt;br /&gt;
    package:                  Manage the packages of OBSlight project&lt;br /&gt;
    projectfilesystem (projectfs,filesystem,pfs) :&lt;br /&gt;
                              Manage the project filesystem of OBSlight project&lt;br /&gt;
    rpmbuild (rb) :           Manage the rpmbuild of the package into the project filesystem&lt;br /&gt;
    man:                      print the man help document&lt;br /&gt;
 &lt;br /&gt;
 global Options:&lt;br /&gt;
 &lt;br /&gt;
    quiet (-quiet,--quiet) :  run obslight in quiet mode&lt;br /&gt;
    debug (-debug,--debug) :  run obslight in debugger mode&lt;br /&gt;
    version (--version) :     show program's version number and exit&lt;br /&gt;
    help (-h,-help,--help) :  show this help message and exit&lt;br /&gt;
    noaction:                 Execute command but do nothing&lt;br /&gt;
&lt;br /&gt;
= Graphical interface =&lt;br /&gt;
The GUI is launched via the command ''obslightgui''.&lt;br /&gt;
Only the parameter ''--version'' is supported.&lt;br /&gt;
&lt;br /&gt;
It has two main tabs: one for OBS projects, one for MIC projects&lt;br /&gt;
&lt;br /&gt;
The buttons in each section apply to the relative section. They display a tool-tip when the mouse is positioned on them.&lt;br /&gt;
Button are grayed when there are not active or not yet implemented.&lt;br /&gt;
&lt;br /&gt;
== OBS projects tab ==&lt;br /&gt;
[[File: Obslightgui_01.png|600px|OBS Light GUI main window]]&lt;br /&gt;
&lt;br /&gt;
This tab allows you to manage an OBS project, its packages (and their files) and its filesystem.&lt;br /&gt;
&lt;br /&gt;
It has 3 main areas:&lt;br /&gt;
* OBS project&lt;br /&gt;
* Packages&lt;br /&gt;
* local files and project filesystem (on a tab)&lt;br /&gt;
&lt;br /&gt;
=== The project panel ===&lt;br /&gt;
The panel on the left displays the list of OBS projects locally configured, and information about the selected project.&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;5&amp;quot;&lt;br /&gt;
|&lt;br /&gt;
;New&lt;br /&gt;
: Create a new project. Currently you cannot create a new project from scratch using OBS Light, only import one.&lt;br /&gt;
;Import&lt;br /&gt;
: Import a project from an OBS server.&lt;br /&gt;
;Delete&lt;br /&gt;
: Delete the selected project. The project will be removed locally but will remain on the OBS server.&lt;br /&gt;
;Modify&lt;br /&gt;
: Modify the selected project configuration.&lt;br /&gt;
|&lt;br /&gt;
;Save&lt;br /&gt;
: Save the selected project to a file.&lt;br /&gt;
;Load&lt;br /&gt;
: Load a project from a file.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== The package panel ===&lt;br /&gt;
The panel on the middle displays the list of packages of the selected project, and information about the selected package.&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;5&amp;quot;&lt;br /&gt;
|&lt;br /&gt;
;New&lt;br /&gt;
: Create a new package. Currently you cannot create a new package from scratch using OBS Light, only import one.&lt;br /&gt;
;Import&lt;br /&gt;
: Import a package from an OBS project.&lt;br /&gt;
;Delete&lt;br /&gt;
: Delete the selected package(s). The packages will be removed locally but will remain on the OBS server.&lt;br /&gt;
;Modify&lt;br /&gt;
: Modify the package title and description. Currently not available.&lt;br /&gt;
|&lt;br /&gt;
;Update files&lt;br /&gt;
: Checkout/update files from the OBS (''osc update'' equivalent).&lt;br /&gt;
;Commit changes&lt;br /&gt;
: Commit changes to the OBS (''osc commit'' equivalent).&lt;br /&gt;
;Repair OSC directory&lt;br /&gt;
: Repair the OSC working copy of a package.&lt;br /&gt;
|&lt;br /&gt;
;Refresh status&lt;br /&gt;
: Refresh OBS and Local statuses.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== The file panel ===&lt;br /&gt;
The file panel has two tabs: '''Local directory''' and '''Project filesystem'''.&lt;br /&gt;
&lt;br /&gt;
==== The local directory tab ====&lt;br /&gt;
This tab shows the list of files contained in the selected package.&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;5&amp;quot;&lt;br /&gt;
|colspan=&amp;quot;2&amp;quot;|&lt;br /&gt;
;Open terminal&lt;br /&gt;
: Open a terminal in the package directory&lt;br /&gt;
;Package path&lt;br /&gt;
: Location of the package's OSC working copy&lt;br /&gt;
|-&lt;br /&gt;
| File-related buttons&lt;br /&gt;
| Patch-related buttons&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
;New&lt;br /&gt;
: Create a new empty file. Currently not available.&lt;br /&gt;
;Import&lt;br /&gt;
: Add a file from your local filesystem to the package.&lt;br /&gt;
;Delete&lt;br /&gt;
: Delete the selected file from the package.&lt;br /&gt;
;Modify&lt;br /&gt;
: Launch an editor on the selected file.&lt;br /&gt;
|&lt;br /&gt;
;New&lt;br /&gt;
: Generate a patch from the changes made into the project filesystem, and add this patch to the package and in the yaml and/or spec files. This patch becomes the current patch of the package, until the next '%prep'.&lt;br /&gt;
;Import&lt;br /&gt;
: Import an external patch. Currently not available.&lt;br /&gt;
;Delete&lt;br /&gt;
: Delete a patch. Currently not available.&lt;br /&gt;
;Update&lt;br /&gt;
: Update the current patch with new modifications.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== The project filesystem tab ====&lt;br /&gt;
This tab shows the complete file tree of selected project's filesystem.&lt;br /&gt;
If a package is selected and it has previously been imported into the filesystem, its path is expanded by default.&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;5&amp;quot;&lt;br /&gt;
|colspan=&amp;quot;3&amp;quot;|&lt;br /&gt;
;Open terminal&lt;br /&gt;
: Open a terminal in the filesystem, using '''chroot''', in the source directory of the current package if it is installed.&lt;br /&gt;
;Chroot path&lt;br /&gt;
: Location of the project filesystem.&lt;br /&gt;
|-&lt;br /&gt;
| Repository-related buttons&lt;br /&gt;
| Filesystem-related buttons&lt;br /&gt;
| Rpmbuild-related buttons&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
;New&lt;br /&gt;
: Make a package repository accessible from zypper inside the filesystem, by URL.&lt;br /&gt;
;Import&lt;br /&gt;
: Make the package repository of another OBS Light project accessible from zypper inside the filesystem.&lt;br /&gt;
;Delete&lt;br /&gt;
: Delete a repository from the filesystem.&lt;br /&gt;
;Modify&lt;br /&gt;
: Modify the URL or alias of a repository.&lt;br /&gt;
|&lt;br /&gt;
;New&lt;br /&gt;
: Create the filesystem of the project.&lt;br /&gt;
;Import&lt;br /&gt;
: Not yet implemented.&lt;br /&gt;
;Delete&lt;br /&gt;
: Delete the filesystem&lt;br /&gt;
;Modify&lt;br /&gt;
: Not yet implemented.&lt;br /&gt;
|&lt;br /&gt;
;%prep&lt;br /&gt;
: Install the sources of a package into the filesystem, execute the %prep section of the spec file and do the first build.&lt;br /&gt;
;%build&lt;br /&gt;
: Execute the %build section of the spec file of the selected package, in an alternative rpmbuild directory.&lt;br /&gt;
;%install&lt;br /&gt;
: Execute the %install section of the spec file of the selected package, in an alternative rpmbuild directory.&lt;br /&gt;
;%files&lt;br /&gt;
: Build the source and binary RPMs of the selected package, in an alternative rpmbuild directory.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== MIC projects tab ==&lt;br /&gt;
This tab allows you to manage a MIC (MeeGo Image Creator) project. You can change its architecture and image type, and edit its Kickstart file.&lt;br /&gt;
&lt;br /&gt;
On the left panel you can see a list of MIC projects. Click ''New'' to add one, you will be asked for a name, and an empty Kickstart file will be created.&lt;br /&gt;
&lt;br /&gt;
=== Project options ===&lt;br /&gt;
[[File: Obslightgui_mic_01.png|600px|OBS Light GUI main window - MIC project - Project options]]&lt;br /&gt;
&lt;br /&gt;
In this tab you can:&lt;br /&gt;
* change the generated image type&lt;br /&gt;
** ''fs'': a directory hierarchy containing the whole filesystem&lt;br /&gt;
** ''livecd'': a bootable image suitable for a CD&lt;br /&gt;
** ''liveusb'': a bootable image suitable for a USB key&lt;br /&gt;
** ''loop'': a filesystem image to be mounted with a loop device (with ''mount -o loop'')&lt;br /&gt;
** ''raw''&lt;br /&gt;
* change the architecture of the project (only i686 has been tested)&lt;br /&gt;
* open the directory of the project (with you default file browser)&lt;br /&gt;
* import a Kickstart file (that will overwrite the current file)&lt;br /&gt;
* export the current Kickstart file&lt;br /&gt;
* launch the creation of the image&lt;br /&gt;
&lt;br /&gt;
=== Kickstart options ===&lt;br /&gt;
[[File: Obslightgui_mic_02.png|600px|OBS Light GUI main window - MIC project - Kickstart options]]&lt;br /&gt;
&lt;br /&gt;
In this tab you can add, delete or modify the different options of the project's Kickstart file. These options are documented [http://fedoraproject.org/wiki/Anaconda/Kickstart here].&lt;br /&gt;
&lt;br /&gt;
* To add an option press the ''add'' button, and enter the full option line in the bottom text field, then press ''save''.&lt;br /&gt;
* To modify an option, select it, modify the bottom text field and press ''save''.&lt;br /&gt;
* To delete an option, select it, press ''delete'', and then ''save''.&lt;br /&gt;
&lt;br /&gt;
Notice that some options may have aliases, which will appear on the same line in the option list.&lt;br /&gt;
The ''repo'' option will not be listed here, but in the [[OBS_Light_Manual#Repositories | Repositories]] tab.&lt;br /&gt;
&lt;br /&gt;
=== Repositories ===&lt;br /&gt;
[[File: Obslightgui_mic_03.png|600px|OBS Light GUI main window - MIC project - Kickstart repositories]]&lt;br /&gt;
&lt;br /&gt;
In this tab, you can add, delete, or modify Kickstart repositories.&lt;br /&gt;
&lt;br /&gt;
* To add a repository, there are two possibilities:&lt;br /&gt;
** The repository is from an OBS project you worked on with OBS Light: press ''Import from OBS project'' and select the project.&lt;br /&gt;
** The repository is from an external project: press ''Add by URL'', and you will be asked for an URL and a name.&lt;br /&gt;
* To delete a repository, select it and press ''Delete''.&lt;br /&gt;
* To edit a repository, double-click on the cell of the property you want to edit (or simple click if it is a checkbox).&lt;br /&gt;
The changes are automatically saved.&lt;br /&gt;
&lt;br /&gt;
=== Packages ===&lt;br /&gt;
[[File: Obslightgui_mic_04.png|600px|OBS Light GUI main window - MIC project - Kickstart packages]]&lt;br /&gt;
&lt;br /&gt;
Here you can edit the package list of the project's Kickstart file.&lt;br /&gt;
Notice that multiple ''%package'' sections of original Kickstart file have been merged into one.&lt;br /&gt;
&lt;br /&gt;
Each package has an ''Included'' parameter which tells if it should be included in the generated image. If ''Included'' is not checked, the package will be explicitly excluded in the Kickstart file (its name will be prefixed with '-').&lt;br /&gt;
&lt;br /&gt;
=== Package groups ===&lt;br /&gt;
Here you can edit the list of package groups of the project's Kickstart file.&lt;br /&gt;
At the moment, no verification is done on package groups.&lt;br /&gt;
&lt;br /&gt;
=== Scripts ===&lt;br /&gt;
[[File: Obslightgui_mic_06.png|600px|OBS Light GUI main window - MIC project - Kickstart scripts]]&lt;br /&gt;
&lt;br /&gt;
Here you can add, delete or modify Kickstart scripts.&lt;br /&gt;
&lt;br /&gt;
* To add a script, press ''Add'', write your script in the bottom text field, choose script options in the right panel, and press ''Save''.&lt;br /&gt;
* To delete a script, select it and press ''Delete''.&lt;br /&gt;
* To modify a script, select it, modify the script in the bottom text field or the script options in the right panel, and press ''Save''.&lt;br /&gt;
&lt;br /&gt;
=== Overlay files ===&lt;br /&gt;
[[File: Obslightgui_mic_07.png|600px|OBS Light GUI main window - MIC project - Overlay files]]&lt;br /&gt;
&lt;br /&gt;
Here you can add files that will be included in the project image.&lt;br /&gt;
* To add an overlay file, press ''Add'' and a file browser will appear. Browse to your file and validate. Then a text dialog will appear, enter the path were you want your file to be copied in the image. '''tar''' archives will be extracted at the location you selected, instead of simply being copied.&lt;br /&gt;
* To delete an overlay file, select it and press ''Delete''.&lt;br /&gt;
&lt;br /&gt;
Implementation details:&lt;br /&gt;
* source files are first copied in MIC project's directory&lt;br /&gt;
* each overlay file will appear as a ''%post --nochoot'' script in the Kickstart file (but will be hidden in the ''Scripts'' tab).&lt;br /&gt;
&lt;br /&gt;
= Troubleshooting =&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;tt&amp;gt;&amp;quot;Source package 'xxx' not found&amp;quot;&amp;lt;/tt&amp;gt; or &amp;lt;tt&amp;gt;&amp;quot;Problem: nothing provides X needed by Y&amp;quot;&amp;lt;/tt&amp;gt; ==&lt;br /&gt;
These message may appear in two situations:&lt;br /&gt;
* The package you are trying to build is missing a dependency. OBS Light is not capable of searching dependencies outside the project from which your package comes. You will need to configure an additional repository in the project filesystem, using command ''filesystem repositories add'' or [[OBS_Light_Manual#The_project_filesystem_tab | the repository-related buttons]] in the GUI.&lt;br /&gt;
* In an ARM project filesystem, zypper or libzypp are broken, they do not see '''noarch''' packages. This problem was reported with zypper 1.5.3 and libzypp 8.12.1. We suggest you to update your zypper version to 1.6+. For convenience, we pre-built zypper 1.6.15 and libzypp 9.10.2 to Meego 1.2.0.&lt;br /&gt;
&lt;br /&gt;
=== How to install zypper 1.6.15 from our repository in an ARM project filesystem ===&lt;br /&gt;
==== From commandline ====&lt;br /&gt;
First add our repository to your filesystem's zypper configuration file:&lt;br /&gt;
 obslight filesystem repositories add http://repo.pub.meego.com/Project:/OBS_Light:/Zypper/MeeGo_1.2_OSS/ &amp;quot;Zypper_1.6.15_backport&amp;quot; $ProjectName&lt;br /&gt;
&lt;br /&gt;
Then chroot in the filesystem and update '''zypper''':&lt;br /&gt;
 obslight filesystem enter $ProjectName&lt;br /&gt;
  $ zypper update zypper&lt;br /&gt;
  $ exit&lt;br /&gt;
==== From GUI ====&lt;br /&gt;
* ''Project filesystem'' tab, ''Repository''-&amp;gt;''New'', URL http://repo.pub.meego.com/Project:/OBS_Light:/Zypper/MeeGo_1.2_OSS/ and alias &amp;quot;Zypper_1.6.15_backport&amp;quot;&lt;br /&gt;
* Then ''Project filesystem''-&amp;gt;''Open terminal''&lt;br /&gt;
 # zypper update zypper&lt;br /&gt;
 # exit&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;tt&amp;gt;&amp;quot;error: Architecture is not included: armv8el&amp;quot;&amp;lt;/tt&amp;gt; ==&lt;br /&gt;
The '''build''' package of your project filesystem does not support armv8el builds. Consider using another version, like the 2011.03.29 of MeeGo's repositories.&lt;br /&gt;
&lt;br /&gt;
=== How to install '''build''' version 2011.03.29 in a MeeGo 1.2.0 project filesystem ===&lt;br /&gt;
First add the MeeGo building tools repository to your project filesystem's zypper configuration file:&lt;br /&gt;
 obslight filesystem repositories add http://download.meego.com/live/Tools:/Building/MeeGo_1.2.0/ &amp;quot;Tools:Building_MeeGo_1.2.0&amp;quot; $ProjectName&lt;br /&gt;
&lt;br /&gt;
Then chroot in the filesystem and update '''build''':&lt;br /&gt;
 obslight filesystem enter $ProjectName&lt;br /&gt;
   # zypper update build&lt;br /&gt;
   # exit&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;tt&amp;gt;&amp;quot;chroot: failed to run command `sh': No such file or directory&amp;quot;&amp;lt;/tt&amp;gt; ==&lt;br /&gt;
This appears when '''binfmt_misc''' is not or badly configured.&lt;br /&gt;
Launch qemu's binfmt configuration script (as root):&lt;br /&gt;
 qemu-binfmt-conf.sh&lt;br /&gt;
If you still get the same message, try this (as root):&lt;br /&gt;
 echo -1 &amp;gt; /proc/sys/fs/binfmt_misc/arm&lt;br /&gt;
 echo &amp;quot;:arm:M::\x7fELF\x01\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x28\x00:\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff\xff:`which qemu-arm`:&amp;quot; &amp;gt; /proc/sys/fs/binfmt_misc/register&lt;br /&gt;
&lt;br /&gt;
== gnomekeyring.IOError ==&lt;br /&gt;
This error appears on Ubuntu when running obslight from a console, without a graphical environment. At the moment, the only known solution is to run obslight only from a graphical environment (e.g. Gnome).&lt;br /&gt;
&lt;br /&gt;
= Internals =&lt;br /&gt;
== GUI ==&lt;br /&gt;
[[File: ObsLightGui_class_diagram.png|link=http://wiki.meego.com/images/ObsLightGui_class_diagram.png|OBS Light GUI class diagram, click to see full size]]&lt;br /&gt;
&lt;br /&gt;
[https://meego.gitorious.org/meego-developer-tools/obs-light/blobs/master/Doc/ObsLightGui_class_diagram.dia Dia source file]&lt;/div&gt;</summary>
		<author><name>Fvennetier</name></author>	</entry>

	<entry>
		<id>http://wiki.meego.com/File:ObsLightGui_class_diagram.png</id>
		<title>File:ObsLightGui class diagram.png</title>
		<link rel="alternate" type="text/html" href="http://wiki.meego.com/File:ObsLightGui_class_diagram.png"/>
				<updated>2012-03-01T09:02:13Z</updated>
		
		<summary type="html">&lt;p&gt;Fvennetier: uploaded a new version of &amp;amp;quot;File:ObsLightGui class diagram.png&amp;amp;quot;: Source: https://meego.gitorious.org/meego-developer-tools/obs-light/blobs/master/Doc/ObsLightGui_class_diagram.dia&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;OBS Light GUI class diagram&lt;br /&gt;
&lt;br /&gt;
[https://meego.gitorious.org/meego-developer-tools/obs-light/blobs/master/Doc/ObsLightGui_class_diagram.dia Source]&lt;/div&gt;</summary>
		<author><name>Fvennetier</name></author>	</entry>

	<entry>
		<id>http://wiki.meego.com/OBS_Light_Manual</id>
		<title>OBS Light Manual</title>
		<link rel="alternate" type="text/html" href="http://wiki.meego.com/OBS_Light_Manual"/>
				<updated>2012-02-28T12:38:51Z</updated>
		
		<summary type="html">&lt;p&gt;Fvennetier: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is the user manual of the command-line and graphical interface of OBS Light.&lt;br /&gt;
* [[OBS_Light | OBS Light project]]&lt;br /&gt;
* [[OBS_Light_FAQ | Frequently Asked Questions]]&lt;br /&gt;
* [[ObsLightDeliverable | Installation]]&lt;br /&gt;
= General principles =&lt;br /&gt;
== Operation modes ==&lt;br /&gt;
OBS Light is available via command line (obslight) and a graphical user interface GUI (obslightgui).&lt;br /&gt;
Independently of that fact that you are using the command line or the GUI, you will get access to the same services.&lt;br /&gt;
&lt;br /&gt;
== Videos training ==&lt;br /&gt;
We have created a set of video which will provide you a quick overview of how to start with OBS Light.&amp;lt;br&amp;gt;&lt;br /&gt;
They cover :&lt;br /&gt;
* Where to find the tool and information&lt;br /&gt;
* How to install OBS Light and get write access to an OBS&lt;br /&gt;
* Creation of you first project and package import&lt;br /&gt;
* Working in the project filesystem&lt;br /&gt;
* Auto creation of patch and upload to OBS&lt;br /&gt;
&lt;br /&gt;
http://www.dailymotion.com/playlist/x1t5ll_dominigarfoll_obs-light-training&lt;br /&gt;
&lt;br /&gt;
== Step by step ==&lt;br /&gt;
=== Get Login access to an OBS server ===&lt;br /&gt;
OBS Light is a simplified model to develop code via an OBS. It does not replace your OBS.&lt;br /&gt;
&lt;br /&gt;
To use OBS Light you will need a login access to an OBS. You have two simple methods to get a login on an OBS:&lt;br /&gt;
* You can create a login on several &amp;quot;free&amp;quot; OBS :&lt;br /&gt;
** MeeGo Community https://build.pub.meego.com/&lt;br /&gt;
** OpenSUSE https://build.opensuse.org/&lt;br /&gt;
* Run your private OBS instance&lt;br /&gt;
** Select a ready made MeeGo OBS appliance (highly recommended) http://susestudio.com/a/e0uuBG/meego-obs&lt;br /&gt;
** Install your private full appliance (advanced users only) http://en.opensuse.org/openSUSE:Build_Service_private_instance&lt;br /&gt;
&lt;br /&gt;
Once you have a login on an OBS instance, you will need to copy a project to play with. You can use the utilities ''obstag'' and ''obs2obscopy'' to achieve that in an easy way. See [[ Obstag ]].&lt;br /&gt;
&lt;br /&gt;
=== Configure your OBS servers ===&lt;br /&gt;
OBS Light needs to know on which server you will connect to. As OBS Light does more than the osc tool, more information will be needed. You will be asked the following  :&lt;br /&gt;
* OBS server web URL&lt;br /&gt;
* OBS server API URL&lt;br /&gt;
* OBS repository URL&lt;br /&gt;
* Login&lt;br /&gt;
* Password&lt;br /&gt;
* Alias (note that Alias will need to be different from any Alias already present in your osc configuration and OBS light will enforce that constrain). If you plan to use the import/export functions make sure that you use the same Alias on the sending and receiving hosts.&lt;br /&gt;
&lt;br /&gt;
Even if these information are copied in ''.osrcrc'', they must be maintain via the OBS light command.&lt;br /&gt;
&lt;br /&gt;
=== Import the package(s) to work on ===&lt;br /&gt;
After the configuration of one or more OBS servers, you will be able to import a package to work on.&lt;br /&gt;
You can also create an empty package would you like to.&lt;br /&gt;
&lt;br /&gt;
OBS Light will create a local copy of that package on your workstation in a very similar way to what an osc checkout action would do.&lt;br /&gt;
As osc, OBS Light transparently keeps track directly of the links between the packages and the associated OBS servers.&lt;br /&gt;
&lt;br /&gt;
=== Create the project filesystem ===&lt;br /&gt;
Once that you have loaded the packages, you can request the creation of a &amp;quot;chroot jail&amp;quot; (thereafter referred to as &amp;quot;filesystem&amp;quot; or &amp;quot;project filesystem&amp;quot;), where the packages can be built without interfering with the host's filesystem. The created filesystem is specific to the project and will not be recreated if it's already present.&lt;br /&gt;
During the creation of the filesystem, extra packages imposed by the build dependencies will be loaded automatically. If you are connected on a remote OBS that phase can take some time and may require a bit of patience.&lt;br /&gt;
&lt;br /&gt;
OBS Light tries to load automatically the dependencies from the analysis of the .spec file in the RPM but that is not always possible. The user has the possibility to add manually extra file and/or packages to the filesystem.&lt;br /&gt;
&lt;br /&gt;
Packages can be imported either from a project already present in OBS Light or from any URL.&lt;br /&gt;
&lt;br /&gt;
=== Importing the code in the project filesystem ===&lt;br /&gt;
Once that the filesystem is created, the source from the package can be imported in the filesystem. During that process, OBS Light will load the extra package needed to build that specific imported source and will create a special git tree which will monitor any changes done by the user.&lt;br /&gt;
&lt;br /&gt;
The user can directly open a window on the filesystem from OBS Light. The console program used by default can be defined in the OBS Light configuration file.&lt;br /&gt;
From there direct modification of the code in the filesystem is possible and local build can be run as often as desired.&lt;br /&gt;
&lt;br /&gt;
=== Committing changes ===&lt;br /&gt;
When the user is happy of his change, he can request the change from the filesystem to be committed directly in the package.&lt;br /&gt;
&lt;br /&gt;
A patch will be created and added to the package and configured in the .spec file by OBS Light.&lt;br /&gt;
&lt;br /&gt;
=== Saving changes on the OBS server ===&lt;br /&gt;
Once that changes on a given project (which can work on one or multiple packages) achieve a stage which is worth to push on the OBS server. The user can simply request to save the project and OBS Light will commit the changes automatically.&lt;br /&gt;
&lt;br /&gt;
== Example: patching MeeGo 1.2 ''kernel'' package ==&lt;br /&gt;
&lt;br /&gt;
=== Step1: inform ''obslight'' about your OBS account ===&lt;br /&gt;
 ## synthax: obslight server add server_alias &amp;lt;server_alias&amp;gt; login &amp;lt;login&amp;gt; password &amp;lt;password&amp;gt; api_url &amp;lt;api_url&amp;gt; repository_url &amp;lt;repository_url&amp;gt; web_url &amp;lt;web_url&amp;gt;&lt;br /&gt;
;''server_alias''&lt;br /&gt;
: is the alias you want to use to refer to this server.&lt;br /&gt;
;''api_url''&lt;br /&gt;
: is the URL to the OBS control API. If you are using [http://susestudio.com/a/e0uuBG/meego-obs OBS appliance], it's probably on port 81.&lt;br /&gt;
;''repository_url''&lt;br /&gt;
: is the URL to the OBS package repositories. If you are using [http://susestudio.com/a/e0uuBG/meego-obs OBS appliance], it's probably on port 82.&lt;br /&gt;
;''web_url''&lt;br /&gt;
: is the URL to the OBS web interface.&lt;br /&gt;
&lt;br /&gt;
=== Step2: create a local project related to your OBS project ===&lt;br /&gt;
* The project is created in '''~/OBSLight/ObsProjects/MeeGo_1.2_oss/'''&lt;br /&gt;
 ## synthax: obslight obsproject add &amp;lt;project_alias&amp;gt; &amp;lt;name_on_obs&amp;gt; &amp;lt;target&amp;gt; &amp;lt;arch&amp;gt; &amp;lt;server_alias&amp;gt;&lt;br /&gt;
 obslight obsproject add MeeGo_1.2_oss MeeGo:1.2:oss standard i586 &amp;lt;server_alias&amp;gt;&lt;br /&gt;
;''project_alias''&lt;br /&gt;
: is the name you will use to refer to this project with the ''obslight'' command (e.g. ''MeeGo_1.2_oss'').&lt;br /&gt;
;''name_on_obs''&lt;br /&gt;
: is the name of the project on the OBS (e.g. ''MeeGo:1.2:oss'').&lt;br /&gt;
;''target''&lt;br /&gt;
: is the target against which we will build (''standard'' is the common name when there is only one).&lt;br /&gt;
;''arch''&lt;br /&gt;
: is the target architecture of the project.&lt;br /&gt;
;''server_alias''&lt;br /&gt;
: is the alias of the OBS server from which we get the project (which has been configured in first step).&lt;br /&gt;
&lt;br /&gt;
=== Step3: add the kernel package to your local project ===&lt;br /&gt;
* The package is created in '''~/OBSLight/ObsProjects/MeeGo_1.2_oss/MeeGo:1.2:oss/kernel/'''&lt;br /&gt;
* In this directory, the package is manageable by osc.&lt;br /&gt;
 ## synthax: obslight package add package &amp;lt;package&amp;gt; project_alias &amp;lt;project_alias&amp;gt;&lt;br /&gt;
 obslight package add package kernel project_alias MeeGo_1.2_oss&lt;br /&gt;
;''package''&lt;br /&gt;
: is the name of the package you want to work on (e.g. '''kernel''').&lt;br /&gt;
;''project_alias''&lt;br /&gt;
: is the name of the project you created in step2.&lt;br /&gt;
&lt;br /&gt;
=== Step4: create the filesystem of the project ===&lt;br /&gt;
* The filesystem root directory is '''~/OBSLight/ObsProjects/MeeGo_1.2_oss/aChroot/'''.&lt;br /&gt;
* zypper is included in the filesystem and your OBS project's repository is automatically added.&lt;br /&gt;
 ## synthax: obslight filesystem create &amp;lt;project_alias&amp;gt;&lt;br /&gt;
 obslight filesystem create MeeGo_1.2_oss&lt;br /&gt;
&lt;br /&gt;
=== Step5: add the source of the kernel package into your filesystem ===&lt;br /&gt;
* The source package is extracted in directory '''/root/rpmbuild/BUILD/kernel-X.X.X/linux-X.X.X'''.&lt;br /&gt;
* After the installation, a git repository is initialized in package's directory.&lt;br /&gt;
 ## synthax: obslight rpmbuild prepare package &amp;lt;package&amp;gt; project_alias &amp;lt;project_alias&amp;gt;&lt;br /&gt;
 obslight rpmbuild prepare package kernel project_alias MeeGo_1.2_oss&lt;br /&gt;
&lt;br /&gt;
=== Step6: work as you want into your filesystem ===&lt;br /&gt;
* The directory '''~/OBSLight/ObsProjects/MeeGo_1.2_oss/chrootTransfert/''' is mounted into the chroot jail in '''/chrootTransfert/'''.&lt;br /&gt;
* Every script executed in ''aChroot'', is stored in '''/chrootTransfert/''' as '''runMe_YYYY-MM-DD_HHhMMmSS.sh'''.&lt;br /&gt;
 ## synthax: obslight filesystem enter package &amp;lt;package&amp;gt; project_alias &amp;lt;project_alias&amp;gt;&lt;br /&gt;
 obslight filesystem enter package kernel project_alias MeeGo_1.2_oss&lt;br /&gt;
&lt;br /&gt;
Now you are logged in the chroot jail.&lt;br /&gt;
In this example we just modify the kernel configuration.&lt;br /&gt;
 $ cp configs/kernel-x86.config .config&lt;br /&gt;
 $ make menuconfig&lt;br /&gt;
&lt;br /&gt;
=== Step7: save your modifications ===&lt;br /&gt;
There are two methods.&lt;br /&gt;
&lt;br /&gt;
==== Method1: by making a patch ====&lt;br /&gt;
 $ cp .config config-x86&lt;br /&gt;
 $ exit&lt;br /&gt;
&lt;br /&gt;
 ## synthax: obslight rpmbuild createpatch &amp;lt;patch&amp;gt; package &amp;lt;package&amp;gt; project_alias &amp;lt;project_alias&amp;gt;&lt;br /&gt;
 obslight rpmbuild createpatch myKernelPatch.patch package kernel project_alias MeeGo_1.2_oss&lt;br /&gt;
&lt;br /&gt;
* The patch is automatically added to the local spec file.&lt;br /&gt;
* '''myKernelPatch.patch''' is automatically added to the local package directory.&lt;br /&gt;
* ''kernel package specific:'' you must move the patch application command '''%patchXXX -p1''' after the command line '''cp $RPM_SOURCE_DIR/config-* .''' in the local spec file&lt;br /&gt;
 vi ~/OBSLight/MeeGo_1.2_oss/MeeGo:1.2:oss/kernel/kernel.spec&lt;br /&gt;
&lt;br /&gt;
==== Method2: by copying the new configuration file in OSC directory ====&lt;br /&gt;
 $ cp .config /chrootTransfert/config-x86&lt;br /&gt;
 $ exit&lt;br /&gt;
 cp ~/OBSLight/ObsProjects/MeeGo_1.2_oss/chrootTransfert/config-x86 ~/OBSLight/ObsProjects/MeeGo_1.2_oss/MeeGo:1.2:oss/kernel/&lt;br /&gt;
&lt;br /&gt;
=== Step8: Upstream your modifications to the OBS server ===&lt;br /&gt;
* The command ''package commit'' checks the additions and deletions of files, before committing the package to the OBS server.&lt;br /&gt;
 ## synthax: obslight package commit &amp;lt;message&amp;gt; package &amp;lt;package&amp;gt; project_alias &amp;lt;project_alias&amp;gt;&lt;br /&gt;
 obslight package commit &amp;quot;Patch kernel&amp;quot; package kernel project_alias MeeGo_1.2_oss&lt;br /&gt;
&lt;br /&gt;
= Command-line =&lt;br /&gt;
&lt;br /&gt;
The help is integrated in the tool. ''obslight help'' will give you an online help.&lt;br /&gt;
&lt;br /&gt;
To get more detail on a specific command you can type ''obslight &amp;lt;command&amp;gt; help''.&lt;br /&gt;
&lt;br /&gt;
 $ obslight help &lt;br /&gt;
 OBSlight:&lt;br /&gt;
    Provides a tool to manage an OBS project on your local machine in command line&lt;br /&gt;
    For informations, see the Help section&lt;br /&gt;
        obslight --Help&lt;br /&gt;
    The gui for OBSlight is obslightgui&lt;br /&gt;
    A FAQ is available at:&lt;br /&gt;
        *http://wiki.meego.com/OBS_Light_FAQ&lt;br /&gt;
    For additional informations, see:&lt;br /&gt;
        *http://wiki.meego.com/OBS_Light&lt;br /&gt;
 Usage: OBSlight [global command] &amp;lt;command&amp;gt; [--command-options]&lt;br /&gt;
 &lt;br /&gt;
 Type OBSlight &amp;lt;command&amp;gt; --Help to get Help on a specific command.&lt;br /&gt;
 Commands:&lt;br /&gt;
 &lt;br /&gt;
    server:                   Manage the OBS server&lt;br /&gt;
    obsproject:               Manage the OBSlight project&lt;br /&gt;
    package:                  Manage the packages of OBSlight project&lt;br /&gt;
    projectfilesystem (projectfs,filesystem,pfs) :&lt;br /&gt;
                              Manage the project filesystem of OBSlight project&lt;br /&gt;
    rpmbuild (rb) :           Manage the rpmbuild of the package into the project filesystem&lt;br /&gt;
    man:                      print the man help document&lt;br /&gt;
 &lt;br /&gt;
 global Options:&lt;br /&gt;
 &lt;br /&gt;
    quiet (-quiet,--quiet) :  run obslight in quiet mode&lt;br /&gt;
    debug (-debug,--debug) :  run obslight in debugger mode&lt;br /&gt;
    version (--version) :     show program's version number and exit&lt;br /&gt;
    help (-h,-help,--help) :  show this help message and exit&lt;br /&gt;
    noaction:                 Execute command but do nothing&lt;br /&gt;
&lt;br /&gt;
= Graphical interface =&lt;br /&gt;
The GUI is launched via the command ''obslightgui''.&lt;br /&gt;
Only the parameter ''--version'' is supported.&lt;br /&gt;
&lt;br /&gt;
It has two main tabs: one for OBS projects, one for MIC projects&lt;br /&gt;
&lt;br /&gt;
The buttons in each section apply to the relative section. They display a tool-tip when the mouse is positioned on them.&lt;br /&gt;
Button are grayed when there are not active or not yet implemented.&lt;br /&gt;
&lt;br /&gt;
== OBS projects tab ==&lt;br /&gt;
[[File: Obslightgui_01.png|600px|OBS Light GUI main window]]&lt;br /&gt;
&lt;br /&gt;
This tab allows you to manage an OBS project, its packages (and their files) and its filesystem.&lt;br /&gt;
&lt;br /&gt;
It has 3 main areas:&lt;br /&gt;
* OBS project&lt;br /&gt;
* Packages&lt;br /&gt;
* local files and project filesystem (on a tab)&lt;br /&gt;
&lt;br /&gt;
=== The project panel ===&lt;br /&gt;
The panel on the left displays the list of OBS projects locally configured, and information about the selected project.&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;5&amp;quot;&lt;br /&gt;
|&lt;br /&gt;
;New&lt;br /&gt;
: Create a new project. Currently you cannot create a new project from scratch using OBS Light, only import one.&lt;br /&gt;
;Import&lt;br /&gt;
: Import a project from an OBS server.&lt;br /&gt;
;Delete&lt;br /&gt;
: Delete the selected project. The project will be removed locally but will remain on the OBS server.&lt;br /&gt;
;Modify&lt;br /&gt;
: Modify the selected project configuration.&lt;br /&gt;
|&lt;br /&gt;
;Save&lt;br /&gt;
: Save the selected project to a file.&lt;br /&gt;
;Load&lt;br /&gt;
: Load a project from a file.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== The package panel ===&lt;br /&gt;
The panel on the middle displays the list of packages of the selected project, and information about the selected package.&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;5&amp;quot;&lt;br /&gt;
|&lt;br /&gt;
;New&lt;br /&gt;
: Create a new package. Currently you cannot create a new package from scratch using OBS Light, only import one.&lt;br /&gt;
;Import&lt;br /&gt;
: Import a package from an OBS project.&lt;br /&gt;
;Delete&lt;br /&gt;
: Delete the selected package(s). The packages will be removed locally but will remain on the OBS server.&lt;br /&gt;
;Modify&lt;br /&gt;
: Modify the package title and description. Currently not available.&lt;br /&gt;
|&lt;br /&gt;
;Update files&lt;br /&gt;
: Checkout/update files from the OBS (''osc update'' equivalent).&lt;br /&gt;
;Commit changes&lt;br /&gt;
: Commit changes to the OBS (''osc commit'' equivalent).&lt;br /&gt;
;Repair OSC directory&lt;br /&gt;
: Repair the OSC working copy of a package.&lt;br /&gt;
|&lt;br /&gt;
;Refresh status&lt;br /&gt;
: Refresh OBS and Local statuses.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== The file panel ===&lt;br /&gt;
The file panel has two tabs: '''Local directory''' and '''Project filesystem'''.&lt;br /&gt;
&lt;br /&gt;
==== The local directory tab ====&lt;br /&gt;
This tab shows the list of files contained in the selected package.&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;5&amp;quot;&lt;br /&gt;
|colspan=&amp;quot;2&amp;quot;|&lt;br /&gt;
;Open terminal&lt;br /&gt;
: Open a terminal in the package directory&lt;br /&gt;
;Package path&lt;br /&gt;
: Location of the package's OSC working copy&lt;br /&gt;
|-&lt;br /&gt;
| File-related buttons&lt;br /&gt;
| Patch-related buttons&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
;New&lt;br /&gt;
: Create a new empty file. Currently not available.&lt;br /&gt;
;Import&lt;br /&gt;
: Add a file from your local filesystem to the package.&lt;br /&gt;
;Delete&lt;br /&gt;
: Delete the selected file from the package.&lt;br /&gt;
;Modify&lt;br /&gt;
: Launch an editor on the selected file.&lt;br /&gt;
|&lt;br /&gt;
;New&lt;br /&gt;
: Generate a patch from the changes made into the project filesystem, and add this patch to the package and in the yaml and/or spec files. This patch becomes the current patch of the package, until the next '%prep'.&lt;br /&gt;
;Import&lt;br /&gt;
: Import an external patch. Currently not available.&lt;br /&gt;
;Delete&lt;br /&gt;
: Delete a patch. Currently not available.&lt;br /&gt;
;Update&lt;br /&gt;
: Update the current patch with new modifications.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== The project filesystem tab ====&lt;br /&gt;
This tab shows the complete file tree of selected project's filesystem.&lt;br /&gt;
If a package is selected and it has previously been imported into the filesystem, its path is expanded by default.&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;5&amp;quot;&lt;br /&gt;
|colspan=&amp;quot;3&amp;quot;|&lt;br /&gt;
;Open terminal&lt;br /&gt;
: Open a terminal in the filesystem, using '''chroot''', in the source directory of the current package if it is installed.&lt;br /&gt;
;Chroot path&lt;br /&gt;
: Location of the project filesystem.&lt;br /&gt;
|-&lt;br /&gt;
| Repository-related buttons&lt;br /&gt;
| Filesystem-related buttons&lt;br /&gt;
| Rpmbuild-related buttons&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
;New&lt;br /&gt;
: Make a package repository accessible from zypper inside the filesystem, by URL.&lt;br /&gt;
;Import&lt;br /&gt;
: Make the package repository of another OBS Light project accessible from zypper inside the filesystem.&lt;br /&gt;
;Delete&lt;br /&gt;
: Delete a repository from the filesystem.&lt;br /&gt;
;Modify&lt;br /&gt;
: Modify the URL or alias of a repository.&lt;br /&gt;
|&lt;br /&gt;
;New&lt;br /&gt;
: Create the filesystem of the project.&lt;br /&gt;
;Import&lt;br /&gt;
: Not yet implemented.&lt;br /&gt;
;Delete&lt;br /&gt;
: Delete the filesystem&lt;br /&gt;
;Modify&lt;br /&gt;
: Not yet implemented.&lt;br /&gt;
|&lt;br /&gt;
;%prep&lt;br /&gt;
: Install the sources of a package into the filesystem, execute the %prep section of the spec file and do the first build.&lt;br /&gt;
;%build&lt;br /&gt;
: Execute the %build section of the spec file of the selected package, in an alternative rpmbuild directory.&lt;br /&gt;
;%install&lt;br /&gt;
: Execute the %install section of the spec file of the selected package, in an alternative rpmbuild directory.&lt;br /&gt;
;%files&lt;br /&gt;
: Build the source and binary RPMs of the selected package, in an alternative rpmbuild directory.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== MIC projects tab ==&lt;br /&gt;
This tab allows you to manage a MIC (MeeGo Image Creator) project. You can change its architecture and image type, and edit its Kickstart file.&lt;br /&gt;
&lt;br /&gt;
On the left panel you can see a list of MIC projects. Click ''New'' to add one, you will be asked for a name, and an empty Kickstart file will be created.&lt;br /&gt;
&lt;br /&gt;
=== Project options ===&lt;br /&gt;
[[File: Obslightgui_mic_01.png|600px|OBS Light GUI main window - MIC project - Project options]]&lt;br /&gt;
&lt;br /&gt;
In this tab you can:&lt;br /&gt;
* change the generated image type&lt;br /&gt;
** ''fs'': a directory hierarchy containing the whole filesystem&lt;br /&gt;
** ''livecd'': a bootable image suitable for a CD&lt;br /&gt;
** ''liveusb'': a bootable image suitable for a USB key&lt;br /&gt;
** ''loop'': a filesystem image to be mounted with a loop device (with ''mount -o loop'')&lt;br /&gt;
** ''raw''&lt;br /&gt;
* change the architecture of the project (only i686 has been tested)&lt;br /&gt;
* open the directory of the project (with you default file browser)&lt;br /&gt;
* import a Kickstart file (that will overwrite the current file)&lt;br /&gt;
* export the current Kickstart file&lt;br /&gt;
* launch the creation of the image&lt;br /&gt;
&lt;br /&gt;
=== Kickstart options ===&lt;br /&gt;
[[File: Obslightgui_mic_02.png|600px|OBS Light GUI main window - MIC project - Kickstart options]]&lt;br /&gt;
&lt;br /&gt;
In this tab you can add, delete or modify the different options of the project's Kickstart file. These options are documented [http://fedoraproject.org/wiki/Anaconda/Kickstart here].&lt;br /&gt;
&lt;br /&gt;
* To add an option press the ''add'' button, and enter the full option line in the bottom text field, then press ''save''.&lt;br /&gt;
* To modify an option, select it, modify the bottom text field and press ''save''.&lt;br /&gt;
* To delete an option, select it, press ''delete'', and then ''save''.&lt;br /&gt;
&lt;br /&gt;
Notice that some options may have aliases, which will appear on the same line in the option list.&lt;br /&gt;
The ''repo'' option will not be listed here, but in the [[OBS_Light_Manual#Repositories | Repositories]] tab.&lt;br /&gt;
&lt;br /&gt;
=== Repositories ===&lt;br /&gt;
[[File: Obslightgui_mic_03.png|600px|OBS Light GUI main window - MIC project - Kickstart repositories]]&lt;br /&gt;
&lt;br /&gt;
In this tab, you can add, delete, or modify Kickstart repositories.&lt;br /&gt;
&lt;br /&gt;
* To add a repository, there are two possibilities:&lt;br /&gt;
** The repository is from an OBS project you worked on with OBS Light: press ''Import from OBS project'' and select the project.&lt;br /&gt;
** The repository is from an external project: press ''Add by URL'', and you will be asked for an URL and a name.&lt;br /&gt;
* To delete a repository, select it and press ''Delete''.&lt;br /&gt;
* To edit a repository, double-click on the cell of the property you want to edit (or simple click if it is a checkbox).&lt;br /&gt;
The changes are automatically saved.&lt;br /&gt;
&lt;br /&gt;
=== Packages ===&lt;br /&gt;
[[File: Obslightgui_mic_04.png|600px|OBS Light GUI main window - MIC project - Kickstart packages]]&lt;br /&gt;
&lt;br /&gt;
Here you can edit the package list of the project's Kickstart file.&lt;br /&gt;
Notice that multiple ''%package'' sections of original Kickstart file have been merged into one.&lt;br /&gt;
&lt;br /&gt;
Each package has an ''Included'' parameter which tells if it should be included in the generated image. If ''Included'' is not checked, the package will be explicitly excluded in the Kickstart file (its name will be prefixed with '-').&lt;br /&gt;
&lt;br /&gt;
=== Package groups ===&lt;br /&gt;
Here you can edit the list of package groups of the project's Kickstart file.&lt;br /&gt;
At the moment, no verification is done on package groups.&lt;br /&gt;
&lt;br /&gt;
=== Scripts ===&lt;br /&gt;
[[File: Obslightgui_mic_06.png|600px|OBS Light GUI main window - MIC project - Kickstart scripts]]&lt;br /&gt;
&lt;br /&gt;
Here you can add, delete or modify Kickstart scripts.&lt;br /&gt;
&lt;br /&gt;
* To add a script, press ''Add'', write your script in the bottom text field, choose script options in the right panel, and press ''Save''.&lt;br /&gt;
* To delete a script, select it and press ''Delete''.&lt;br /&gt;
* To modify a script, select it, modify the script in the bottom text field or the script options in the right panel, and press ''Save''.&lt;br /&gt;
&lt;br /&gt;
=== Overlay files ===&lt;br /&gt;
[[File: Obslightgui_mic_07.png|600px|OBS Light GUI main window - MIC project - Overlay files]]&lt;br /&gt;
&lt;br /&gt;
Here you can add files that will be included in the project image.&lt;br /&gt;
* To add an overlay file, press ''Add'' and a file browser will appear. Browse to your file and validate. Then a text dialog will appear, enter the path were you want your file to be copied in the image. '''tar''' archives will be extracted at the location you selected, instead of simply being copied.&lt;br /&gt;
* To delete an overlay file, select it and press ''Delete''.&lt;br /&gt;
&lt;br /&gt;
Implementation details:&lt;br /&gt;
* source files are first copied in MIC project's directory&lt;br /&gt;
* each overlay file will appear as a ''%post --nochoot'' script in the Kickstart file (but will be hidden in the ''Scripts'' tab).&lt;br /&gt;
&lt;br /&gt;
= Troubleshooting =&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;tt&amp;gt;&amp;quot;Source package 'xxx' not found&amp;quot;&amp;lt;/tt&amp;gt; or &amp;lt;tt&amp;gt;&amp;quot;Problem: nothing provides X needed by Y&amp;quot;&amp;lt;/tt&amp;gt; ==&lt;br /&gt;
These message may appear in two situations:&lt;br /&gt;
* The package you are trying to build is missing a dependency. OBS Light is not capable of searching dependencies outside the project from which your package comes. You will need to configure an additional repository in the project filesystem, using command ''filesystem repositories add'' or [[OBS_Light_Manual#The_project_filesystem_tab | the repository-related buttons]] in the GUI.&lt;br /&gt;
* In an ARM project filesystem, zypper or libzypp are broken, they do not see '''noarch''' packages. This problem was reported with zypper 1.5.3 and libzypp 8.12.1. We suggest you to update your zypper version to 1.6+. For convenience, we pre-built zypper 1.6.15 and libzypp 9.10.2 to Meego 1.2.0.&lt;br /&gt;
&lt;br /&gt;
=== How to install zypper 1.6.15 from our repository in an ARM project filesystem ===&lt;br /&gt;
==== From commandline ====&lt;br /&gt;
First add our repository to your filesystem's zypper configuration file:&lt;br /&gt;
 obslight filesystem repositories add http://repo.pub.meego.com/Project:/OBS_Light:/Zypper/MeeGo_1.2_OSS/ &amp;quot;Zypper_1.6.15_backport&amp;quot; $ProjectName&lt;br /&gt;
&lt;br /&gt;
Then chroot in the filesystem and update '''zypper''':&lt;br /&gt;
 obslight filesystem enter $ProjectName&lt;br /&gt;
  $ zypper update zypper&lt;br /&gt;
  $ exit&lt;br /&gt;
==== From GUI ====&lt;br /&gt;
* ''Project filesystem'' tab, ''Repository''-&amp;gt;''New'', URL http://repo.pub.meego.com/Project:/OBS_Light:/Zypper/MeeGo_1.2_OSS/ and alias &amp;quot;Zypper_1.6.15_backport&amp;quot;&lt;br /&gt;
* Then ''Project filesystem''-&amp;gt;''Open terminal''&lt;br /&gt;
 # zypper update zypper&lt;br /&gt;
 # exit&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;tt&amp;gt;&amp;quot;error: Architecture is not included: armv8el&amp;quot;&amp;lt;/tt&amp;gt; ==&lt;br /&gt;
The '''build''' package of your project filesystem does not support armv8el builds. Consider using another version, like the 2011.03.29 of MeeGo's repositories.&lt;br /&gt;
&lt;br /&gt;
=== How to install '''build''' version 2011.03.29 in a MeeGo 1.2.0 project filesystem ===&lt;br /&gt;
First add the MeeGo building tools repository to your project filesystem's zypper configuration file:&lt;br /&gt;
 obslight filesystem repositories add http://download.meego.com/live/Tools:/Building/MeeGo_1.2.0/ &amp;quot;Tools:Building_MeeGo_1.2.0&amp;quot; $ProjectName&lt;br /&gt;
&lt;br /&gt;
Then chroot in the filesystem and update '''build''':&lt;br /&gt;
 obslight filesystem enter $ProjectName&lt;br /&gt;
   # zypper update build&lt;br /&gt;
   # exit&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;tt&amp;gt;&amp;quot;chroot: failed to run command `sh': No such file or directory&amp;quot;&amp;lt;/tt&amp;gt; ==&lt;br /&gt;
This appears when '''binfmt_misc''' is not or badly configured.&lt;br /&gt;
Launch qemu's binfmt configuration script (as root):&lt;br /&gt;
 qemu-binfmt-conf.sh&lt;br /&gt;
If you still get the same message, try this (as root):&lt;br /&gt;
 echo -1 &amp;gt; /proc/sys/fs/binfmt_misc/arm&lt;br /&gt;
 echo &amp;quot;:arm:M::\x7fELF\x01\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x28\x00:\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff\xff:`which qemu-arm`:&amp;quot; &amp;gt; /proc/sys/fs/binfmt_misc/register&lt;br /&gt;
&lt;br /&gt;
== gnomekeyring.IOError ==&lt;br /&gt;
This error appears on Ubuntu when running obslight from a console, without a graphical environment. At the moment, the only known solution is to run obslight only from a graphical environment (e.g. Gnome).&lt;br /&gt;
&lt;br /&gt;
= Internals =&lt;br /&gt;
== GUI ==&lt;br /&gt;
[[File: ObsLightGui_class_diagram.png|600px|OBS Light GUI class diagram]]&lt;br /&gt;
&lt;br /&gt;
[https://meego.gitorious.org/meego-developer-tools/obs-light/blobs/master/Doc/ObsLightGui_class_diagram.dia Dia source file]&lt;/div&gt;</summary>
		<author><name>Fvennetier</name></author>	</entry>

	<entry>
		<id>http://wiki.meego.com/OBS_Light_FAQ</id>
		<title>OBS Light FAQ</title>
		<link rel="alternate" type="text/html" href="http://wiki.meego.com/OBS_Light_FAQ"/>
				<updated>2012-02-28T08:47:38Z</updated>
		
		<summary type="html">&lt;p&gt;Fvennetier: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Frequently Asked Questions =&lt;br /&gt;
== Where does ''obslight'' store its data? ==&lt;br /&gt;
All data is stored in '''~/OBSLight''' and subdirectories.&lt;br /&gt;
&lt;br /&gt;
Each OBS project has its own directory in '''~/OBSLight/ObsProjects/''', each MIC project has its own directory in '''~/OBSLight/MicProjects/'''.&lt;br /&gt;
&lt;br /&gt;
== Is there a configuration file ? ==&lt;br /&gt;
Configuration file is '''~/OBSLight/ObslightConfig'''.&lt;br /&gt;
&lt;br /&gt;
== How do I run OBS light server appliance on my Desktop ? ==&lt;br /&gt;
While running an OBS Light appliance is simple and easy and just requires 1GB of RAM allocated to the virtual machine, running an OBS server appliance can be much more demanding but running the OBS server server appliance on your desktop or laptop (a minimum 4GB of RAM is mandatory) via a virtual machine can be very handy during evaluation tests.&amp;lt;br/&amp;gt;&lt;br /&gt;
The main advantage is that you do not need a special authorisation from your IT department to start playing but you need to allocate at least 2GB to the appliance and as many CPU cores that you can spare. You need to patch on the OBS server appliance ''(need to be root)'' the file '''/etc/sysconfig/obs-worker''' to set the variable OBS_WORKER_INSTANCES to 1 (default is zero) to limit the RAM resources requires by your appliance during build process.&lt;br /&gt;
If you plan to build large packages such as Chromium you will need more than 2GB of RAM allocated (actually on my desktop I have 16GB). &amp;lt;br/&amp;gt;&lt;br /&gt;
You can overcome that limit with the addition of an obsworker appliance on a separate server. OBS Light project provides one pre-configured to work with and OBS Light server appliance.&amp;lt;br/&amp;gt;&lt;br /&gt;
If you use the Bridge mode, external OBS work appliance will be detected and used automatically (NAT more would require a complex configuration). The Worker can be running on a more powerfull unit and speed the preparation work before for example leaving the office with a complete fully built project on a laptop.&lt;br /&gt;
You can stop the worker on the laptop by the command '''rcobsworker stop''' ''(need to be root)''. You can check that your OBS Worker appliance can see your OBS Light Server Appliance with the command '''slptool findsrvs obs.source_server'''&amp;lt;br/&amp;gt;&lt;br /&gt;
As a general rule using the bridge mode is advisable. Note ''this is '''not''' the default option of VirtualBox''.&lt;br /&gt;
The NAT mode is interesting to run an OBS Light server via a VPN or for unconnected demos. In that case you will need to declare NAT rules in your Vitual Machine Manager redirecting the ports 80, 81 and 82 from your local host to your OBS appliance internal NAT address ''(with VitualBox under Linux rerouting port bellow 1000 is reserved for root only)''.&amp;lt;br/&amp;gt;&lt;br /&gt;
Do not forget to add a host name &amp;quot;obslightserver&amp;quot; in your workstation pointing to the OBS Light server appliance IP address or localhost in the case of a NAT configuration.&lt;br /&gt;
&lt;br /&gt;
== How to show the log ? ==&lt;br /&gt;
* From the menu: ''Window'' -&amp;gt; ''Show log''&lt;br /&gt;
* When a long operation is running: right click on progress bar and click ''Show log''.&lt;br /&gt;
&lt;br /&gt;
== Why does MeeGo's '''kernel''' package fail to build for ARM? ==&lt;br /&gt;
The '''kernel''' package has flags to prevent builds on ARM.&lt;br /&gt;
To compile an ARM kernel, you must use another package, for example the '''kernel-adaptation-n900''' package.&lt;br /&gt;
&lt;br /&gt;
== How install the dependency of a package into the project filesystem? ==&lt;br /&gt;
If the project on your OBS doesn’t provide some dependencies and you must add a repository to your project filesystem's zypper configuration, you have two choices:&lt;br /&gt;
* First one, use an URL and an alias:&lt;br /&gt;
 ## obslight filesystem repositories add &amp;lt;repository_url&amp;gt; &amp;lt;repository_alias&amp;gt; &amp;lt;project_alias&amp;gt;&lt;br /&gt;
 obslight filesystem repositories add http://download.meego.com/live/MeeGo:/1.2:/non-oss/MeeGo_1.2/ MeeGo_non-oss MeeGo_1.2_oss&lt;br /&gt;
* Second one, add the repository of another local project:&lt;br /&gt;
 ## obslight filesystem repositories add from &amp;lt;source_project_alias&amp;gt; &amp;lt;project_alias&amp;gt;&lt;br /&gt;
 obslight filesystem repositories add from MeeGo_1.2_non-oss MeeGo_1.2_oss&lt;br /&gt;
&lt;br /&gt;
== Where to send bug reports ? ==&lt;br /&gt;
Bugs are centralized on [https://bugs.meego.com/buglist.cgi?product=Development%20Tools&amp;amp;component=OBS%20Light MeeGo's bugzilla].&lt;br /&gt;
&lt;br /&gt;
= Links =&lt;br /&gt;
* [[OBS_Light | OBS Light main page]]&lt;br /&gt;
* [[ObsLightDeliverable | OBS Light deliverables]]&lt;br /&gt;
* [[OBS_Light_Manual | OBS Light manual]]&lt;br /&gt;
* [https://meego.gitorious.org/meego-developer-tools/obs-light/ OBS Light project on Gitorious]&lt;br /&gt;
* [https://build.pub.meego.com/project/show?project=Project%3AOBS_Light OBS Light project on MeeGo build service]&lt;/div&gt;</summary>
		<author><name>Fvennetier</name></author>	</entry>

	<entry>
		<id>http://wiki.meego.com/OBS_Light_Manual</id>
		<title>OBS Light Manual</title>
		<link rel="alternate" type="text/html" href="http://wiki.meego.com/OBS_Light_Manual"/>
				<updated>2012-02-28T08:12:29Z</updated>
		
		<summary type="html">&lt;p&gt;Fvennetier: /* MIC projects tab */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is the user manual of the command-line and graphical interface of OBS Light.&lt;br /&gt;
* [[OBS_Light | OBS Light project]]&lt;br /&gt;
* [[OBS_Light_FAQ | Frequently Asked Questions]]&lt;br /&gt;
* [[ObsLightDeliverable | Installation]]&lt;br /&gt;
= General principles =&lt;br /&gt;
== Operation modes ==&lt;br /&gt;
OBS Light is available via command line (obslight) and a graphical user interface GUI (obslightgui).&lt;br /&gt;
Independently of that fact that you are using the command line or the GUI, you will get access to the same services.&lt;br /&gt;
&lt;br /&gt;
== Videos training ==&lt;br /&gt;
We have created a set of video which will provide you a quick overview of how to start with OBS Light.&amp;lt;br&amp;gt;&lt;br /&gt;
They cover :&lt;br /&gt;
* Where to find the tool and information&lt;br /&gt;
* How to install OBS Light and get write access to an OBS&lt;br /&gt;
* Creation of you first project and package import&lt;br /&gt;
* Working in the project filesystem&lt;br /&gt;
* Auto creation of patch and upload to OBS&lt;br /&gt;
&lt;br /&gt;
http://www.dailymotion.com/playlist/x1t5ll_dominigarfoll_obs-light-training&lt;br /&gt;
&lt;br /&gt;
== Step by step ==&lt;br /&gt;
=== Get Login access to an OBS server ===&lt;br /&gt;
OBS Light is a simplified model to develop code via an OBS. It does not replace your OBS.&lt;br /&gt;
&lt;br /&gt;
To use OBS Light you will need a login access to an OBS. You have two simple methods to get a login on an OBS:&lt;br /&gt;
* You can create a login on several &amp;quot;free&amp;quot; OBS :&lt;br /&gt;
** MeeGo Community https://build.pub.meego.com/&lt;br /&gt;
** OpenSUSE https://build.opensuse.org/&lt;br /&gt;
* Run your private OBS instance&lt;br /&gt;
** Select a ready made MeeGo OBS appliance (highly recommended) http://susestudio.com/a/e0uuBG/meego-obs&lt;br /&gt;
** Install your private full appliance (advanced users only) http://en.opensuse.org/openSUSE:Build_Service_private_instance&lt;br /&gt;
&lt;br /&gt;
Once you have a login on an OBS instance, you will need to copy a project to play with. You can use the utilities ''obstag'' and ''obs2obscopy'' to achieve that in an easy way. See [[ Obstag ]].&lt;br /&gt;
&lt;br /&gt;
=== Configure your OBS servers ===&lt;br /&gt;
OBS Light needs to know on which server you will connect to. As OBS Light does more than the osc tool, more information will be needed. You will be asked the following  :&lt;br /&gt;
* OBS server web URL&lt;br /&gt;
* OBS server API URL&lt;br /&gt;
* OBS repository URL&lt;br /&gt;
* Login&lt;br /&gt;
* Password&lt;br /&gt;
* Alias (note that Alias will need to be different from any Alias already present in your osc configuration and OBS light will enforce that constrain). If you plan to use the import/export functions make sure that you use the same Alias on the sending and receiving hosts.&lt;br /&gt;
&lt;br /&gt;
Even if these information are copied in ''.osrcrc'', they must be maintain via the OBS light command.&lt;br /&gt;
&lt;br /&gt;
=== Import the package(s) to work on ===&lt;br /&gt;
After the configuration of one or more OBS servers, you will be able to import a package to work on.&lt;br /&gt;
You can also create an empty package would you like to.&lt;br /&gt;
&lt;br /&gt;
OBS Light will create a local copy of that package on your workstation in a very similar way to what an osc checkout action would do.&lt;br /&gt;
As osc, OBS Light transparently keeps track directly of the links between the packages and the associated OBS servers.&lt;br /&gt;
&lt;br /&gt;
=== Create the project filesystem ===&lt;br /&gt;
Once that you have loaded the packages, you can request the creation of a &amp;quot;chroot jail&amp;quot; (thereafter referred to as &amp;quot;filesystem&amp;quot; or &amp;quot;project filesystem&amp;quot;), where the packages can be built without interfering with the host's filesystem. The created filesystem is specific to the project and will not be recreated if it's already present.&lt;br /&gt;
During the creation of the filesystem, extra packages imposed by the build dependencies will be loaded automatically. If you are connected on a remote OBS that phase can take some time and may require a bit of patience.&lt;br /&gt;
&lt;br /&gt;
OBS Light tries to load automatically the dependencies from the analysis of the .spec file in the RPM but that is not always possible. The user has the possibility to add manually extra file and/or packages to the filesystem.&lt;br /&gt;
&lt;br /&gt;
Packages can be imported either from a project already present in OBS Light or from any URL.&lt;br /&gt;
&lt;br /&gt;
=== Importing the code in the project filesystem ===&lt;br /&gt;
Once that the filesystem is created, the source from the package can be imported in the filesystem. During that process, OBS Light will load the extra package needed to build that specific imported source and will create a special git tree which will monitor any changes done by the user.&lt;br /&gt;
&lt;br /&gt;
The user can directly open a window on the filesystem from OBS Light. The console program used by default can be defined in the OBS Light configuration file.&lt;br /&gt;
From there direct modification of the code in the filesystem is possible and local build can be run as often as desired.&lt;br /&gt;
&lt;br /&gt;
=== Committing changes ===&lt;br /&gt;
When the user is happy of his change, he can request the change from the filesystem to be committed directly in the package.&lt;br /&gt;
&lt;br /&gt;
A patch will be created and added to the package and configured in the .spec file by OBS Light.&lt;br /&gt;
&lt;br /&gt;
=== Saving changes on the OBS server ===&lt;br /&gt;
Once that changes on a given project (which can work on one or multiple packages) achieve a stage which is worth to push on the OBS server. The user can simply request to save the project and OBS Light will commit the changes automatically.&lt;br /&gt;
&lt;br /&gt;
== Example: patching MeeGo 1.2 ''kernel'' package ==&lt;br /&gt;
&lt;br /&gt;
=== Step1: inform ''obslight'' about your OBS account ===&lt;br /&gt;
 ## synthax: obslight server add server_alias &amp;lt;server_alias&amp;gt; login &amp;lt;login&amp;gt; password &amp;lt;password&amp;gt; api_url &amp;lt;api_url&amp;gt; repository_url &amp;lt;repository_url&amp;gt; web_url &amp;lt;web_url&amp;gt;&lt;br /&gt;
;''server_alias''&lt;br /&gt;
: is the alias you want to use to refer to this server.&lt;br /&gt;
;''api_url''&lt;br /&gt;
: is the URL to the OBS control API. If you are using [http://susestudio.com/a/e0uuBG/meego-obs OBS appliance], it's probably on port 81.&lt;br /&gt;
;''repository_url''&lt;br /&gt;
: is the URL to the OBS package repositories. If you are using [http://susestudio.com/a/e0uuBG/meego-obs OBS appliance], it's probably on port 82.&lt;br /&gt;
;''web_url''&lt;br /&gt;
: is the URL to the OBS web interface.&lt;br /&gt;
&lt;br /&gt;
=== Step2: create a local project related to your OBS project ===&lt;br /&gt;
* The project is created in '''~/OBSLight/ObsProjects/MeeGo_1.2_oss/'''&lt;br /&gt;
 ## synthax: obslight obsproject add &amp;lt;project_alias&amp;gt; &amp;lt;name_on_obs&amp;gt; &amp;lt;target&amp;gt; &amp;lt;arch&amp;gt; &amp;lt;server_alias&amp;gt;&lt;br /&gt;
 obslight obsproject add MeeGo_1.2_oss MeeGo:1.2:oss standard i586 &amp;lt;server_alias&amp;gt;&lt;br /&gt;
;''project_alias''&lt;br /&gt;
: is the name you will use to refer to this project with the ''obslight'' command (e.g. ''MeeGo_1.2_oss'').&lt;br /&gt;
;''name_on_obs''&lt;br /&gt;
: is the name of the project on the OBS (e.g. ''MeeGo:1.2:oss'').&lt;br /&gt;
;''target''&lt;br /&gt;
: is the target against which we will build (''standard'' is the common name when there is only one).&lt;br /&gt;
;''arch''&lt;br /&gt;
: is the target architecture of the project.&lt;br /&gt;
;''server_alias''&lt;br /&gt;
: is the alias of the OBS server from which we get the project (which has been configured in first step).&lt;br /&gt;
&lt;br /&gt;
=== Step3: add the kernel package to your local project ===&lt;br /&gt;
* The package is created in '''~/OBSLight/ObsProjects/MeeGo_1.2_oss/MeeGo:1.2:oss/kernel/'''&lt;br /&gt;
* In this directory, the package is manageable by osc.&lt;br /&gt;
 ## synthax: obslight package add package &amp;lt;package&amp;gt; project_alias &amp;lt;project_alias&amp;gt;&lt;br /&gt;
 obslight package add package kernel project_alias MeeGo_1.2_oss&lt;br /&gt;
;''package''&lt;br /&gt;
: is the name of the package you want to work on (e.g. '''kernel''').&lt;br /&gt;
;''project_alias''&lt;br /&gt;
: is the name of the project you created in step2.&lt;br /&gt;
&lt;br /&gt;
=== Step4: create the filesystem of the project ===&lt;br /&gt;
* The filesystem root directory is '''~/OBSLight/ObsProjects/MeeGo_1.2_oss/aChroot/'''.&lt;br /&gt;
* zypper is included in the filesystem and your OBS project's repository is automatically added.&lt;br /&gt;
 ## synthax: obslight filesystem create &amp;lt;project_alias&amp;gt;&lt;br /&gt;
 obslight filesystem create MeeGo_1.2_oss&lt;br /&gt;
&lt;br /&gt;
=== Step5: add the source of the kernel package into your filesystem ===&lt;br /&gt;
* The source package is extracted in directory '''/root/rpmbuild/BUILD/kernel-X.X.X/linux-X.X.X'''.&lt;br /&gt;
* After the installation, a git repository is initialized in package's directory.&lt;br /&gt;
 ## synthax: obslight rpmbuild prepare package &amp;lt;package&amp;gt; project_alias &amp;lt;project_alias&amp;gt;&lt;br /&gt;
 obslight rpmbuild prepare package kernel project_alias MeeGo_1.2_oss&lt;br /&gt;
&lt;br /&gt;
=== Step6: work as you want into your filesystem ===&lt;br /&gt;
* The directory '''~/OBSLight/ObsProjects/MeeGo_1.2_oss/chrootTransfert/''' is mounted into the chroot jail in '''/chrootTransfert/'''.&lt;br /&gt;
* Every script executed in ''aChroot'', is stored in '''/chrootTransfert/''' as '''runMe_YYYY-MM-DD_HHhMMmSS.sh'''.&lt;br /&gt;
 ## synthax: obslight filesystem enter package &amp;lt;package&amp;gt; project_alias &amp;lt;project_alias&amp;gt;&lt;br /&gt;
 obslight filesystem enter package kernel project_alias MeeGo_1.2_oss&lt;br /&gt;
&lt;br /&gt;
Now you are logged in the chroot jail.&lt;br /&gt;
In this example we just modify the kernel configuration.&lt;br /&gt;
 $ cp configs/kernel-x86.config .config&lt;br /&gt;
 $ make menuconfig&lt;br /&gt;
&lt;br /&gt;
=== Step7: save your modifications ===&lt;br /&gt;
There are two methods.&lt;br /&gt;
&lt;br /&gt;
==== Method1: by making a patch ====&lt;br /&gt;
 $ cp .config config-x86&lt;br /&gt;
 $ exit&lt;br /&gt;
&lt;br /&gt;
 ## synthax: obslight rpmbuild createpatch &amp;lt;patch&amp;gt; package &amp;lt;package&amp;gt; project_alias &amp;lt;project_alias&amp;gt;&lt;br /&gt;
 obslight rpmbuild createpatch myKernelPatch.patch package kernel project_alias MeeGo_1.2_oss&lt;br /&gt;
&lt;br /&gt;
* The patch is automatically added to the local spec file.&lt;br /&gt;
* '''myKernelPatch.patch''' is automatically added to the local package directory.&lt;br /&gt;
* ''kernel package specific:'' you must move the patch application command '''%patchXXX -p1''' after the command line '''cp $RPM_SOURCE_DIR/config-* .''' in the local spec file&lt;br /&gt;
 vi ~/OBSLight/MeeGo_1.2_oss/MeeGo:1.2:oss/kernel/kernel.spec&lt;br /&gt;
&lt;br /&gt;
==== Method2: by copying the new configuration file in OSC directory ====&lt;br /&gt;
 $ cp .config /chrootTransfert/config-x86&lt;br /&gt;
 $ exit&lt;br /&gt;
 cp ~/OBSLight/ObsProjects/MeeGo_1.2_oss/chrootTransfert/config-x86 ~/OBSLight/ObsProjects/MeeGo_1.2_oss/MeeGo:1.2:oss/kernel/&lt;br /&gt;
&lt;br /&gt;
=== Step8: Upstream your modifications to the OBS server ===&lt;br /&gt;
* The command ''package commit'' checks the additions and deletions of files, before committing the package to the OBS server.&lt;br /&gt;
 ## synthax: obslight package commit &amp;lt;message&amp;gt; package &amp;lt;package&amp;gt; project_alias &amp;lt;project_alias&amp;gt;&lt;br /&gt;
 obslight package commit &amp;quot;Patch kernel&amp;quot; package kernel project_alias MeeGo_1.2_oss&lt;br /&gt;
&lt;br /&gt;
= Command-line =&lt;br /&gt;
&lt;br /&gt;
The help is integrated in the tool. ''obslight help'' will give you an online help.&lt;br /&gt;
&lt;br /&gt;
To get more detail on a specific command you can type ''obslight &amp;lt;command&amp;gt; help''.&lt;br /&gt;
&lt;br /&gt;
 $ obslight help &lt;br /&gt;
 OBSlight:&lt;br /&gt;
    Provides a tool to manage an OBS project on your local machine in command line&lt;br /&gt;
    For informations, see the Help section&lt;br /&gt;
        obslight --Help&lt;br /&gt;
    The gui for OBSlight is obslightgui&lt;br /&gt;
    A FAQ is available at:&lt;br /&gt;
        *http://wiki.meego.com/OBS_Light_FAQ&lt;br /&gt;
    For additional informations, see:&lt;br /&gt;
        *http://wiki.meego.com/OBS_Light&lt;br /&gt;
 Usage: OBSlight [global command] &amp;lt;command&amp;gt; [--command-options]&lt;br /&gt;
 &lt;br /&gt;
 Type OBSlight &amp;lt;command&amp;gt; --Help to get Help on a specific command.&lt;br /&gt;
 Commands:&lt;br /&gt;
 &lt;br /&gt;
    server:                   Manage the OBS server&lt;br /&gt;
    obsproject:               Manage the OBSlight project&lt;br /&gt;
    package:                  Manage the packages of OBSlight project&lt;br /&gt;
    projectfilesystem (projectfs,filesystem,pfs) :&lt;br /&gt;
                              Manage the project filesystem of OBSlight project&lt;br /&gt;
    rpmbuild (rb) :           Manage the rpmbuild of the package into the project filesystem&lt;br /&gt;
    man:                      print the man help document&lt;br /&gt;
 &lt;br /&gt;
 global Options:&lt;br /&gt;
 &lt;br /&gt;
    quiet (-quiet,--quiet) :  run obslight in quiet mode&lt;br /&gt;
    debug (-debug,--debug) :  run obslight in debugger mode&lt;br /&gt;
    version (--version) :     show program's version number and exit&lt;br /&gt;
    help (-h,-help,--help) :  show this help message and exit&lt;br /&gt;
    noaction:                 Execute command but do nothing&lt;br /&gt;
&lt;br /&gt;
= Graphical interface =&lt;br /&gt;
The GUI is launched via the command ''obslightgui''.&lt;br /&gt;
Only the parameter ''--version'' is supported.&lt;br /&gt;
&lt;br /&gt;
It has two main tabs: one for OBS projects, one for MIC projects&lt;br /&gt;
&lt;br /&gt;
The buttons in each section apply to the relative section. They display a tool-tip when the mouse is positioned on them.&lt;br /&gt;
Button are grayed when there are not active or not yet implemented.&lt;br /&gt;
&lt;br /&gt;
== OBS projects tab ==&lt;br /&gt;
[[File: Obslightgui_01.png|600px|OBS Light GUI main window]]&lt;br /&gt;
&lt;br /&gt;
This tab allows you to manage an OBS project, its packages (and their files) and its filesystem.&lt;br /&gt;
&lt;br /&gt;
It has 3 main areas:&lt;br /&gt;
* OBS project&lt;br /&gt;
* Packages&lt;br /&gt;
* local files and project filesystem (on a tab)&lt;br /&gt;
&lt;br /&gt;
=== The project panel ===&lt;br /&gt;
The panel on the left displays the list of OBS projects locally configured, and information about the selected project.&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;5&amp;quot;&lt;br /&gt;
|&lt;br /&gt;
;New&lt;br /&gt;
: Create a new project. Currently you cannot create a new project from scratch using OBS Light, only import one.&lt;br /&gt;
;Import&lt;br /&gt;
: Import a project from an OBS server.&lt;br /&gt;
;Delete&lt;br /&gt;
: Delete the selected project. The project will be removed locally but will remain on the OBS server.&lt;br /&gt;
;Modify&lt;br /&gt;
: Modify the selected project configuration.&lt;br /&gt;
|&lt;br /&gt;
;Save&lt;br /&gt;
: Save the selected project to a file.&lt;br /&gt;
;Load&lt;br /&gt;
: Load a project from a file.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== The package panel ===&lt;br /&gt;
The panel on the middle displays the list of packages of the selected project, and information about the selected package.&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;5&amp;quot;&lt;br /&gt;
|&lt;br /&gt;
;New&lt;br /&gt;
: Create a new package. Currently you cannot create a new package from scratch using OBS Light, only import one.&lt;br /&gt;
;Import&lt;br /&gt;
: Import a package from an OBS project.&lt;br /&gt;
;Delete&lt;br /&gt;
: Delete the selected package(s). The packages will be removed locally but will remain on the OBS server.&lt;br /&gt;
;Modify&lt;br /&gt;
: Modify the package title and description. Currently not available.&lt;br /&gt;
|&lt;br /&gt;
;Update files&lt;br /&gt;
: Checkout/update files from the OBS (''osc update'' equivalent).&lt;br /&gt;
;Commit changes&lt;br /&gt;
: Commit changes to the OBS (''osc commit'' equivalent).&lt;br /&gt;
;Repair OSC directory&lt;br /&gt;
: Repair the OSC working copy of a package.&lt;br /&gt;
|&lt;br /&gt;
;Refresh status&lt;br /&gt;
: Refresh OBS and Local statuses.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== The file panel ===&lt;br /&gt;
The file panel has two tabs: '''Local directory''' and '''Project filesystem'''.&lt;br /&gt;
&lt;br /&gt;
==== The local directory tab ====&lt;br /&gt;
This tab shows the list of files contained in the selected package.&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;5&amp;quot;&lt;br /&gt;
|colspan=&amp;quot;2&amp;quot;|&lt;br /&gt;
;Open terminal&lt;br /&gt;
: Open a terminal in the package directory&lt;br /&gt;
;Package path&lt;br /&gt;
: Location of the package's OSC working copy&lt;br /&gt;
|-&lt;br /&gt;
| File-related buttons&lt;br /&gt;
| Patch-related buttons&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
;New&lt;br /&gt;
: Create a new empty file. Currently not available.&lt;br /&gt;
;Import&lt;br /&gt;
: Add a file from your local filesystem to the package.&lt;br /&gt;
;Delete&lt;br /&gt;
: Delete the selected file from the package.&lt;br /&gt;
;Modify&lt;br /&gt;
: Launch an editor on the selected file.&lt;br /&gt;
|&lt;br /&gt;
;New&lt;br /&gt;
: Generate a patch from the changes made into the project filesystem, and add this patch to the package and in the yaml and/or spec files. This patch becomes the current patch of the package, until the next '%prep'.&lt;br /&gt;
;Import&lt;br /&gt;
: Import an external patch. Currently not available.&lt;br /&gt;
;Delete&lt;br /&gt;
: Delete a patch. Currently not available.&lt;br /&gt;
;Update&lt;br /&gt;
: Update the current patch with new modifications.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== The project filesystem tab ====&lt;br /&gt;
This tab shows the complete file tree of selected project's filesystem.&lt;br /&gt;
If a package is selected and it has previously been imported into the filesystem, its path is expanded by default.&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;5&amp;quot;&lt;br /&gt;
|colspan=&amp;quot;3&amp;quot;|&lt;br /&gt;
;Open terminal&lt;br /&gt;
: Open a terminal in the filesystem, using '''chroot''', in the source directory of the current package if it is installed.&lt;br /&gt;
;Chroot path&lt;br /&gt;
: Location of the project filesystem.&lt;br /&gt;
|-&lt;br /&gt;
| Repository-related buttons&lt;br /&gt;
| Filesystem-related buttons&lt;br /&gt;
| Rpmbuild-related buttons&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
;New&lt;br /&gt;
: Make a package repository accessible from zypper inside the filesystem, by URL.&lt;br /&gt;
;Import&lt;br /&gt;
: Make the package repository of another OBS Light project accessible from zypper inside the filesystem.&lt;br /&gt;
;Delete&lt;br /&gt;
: Delete a repository from the filesystem.&lt;br /&gt;
;Modify&lt;br /&gt;
: Modify the URL or alias of a repository.&lt;br /&gt;
|&lt;br /&gt;
;New&lt;br /&gt;
: Create the filesystem of the project.&lt;br /&gt;
;Import&lt;br /&gt;
: Not yet implemented.&lt;br /&gt;
;Delete&lt;br /&gt;
: Delete the filesystem&lt;br /&gt;
;Modify&lt;br /&gt;
: Not yet implemented.&lt;br /&gt;
|&lt;br /&gt;
;%prep&lt;br /&gt;
: Install the sources of a package into the filesystem, execute the %prep section of the spec file and do the first build.&lt;br /&gt;
;%build&lt;br /&gt;
: Execute the %build section of the spec file of the selected package, in an alternative rpmbuild directory.&lt;br /&gt;
;%install&lt;br /&gt;
: Execute the %install section of the spec file of the selected package, in an alternative rpmbuild directory.&lt;br /&gt;
;%files&lt;br /&gt;
: Build the source and binary RPMs of the selected package, in an alternative rpmbuild directory.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== MIC projects tab ==&lt;br /&gt;
This tab allows you to manage a MIC (MeeGo Image Creator) project. You can change its architecture and image type, and edit its Kickstart file.&lt;br /&gt;
&lt;br /&gt;
On the left panel you can see a list of MIC projects. Click ''New'' to add one, you will be asked for a name, and an empty Kickstart file will be created.&lt;br /&gt;
&lt;br /&gt;
=== Project options ===&lt;br /&gt;
[[File: Obslightgui_mic_01.png|600px|OBS Light GUI main window - MIC project - Project options]]&lt;br /&gt;
&lt;br /&gt;
In this tab you can:&lt;br /&gt;
* change the generated image type&lt;br /&gt;
** ''fs'': a directory hierarchy containing the whole filesystem&lt;br /&gt;
** ''livecd'': a bootable image suitable for a CD&lt;br /&gt;
** ''liveusb'': a bootable image suitable for a USB key&lt;br /&gt;
** ''loop'': a filesystem image to be mounted with a loop device (with ''mount -o loop'')&lt;br /&gt;
** ''raw''&lt;br /&gt;
* change the architecture of the project (only i686 has been tested)&lt;br /&gt;
* open the directory of the project (with you default file browser)&lt;br /&gt;
* import a Kickstart file (that will overwrite the current file)&lt;br /&gt;
* export the current Kickstart file&lt;br /&gt;
* launch the creation of the image&lt;br /&gt;
&lt;br /&gt;
=== Kickstart options ===&lt;br /&gt;
[[File: Obslightgui_mic_02.png|600px|OBS Light GUI main window - MIC project - Kickstart options]]&lt;br /&gt;
&lt;br /&gt;
In this tab you can add, delete or modify the different options of the project's Kickstart file. These options are documented [http://fedoraproject.org/wiki/Anaconda/Kickstart here].&lt;br /&gt;
&lt;br /&gt;
* To add an option press the ''add'' button, and enter the full option line in the bottom text field, then press ''save''.&lt;br /&gt;
* To modify an option, select it, modify the bottom text field and press ''save''.&lt;br /&gt;
* To delete an option, select it, press ''delete'', and then ''save''.&lt;br /&gt;
&lt;br /&gt;
Notice that some options may have aliases, which will appear on the same line in the option list.&lt;br /&gt;
The ''repo'' option will not be listed here, but in the [[OBS_Light_Manual#Repositories | Repositories]] tab.&lt;br /&gt;
&lt;br /&gt;
=== Repositories ===&lt;br /&gt;
[[File: Obslightgui_mic_03.png|600px|OBS Light GUI main window - MIC project - Kickstart repositories]]&lt;br /&gt;
&lt;br /&gt;
In this tab, you can add, delete, or modify Kickstart repositories.&lt;br /&gt;
&lt;br /&gt;
* To add a repository, there are two possibilities:&lt;br /&gt;
** The repository is from an OBS project you worked on with OBS Light: press ''Import from OBS project'' and select the project.&lt;br /&gt;
** The repository is from an external project: press ''Add by URL'', and you will be asked for an URL and a name.&lt;br /&gt;
* To delete a repository, select it and press ''Delete''.&lt;br /&gt;
* To edit a repository, double-click on the cell of the property you want to edit (or simple click if it is a checkbox).&lt;br /&gt;
The changes are automatically saved.&lt;br /&gt;
&lt;br /&gt;
=== Packages ===&lt;br /&gt;
[[File: Obslightgui_mic_04.png|600px|OBS Light GUI main window - MIC project - Kickstart packages]]&lt;br /&gt;
&lt;br /&gt;
Here you can edit the package list of the project's Kickstart file.&lt;br /&gt;
Notice that multiple ''%package'' sections of original Kickstart file have been merged into one.&lt;br /&gt;
&lt;br /&gt;
Each package has an ''Included'' parameter which tells if it should be included in the generated image. If ''Included'' is not checked, the package will be explicitly excluded in the Kickstart file (its name will be prefixed with '-').&lt;br /&gt;
&lt;br /&gt;
=== Package groups ===&lt;br /&gt;
Here you can edit the list of package groups of the project's Kickstart file.&lt;br /&gt;
At the moment, no verification is done on package groups.&lt;br /&gt;
&lt;br /&gt;
=== Scripts ===&lt;br /&gt;
[[File: Obslightgui_mic_06.png|600px|OBS Light GUI main window - MIC project - Kickstart scripts]]&lt;br /&gt;
&lt;br /&gt;
Here you can add, delete or modify Kickstart scripts.&lt;br /&gt;
&lt;br /&gt;
* To add a script, press ''Add'', write your script in the bottom text field, choose script options in the right panel, and press ''Save''.&lt;br /&gt;
* To delete a script, select it and press ''Delete''.&lt;br /&gt;
* To modify a script, select it, modify the script in the bottom text field or the script options in the right panel, and press ''Save''.&lt;br /&gt;
&lt;br /&gt;
=== Overlay files ===&lt;br /&gt;
[[File: Obslightgui_mic_07.png|600px|OBS Light GUI main window - MIC project - Overlay files]]&lt;br /&gt;
&lt;br /&gt;
Here you can add files that will be included in the project image.&lt;br /&gt;
* To add an overlay file, press ''Add'' and a file browser will appear. Browse to your file and validate. Then a text dialog will appear, enter the path were you want your file to be copied in the image. '''tar''' archives will be extracted at the location you selected, instead of simply being copied.&lt;br /&gt;
* To delete an overlay file, select it and press ''Delete''.&lt;br /&gt;
&lt;br /&gt;
Implementation details:&lt;br /&gt;
* source files are first copied in MIC project's directory&lt;br /&gt;
* each overlay file will appear as a ''%post --nochoot'' script in the Kickstart file (but will be hidden in the ''Scripts'' tab).&lt;br /&gt;
&lt;br /&gt;
= Troubleshooting =&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;tt&amp;gt;&amp;quot;Source package 'xxx' not found&amp;quot;&amp;lt;/tt&amp;gt; or &amp;lt;tt&amp;gt;&amp;quot;Problem: nothing provides X needed by Y&amp;quot;&amp;lt;/tt&amp;gt; ==&lt;br /&gt;
These message may appear in two situations:&lt;br /&gt;
* The package you are trying to build is missing a dependency. OBS Light is not capable of searching dependencies outside the project from which your package comes. You will need to configure an additional repository in the project filesystem, using command ''filesystem repositories add'' or [[OBS_Light_Manual#The_project_filesystem_tab | the repository-related buttons]] in the GUI.&lt;br /&gt;
* In an ARM project filesystem, zypper or libzypp are broken, they do not see '''noarch''' packages. This problem was reported with zypper 1.5.3 and libzypp 8.12.1. We suggest you to update your zypper version to 1.6+. For convenience, we pre-built zypper 1.6.15 and libzypp 9.10.2 to Meego 1.2.0.&lt;br /&gt;
&lt;br /&gt;
=== How to install zypper 1.6.15 from our repository in an ARM project filesystem ===&lt;br /&gt;
==== From commandline ====&lt;br /&gt;
First add our repository to your filesystem's zypper configuration file:&lt;br /&gt;
 obslight filesystem repositories add http://repo.pub.meego.com/Project:/OBS_Light:/Zypper/MeeGo_1.2_OSS/ &amp;quot;Zypper_1.6.15_backport&amp;quot; $ProjectName&lt;br /&gt;
&lt;br /&gt;
Then chroot in the filesystem and update '''zypper''':&lt;br /&gt;
 obslight filesystem enter $ProjectName&lt;br /&gt;
  $ zypper update zypper&lt;br /&gt;
  $ exit&lt;br /&gt;
==== From GUI ====&lt;br /&gt;
* ''Project filesystem'' tab, ''Repository''-&amp;gt;''New'', URL http://repo.pub.meego.com/Project:/OBS_Light:/Zypper/MeeGo_1.2_OSS/ and alias &amp;quot;Zypper_1.6.15_backport&amp;quot;&lt;br /&gt;
* Then ''Project filesystem''-&amp;gt;''Open terminal''&lt;br /&gt;
 # zypper update zypper&lt;br /&gt;
 # exit&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;tt&amp;gt;&amp;quot;error: Architecture is not included: armv8el&amp;quot;&amp;lt;/tt&amp;gt; ==&lt;br /&gt;
The '''build''' package of your project filesystem does not support armv8el builds. Consider using another version, like the 2011.03.29 of MeeGo's repositories.&lt;br /&gt;
&lt;br /&gt;
=== How to install '''build''' version 2011.03.29 in a MeeGo 1.2.0 project filesystem ===&lt;br /&gt;
First add the MeeGo building tools repository to your project filesystem's zypper configuration file:&lt;br /&gt;
 obslight filesystem repositories add http://download.meego.com/live/Tools:/Building/MeeGo_1.2.0/ &amp;quot;Tools:Building_MeeGo_1.2.0&amp;quot; $ProjectName&lt;br /&gt;
&lt;br /&gt;
Then chroot in the filesystem and update '''build''':&lt;br /&gt;
 obslight filesystem enter $ProjectName&lt;br /&gt;
   # zypper update build&lt;br /&gt;
   # exit&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;tt&amp;gt;&amp;quot;chroot: failed to run command `sh': No such file or directory&amp;quot;&amp;lt;/tt&amp;gt; ==&lt;br /&gt;
This appears when '''binfmt_misc''' is not or badly configured.&lt;br /&gt;
Launch qemu's binfmt configuration script (as root):&lt;br /&gt;
 qemu-binfmt-conf.sh&lt;br /&gt;
If you still get the same message, try this (as root):&lt;br /&gt;
 echo -1 &amp;gt; /proc/sys/fs/binfmt_misc/arm&lt;br /&gt;
 echo &amp;quot;:arm:M::\x7fELF\x01\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x28\x00:\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff\xff:`which qemu-arm`:&amp;quot; &amp;gt; /proc/sys/fs/binfmt_misc/register&lt;br /&gt;
&lt;br /&gt;
== gnomekeyring.IOError ==&lt;br /&gt;
This error appears on Ubuntu when running obslight from a console, without a graphical environment. At the moment, the only known solution is to run obslight only from a graphical environment (e.g. Gnome).&lt;br /&gt;
&lt;br /&gt;
= Internals =&lt;br /&gt;
== GUI ==&lt;br /&gt;
[[File: ObsLightGui_class_diagram.png|600px|OBS Light GUI class diagram]]&lt;/div&gt;</summary>
		<author><name>Fvennetier</name></author>	</entry>

	<entry>
		<id>http://wiki.meego.com/File:ObsLightGui_class_diagram.png</id>
		<title>File:ObsLightGui class diagram.png</title>
		<link rel="alternate" type="text/html" href="http://wiki.meego.com/File:ObsLightGui_class_diagram.png"/>
				<updated>2012-02-28T08:00:38Z</updated>
		
		<summary type="html">&lt;p&gt;Fvennetier: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;OBS Light GUI class diagram&lt;br /&gt;
&lt;br /&gt;
[https://meego.gitorious.org/meego-developer-tools/obs-light/blobs/master/Doc/ObsLightGui_class_diagram.dia Source]&lt;/div&gt;</summary>
		<author><name>Fvennetier</name></author>	</entry>

	<entry>
		<id>http://wiki.meego.com/OBS_Light_Manual</id>
		<title>OBS Light Manual</title>
		<link rel="alternate" type="text/html" href="http://wiki.meego.com/OBS_Light_Manual"/>
				<updated>2012-02-27T17:36:04Z</updated>
		
		<summary type="html">&lt;p&gt;Fvennetier: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is the user manual of the command-line and graphical interface of OBS Light.&lt;br /&gt;
* [[OBS_Light | OBS Light project]]&lt;br /&gt;
* [[OBS_Light_FAQ | Frequently Asked Questions]]&lt;br /&gt;
* [[ObsLightDeliverable | Installation]]&lt;br /&gt;
= General principles =&lt;br /&gt;
== Operation modes ==&lt;br /&gt;
OBS Light is available via command line (obslight) and a graphical user interface GUI (obslightgui).&lt;br /&gt;
Independently of that fact that you are using the command line or the GUI, you will get access to the same services.&lt;br /&gt;
&lt;br /&gt;
== Videos training ==&lt;br /&gt;
We have created a set of video which will provide you a quick overview of how to start with OBS Light.&amp;lt;br&amp;gt;&lt;br /&gt;
They cover :&lt;br /&gt;
* Where to find the tool and information&lt;br /&gt;
* How to install OBS Light and get write access to an OBS&lt;br /&gt;
* Creation of you first project and package import&lt;br /&gt;
* Working in the project filesystem&lt;br /&gt;
* Auto creation of patch and upload to OBS&lt;br /&gt;
&lt;br /&gt;
http://www.dailymotion.com/playlist/x1t5ll_dominigarfoll_obs-light-training&lt;br /&gt;
&lt;br /&gt;
== Step by step ==&lt;br /&gt;
=== Get Login access to an OBS server ===&lt;br /&gt;
OBS Light is a simplified model to develop code via an OBS. It does not replace your OBS.&lt;br /&gt;
&lt;br /&gt;
To use OBS Light you will need a login access to an OBS. You have two simple methods to get a login on an OBS:&lt;br /&gt;
* You can create a login on several &amp;quot;free&amp;quot; OBS :&lt;br /&gt;
** MeeGo Community https://build.pub.meego.com/&lt;br /&gt;
** OpenSUSE https://build.opensuse.org/&lt;br /&gt;
* Run your private OBS instance&lt;br /&gt;
** Select a ready made MeeGo OBS appliance (highly recommended) http://susestudio.com/a/e0uuBG/meego-obs&lt;br /&gt;
** Install your private full appliance (advanced users only) http://en.opensuse.org/openSUSE:Build_Service_private_instance&lt;br /&gt;
&lt;br /&gt;
Once you have a login on an OBS instance, you will need to copy a project to play with. You can use the utilities ''obstag'' and ''obs2obscopy'' to achieve that in an easy way. See [[ Obstag ]].&lt;br /&gt;
&lt;br /&gt;
=== Configure your OBS servers ===&lt;br /&gt;
OBS Light needs to know on which server you will connect to. As OBS Light does more than the osc tool, more information will be needed. You will be asked the following  :&lt;br /&gt;
* OBS server web URL&lt;br /&gt;
* OBS server API URL&lt;br /&gt;
* OBS repository URL&lt;br /&gt;
* Login&lt;br /&gt;
* Password&lt;br /&gt;
* Alias (note that Alias will need to be different from any Alias already present in your osc configuration and OBS light will enforce that constrain). If you plan to use the import/export functions make sure that you use the same Alias on the sending and receiving hosts.&lt;br /&gt;
&lt;br /&gt;
Even if these information are copied in ''.osrcrc'', they must be maintain via the OBS light command.&lt;br /&gt;
&lt;br /&gt;
=== Import the package(s) to work on ===&lt;br /&gt;
After the configuration of one or more OBS servers, you will be able to import a package to work on.&lt;br /&gt;
You can also create an empty package would you like to.&lt;br /&gt;
&lt;br /&gt;
OBS Light will create a local copy of that package on your workstation in a very similar way to what an osc checkout action would do.&lt;br /&gt;
As osc, OBS Light transparently keeps track directly of the links between the packages and the associated OBS servers.&lt;br /&gt;
&lt;br /&gt;
=== Create the project filesystem ===&lt;br /&gt;
Once that you have loaded the packages, you can request the creation of a &amp;quot;chroot jail&amp;quot; (thereafter referred to as &amp;quot;filesystem&amp;quot; or &amp;quot;project filesystem&amp;quot;), where the packages can be built without interfering with the host's filesystem. The created filesystem is specific to the project and will not be recreated if it's already present.&lt;br /&gt;
During the creation of the filesystem, extra packages imposed by the build dependencies will be loaded automatically. If you are connected on a remote OBS that phase can take some time and may require a bit of patience.&lt;br /&gt;
&lt;br /&gt;
OBS Light tries to load automatically the dependencies from the analysis of the .spec file in the RPM but that is not always possible. The user has the possibility to add manually extra file and/or packages to the filesystem.&lt;br /&gt;
&lt;br /&gt;
Packages can be imported either from a project already present in OBS Light or from any URL.&lt;br /&gt;
&lt;br /&gt;
=== Importing the code in the project filesystem ===&lt;br /&gt;
Once that the filesystem is created, the source from the package can be imported in the filesystem. During that process, OBS Light will load the extra package needed to build that specific imported source and will create a special git tree which will monitor any changes done by the user.&lt;br /&gt;
&lt;br /&gt;
The user can directly open a window on the filesystem from OBS Light. The console program used by default can be defined in the OBS Light configuration file.&lt;br /&gt;
From there direct modification of the code in the filesystem is possible and local build can be run as often as desired.&lt;br /&gt;
&lt;br /&gt;
=== Committing changes ===&lt;br /&gt;
When the user is happy of his change, he can request the change from the filesystem to be committed directly in the package.&lt;br /&gt;
&lt;br /&gt;
A patch will be created and added to the package and configured in the .spec file by OBS Light.&lt;br /&gt;
&lt;br /&gt;
=== Saving changes on the OBS server ===&lt;br /&gt;
Once that changes on a given project (which can work on one or multiple packages) achieve a stage which is worth to push on the OBS server. The user can simply request to save the project and OBS Light will commit the changes automatically.&lt;br /&gt;
&lt;br /&gt;
== Example: patching MeeGo 1.2 ''kernel'' package ==&lt;br /&gt;
&lt;br /&gt;
=== Step1: inform ''obslight'' about your OBS account ===&lt;br /&gt;
 ## synthax: obslight server add server_alias &amp;lt;server_alias&amp;gt; login &amp;lt;login&amp;gt; password &amp;lt;password&amp;gt; api_url &amp;lt;api_url&amp;gt; repository_url &amp;lt;repository_url&amp;gt; web_url &amp;lt;web_url&amp;gt;&lt;br /&gt;
;''server_alias''&lt;br /&gt;
: is the alias you want to use to refer to this server.&lt;br /&gt;
;''api_url''&lt;br /&gt;
: is the URL to the OBS control API. If you are using [http://susestudio.com/a/e0uuBG/meego-obs OBS appliance], it's probably on port 81.&lt;br /&gt;
;''repository_url''&lt;br /&gt;
: is the URL to the OBS package repositories. If you are using [http://susestudio.com/a/e0uuBG/meego-obs OBS appliance], it's probably on port 82.&lt;br /&gt;
;''web_url''&lt;br /&gt;
: is the URL to the OBS web interface.&lt;br /&gt;
&lt;br /&gt;
=== Step2: create a local project related to your OBS project ===&lt;br /&gt;
* The project is created in '''~/OBSLight/ObsProjects/MeeGo_1.2_oss/'''&lt;br /&gt;
 ## synthax: obslight obsproject add &amp;lt;project_alias&amp;gt; &amp;lt;name_on_obs&amp;gt; &amp;lt;target&amp;gt; &amp;lt;arch&amp;gt; &amp;lt;server_alias&amp;gt;&lt;br /&gt;
 obslight obsproject add MeeGo_1.2_oss MeeGo:1.2:oss standard i586 &amp;lt;server_alias&amp;gt;&lt;br /&gt;
;''project_alias''&lt;br /&gt;
: is the name you will use to refer to this project with the ''obslight'' command (e.g. ''MeeGo_1.2_oss'').&lt;br /&gt;
;''name_on_obs''&lt;br /&gt;
: is the name of the project on the OBS (e.g. ''MeeGo:1.2:oss'').&lt;br /&gt;
;''target''&lt;br /&gt;
: is the target against which we will build (''standard'' is the common name when there is only one).&lt;br /&gt;
;''arch''&lt;br /&gt;
: is the target architecture of the project.&lt;br /&gt;
;''server_alias''&lt;br /&gt;
: is the alias of the OBS server from which we get the project (which has been configured in first step).&lt;br /&gt;
&lt;br /&gt;
=== Step3: add the kernel package to your local project ===&lt;br /&gt;
* The package is created in '''~/OBSLight/ObsProjects/MeeGo_1.2_oss/MeeGo:1.2:oss/kernel/'''&lt;br /&gt;
* In this directory, the package is manageable by osc.&lt;br /&gt;
 ## synthax: obslight package add package &amp;lt;package&amp;gt; project_alias &amp;lt;project_alias&amp;gt;&lt;br /&gt;
 obslight package add package kernel project_alias MeeGo_1.2_oss&lt;br /&gt;
;''package''&lt;br /&gt;
: is the name of the package you want to work on (e.g. '''kernel''').&lt;br /&gt;
;''project_alias''&lt;br /&gt;
: is the name of the project you created in step2.&lt;br /&gt;
&lt;br /&gt;
=== Step4: create the filesystem of the project ===&lt;br /&gt;
* The filesystem root directory is '''~/OBSLight/ObsProjects/MeeGo_1.2_oss/aChroot/'''.&lt;br /&gt;
* zypper is included in the filesystem and your OBS project's repository is automatically added.&lt;br /&gt;
 ## synthax: obslight filesystem create &amp;lt;project_alias&amp;gt;&lt;br /&gt;
 obslight filesystem create MeeGo_1.2_oss&lt;br /&gt;
&lt;br /&gt;
=== Step5: add the source of the kernel package into your filesystem ===&lt;br /&gt;
* The source package is extracted in directory '''/root/rpmbuild/BUILD/kernel-X.X.X/linux-X.X.X'''.&lt;br /&gt;
* After the installation, a git repository is initialized in package's directory.&lt;br /&gt;
 ## synthax: obslight rpmbuild prepare package &amp;lt;package&amp;gt; project_alias &amp;lt;project_alias&amp;gt;&lt;br /&gt;
 obslight rpmbuild prepare package kernel project_alias MeeGo_1.2_oss&lt;br /&gt;
&lt;br /&gt;
=== Step6: work as you want into your filesystem ===&lt;br /&gt;
* The directory '''~/OBSLight/ObsProjects/MeeGo_1.2_oss/chrootTransfert/''' is mounted into the chroot jail in '''/chrootTransfert/'''.&lt;br /&gt;
* Every script executed in ''aChroot'', is stored in '''/chrootTransfert/''' as '''runMe_YYYY-MM-DD_HHhMMmSS.sh'''.&lt;br /&gt;
 ## synthax: obslight filesystem enter package &amp;lt;package&amp;gt; project_alias &amp;lt;project_alias&amp;gt;&lt;br /&gt;
 obslight filesystem enter package kernel project_alias MeeGo_1.2_oss&lt;br /&gt;
&lt;br /&gt;
Now you are logged in the chroot jail.&lt;br /&gt;
In this example we just modify the kernel configuration.&lt;br /&gt;
 $ cp configs/kernel-x86.config .config&lt;br /&gt;
 $ make menuconfig&lt;br /&gt;
&lt;br /&gt;
=== Step7: save your modifications ===&lt;br /&gt;
There are two methods.&lt;br /&gt;
&lt;br /&gt;
==== Method1: by making a patch ====&lt;br /&gt;
 $ cp .config config-x86&lt;br /&gt;
 $ exit&lt;br /&gt;
&lt;br /&gt;
 ## synthax: obslight rpmbuild createpatch &amp;lt;patch&amp;gt; package &amp;lt;package&amp;gt; project_alias &amp;lt;project_alias&amp;gt;&lt;br /&gt;
 obslight rpmbuild createpatch myKernelPatch.patch package kernel project_alias MeeGo_1.2_oss&lt;br /&gt;
&lt;br /&gt;
* The patch is automatically added to the local spec file.&lt;br /&gt;
* '''myKernelPatch.patch''' is automatically added to the local package directory.&lt;br /&gt;
* ''kernel package specific:'' you must move the patch application command '''%patchXXX -p1''' after the command line '''cp $RPM_SOURCE_DIR/config-* .''' in the local spec file&lt;br /&gt;
 vi ~/OBSLight/MeeGo_1.2_oss/MeeGo:1.2:oss/kernel/kernel.spec&lt;br /&gt;
&lt;br /&gt;
==== Method2: by copying the new configuration file in OSC directory ====&lt;br /&gt;
 $ cp .config /chrootTransfert/config-x86&lt;br /&gt;
 $ exit&lt;br /&gt;
 cp ~/OBSLight/ObsProjects/MeeGo_1.2_oss/chrootTransfert/config-x86 ~/OBSLight/ObsProjects/MeeGo_1.2_oss/MeeGo:1.2:oss/kernel/&lt;br /&gt;
&lt;br /&gt;
=== Step8: Upstream your modifications to the OBS server ===&lt;br /&gt;
* The command ''package commit'' checks the additions and deletions of files, before committing the package to the OBS server.&lt;br /&gt;
 ## synthax: obslight package commit &amp;lt;message&amp;gt; package &amp;lt;package&amp;gt; project_alias &amp;lt;project_alias&amp;gt;&lt;br /&gt;
 obslight package commit &amp;quot;Patch kernel&amp;quot; package kernel project_alias MeeGo_1.2_oss&lt;br /&gt;
&lt;br /&gt;
= Command-line =&lt;br /&gt;
&lt;br /&gt;
The help is integrated in the tool. ''obslight help'' will give you an online help.&lt;br /&gt;
&lt;br /&gt;
To get more detail on a specific command you can type ''obslight &amp;lt;command&amp;gt; help''.&lt;br /&gt;
&lt;br /&gt;
 $ obslight help &lt;br /&gt;
 OBSlight:&lt;br /&gt;
    Provides a tool to manage an OBS project on your local machine in command line&lt;br /&gt;
    For informations, see the Help section&lt;br /&gt;
        obslight --Help&lt;br /&gt;
    The gui for OBSlight is obslightgui&lt;br /&gt;
    A FAQ is available at:&lt;br /&gt;
        *http://wiki.meego.com/OBS_Light_FAQ&lt;br /&gt;
    For additional informations, see:&lt;br /&gt;
        *http://wiki.meego.com/OBS_Light&lt;br /&gt;
 Usage: OBSlight [global command] &amp;lt;command&amp;gt; [--command-options]&lt;br /&gt;
 &lt;br /&gt;
 Type OBSlight &amp;lt;command&amp;gt; --Help to get Help on a specific command.&lt;br /&gt;
 Commands:&lt;br /&gt;
 &lt;br /&gt;
    server:                   Manage the OBS server&lt;br /&gt;
    obsproject:               Manage the OBSlight project&lt;br /&gt;
    package:                  Manage the packages of OBSlight project&lt;br /&gt;
    projectfilesystem (projectfs,filesystem,pfs) :&lt;br /&gt;
                              Manage the project filesystem of OBSlight project&lt;br /&gt;
    rpmbuild (rb) :           Manage the rpmbuild of the package into the project filesystem&lt;br /&gt;
    man:                      print the man help document&lt;br /&gt;
 &lt;br /&gt;
 global Options:&lt;br /&gt;
 &lt;br /&gt;
    quiet (-quiet,--quiet) :  run obslight in quiet mode&lt;br /&gt;
    debug (-debug,--debug) :  run obslight in debugger mode&lt;br /&gt;
    version (--version) :     show program's version number and exit&lt;br /&gt;
    help (-h,-help,--help) :  show this help message and exit&lt;br /&gt;
    noaction:                 Execute command but do nothing&lt;br /&gt;
&lt;br /&gt;
= Graphical interface =&lt;br /&gt;
The GUI is launched via the command ''obslightgui''.&lt;br /&gt;
Only the parameter ''--version'' is supported.&lt;br /&gt;
&lt;br /&gt;
It has two main tabs: one for OBS projects, one for MIC projects&lt;br /&gt;
&lt;br /&gt;
The buttons in each section apply to the relative section. They display a tool-tip when the mouse is positioned on them.&lt;br /&gt;
Button are grayed when there are not active or not yet implemented.&lt;br /&gt;
&lt;br /&gt;
== OBS projects tab ==&lt;br /&gt;
[[File: Obslightgui_01.png|600px|OBS Light GUI main window]]&lt;br /&gt;
&lt;br /&gt;
This tab allows you to manage an OBS project, its packages (and their files) and its filesystem.&lt;br /&gt;
&lt;br /&gt;
It has 3 main areas:&lt;br /&gt;
* OBS project&lt;br /&gt;
* Packages&lt;br /&gt;
* local files and project filesystem (on a tab)&lt;br /&gt;
&lt;br /&gt;
=== The project panel ===&lt;br /&gt;
The panel on the left displays the list of OBS projects locally configured, and information about the selected project.&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;5&amp;quot;&lt;br /&gt;
|&lt;br /&gt;
;New&lt;br /&gt;
: Create a new project. Currently you cannot create a new project from scratch using OBS Light, only import one.&lt;br /&gt;
;Import&lt;br /&gt;
: Import a project from an OBS server.&lt;br /&gt;
;Delete&lt;br /&gt;
: Delete the selected project. The project will be removed locally but will remain on the OBS server.&lt;br /&gt;
;Modify&lt;br /&gt;
: Modify the selected project configuration.&lt;br /&gt;
|&lt;br /&gt;
;Save&lt;br /&gt;
: Save the selected project to a file.&lt;br /&gt;
;Load&lt;br /&gt;
: Load a project from a file.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== The package panel ===&lt;br /&gt;
The panel on the middle displays the list of packages of the selected project, and information about the selected package.&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;5&amp;quot;&lt;br /&gt;
|&lt;br /&gt;
;New&lt;br /&gt;
: Create a new package. Currently you cannot create a new package from scratch using OBS Light, only import one.&lt;br /&gt;
;Import&lt;br /&gt;
: Import a package from an OBS project.&lt;br /&gt;
;Delete&lt;br /&gt;
: Delete the selected package(s). The packages will be removed locally but will remain on the OBS server.&lt;br /&gt;
;Modify&lt;br /&gt;
: Modify the package title and description. Currently not available.&lt;br /&gt;
|&lt;br /&gt;
;Update files&lt;br /&gt;
: Checkout/update files from the OBS (''osc update'' equivalent).&lt;br /&gt;
;Commit changes&lt;br /&gt;
: Commit changes to the OBS (''osc commit'' equivalent).&lt;br /&gt;
;Repair OSC directory&lt;br /&gt;
: Repair the OSC working copy of a package.&lt;br /&gt;
|&lt;br /&gt;
;Refresh status&lt;br /&gt;
: Refresh OBS and Local statuses.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== The file panel ===&lt;br /&gt;
The file panel has two tabs: '''Local directory''' and '''Project filesystem'''.&lt;br /&gt;
&lt;br /&gt;
==== The local directory tab ====&lt;br /&gt;
This tab shows the list of files contained in the selected package.&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;5&amp;quot;&lt;br /&gt;
|colspan=&amp;quot;2&amp;quot;|&lt;br /&gt;
;Open terminal&lt;br /&gt;
: Open a terminal in the package directory&lt;br /&gt;
;Package path&lt;br /&gt;
: Location of the package's OSC working copy&lt;br /&gt;
|-&lt;br /&gt;
| File-related buttons&lt;br /&gt;
| Patch-related buttons&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
;New&lt;br /&gt;
: Create a new empty file. Currently not available.&lt;br /&gt;
;Import&lt;br /&gt;
: Add a file from your local filesystem to the package.&lt;br /&gt;
;Delete&lt;br /&gt;
: Delete the selected file from the package.&lt;br /&gt;
;Modify&lt;br /&gt;
: Launch an editor on the selected file.&lt;br /&gt;
|&lt;br /&gt;
;New&lt;br /&gt;
: Generate a patch from the changes made into the project filesystem, and add this patch to the package and in the yaml and/or spec files. This patch becomes the current patch of the package, until the next '%prep'.&lt;br /&gt;
;Import&lt;br /&gt;
: Import an external patch. Currently not available.&lt;br /&gt;
;Delete&lt;br /&gt;
: Delete a patch. Currently not available.&lt;br /&gt;
;Update&lt;br /&gt;
: Update the current patch with new modifications.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== The project filesystem tab ====&lt;br /&gt;
This tab shows the complete file tree of selected project's filesystem.&lt;br /&gt;
If a package is selected and it has previously been imported into the filesystem, its path is expanded by default.&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;5&amp;quot;&lt;br /&gt;
|colspan=&amp;quot;3&amp;quot;|&lt;br /&gt;
;Open terminal&lt;br /&gt;
: Open a terminal in the filesystem, using '''chroot''', in the source directory of the current package if it is installed.&lt;br /&gt;
;Chroot path&lt;br /&gt;
: Location of the project filesystem.&lt;br /&gt;
|-&lt;br /&gt;
| Repository-related buttons&lt;br /&gt;
| Filesystem-related buttons&lt;br /&gt;
| Rpmbuild-related buttons&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
;New&lt;br /&gt;
: Make a package repository accessible from zypper inside the filesystem, by URL.&lt;br /&gt;
;Import&lt;br /&gt;
: Make the package repository of another OBS Light project accessible from zypper inside the filesystem.&lt;br /&gt;
;Delete&lt;br /&gt;
: Delete a repository from the filesystem.&lt;br /&gt;
;Modify&lt;br /&gt;
: Modify the URL or alias of a repository.&lt;br /&gt;
|&lt;br /&gt;
;New&lt;br /&gt;
: Create the filesystem of the project.&lt;br /&gt;
;Import&lt;br /&gt;
: Not yet implemented.&lt;br /&gt;
;Delete&lt;br /&gt;
: Delete the filesystem&lt;br /&gt;
;Modify&lt;br /&gt;
: Not yet implemented.&lt;br /&gt;
|&lt;br /&gt;
;%prep&lt;br /&gt;
: Install the sources of a package into the filesystem, execute the %prep section of the spec file and do the first build.&lt;br /&gt;
;%build&lt;br /&gt;
: Execute the %build section of the spec file of the selected package, in an alternative rpmbuild directory.&lt;br /&gt;
;%install&lt;br /&gt;
: Execute the %install section of the spec file of the selected package, in an alternative rpmbuild directory.&lt;br /&gt;
;%files&lt;br /&gt;
: Build the source and binary RPMs of the selected package, in an alternative rpmbuild directory.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== MIC projects tab ==&lt;br /&gt;
This tab allows you to manage a MIC (MeeGo Image Creator) project. You can change its architecture and image type, and edit its Kickstart file.&lt;br /&gt;
&lt;br /&gt;
=== Project options ===&lt;br /&gt;
[[File: Obslightgui_mic_01.png|600px|OBS Light GUI main window - MIC project - Project options]]&lt;br /&gt;
&lt;br /&gt;
Here you can:&lt;br /&gt;
* change the generated image type&lt;br /&gt;
* change the architecture of the project (only i686 has been tested)&lt;br /&gt;
* open the directory of the project&lt;br /&gt;
* import a Kickstart file (that will overwrite the current file)&lt;br /&gt;
* export the current Kickstart file&lt;br /&gt;
* launch the creation of the image&lt;br /&gt;
&lt;br /&gt;
=== Kickstart options ===&lt;br /&gt;
[[File: Obslightgui_mic_02.png|600px|OBS Light GUI main window - MIC project - Kickstart options]]&lt;br /&gt;
&lt;br /&gt;
Here you can add, delete or modify the different options of the project's Kickstart file. These options are documented [http://fedoraproject.org/wiki/Anaconda/Kickstart here].&lt;br /&gt;
&lt;br /&gt;
* To add an option press the ''add'' button, and enter the full option line in the bottom text field, then press ''save''.&lt;br /&gt;
* To modify an option, select it, modify the bottom text field and press ''save''.&lt;br /&gt;
* To delete an option, select it, press ''delete'', and then ''save''.&lt;br /&gt;
&lt;br /&gt;
Notice that some options may have aliases, which will appear on the same line in the option list.&lt;br /&gt;
The ''repo'' option will not be listed here, but in the [[OBS_Light_Manual#Repositories | Repositories]] tab.&lt;br /&gt;
&lt;br /&gt;
=== Repositories ===&lt;br /&gt;
[[File: Obslightgui_mic_03.png|600px|OBS Light GUI main window - MIC project - Kickstart repositories]]&lt;br /&gt;
&lt;br /&gt;
In this tab, you can add, delete, or modify Kickstart repositories.&lt;br /&gt;
&lt;br /&gt;
* To add a repository, there are two possibilities:&lt;br /&gt;
** The repository is from an OBS project you worked on with OBS Light: press ''Import from OBS project'' and select the project.&lt;br /&gt;
** The repository is from an external project: press ''Add by URL'', and you will be asked for an URL and a name.&lt;br /&gt;
* To delete a repository, select it and press ''Delete''.&lt;br /&gt;
* To edit a repository, double-click on the cell of the property you want to edit (or simple click if it is a checkbox).&lt;br /&gt;
The changes are automatically saved.&lt;br /&gt;
&lt;br /&gt;
=== Packages ===&lt;br /&gt;
[[File: Obslightgui_mic_04.png|600px|OBS Light GUI main window - MIC project - Kickstart packages]]&lt;br /&gt;
&lt;br /&gt;
Here you can edit the package list of the project's Kickstart file.&lt;br /&gt;
Notice that multiple ''%package'' sections of original Kickstart file have been merged into one.&lt;br /&gt;
&lt;br /&gt;
Each package has an ''Included'' parameter which tells if it should be included in the generated image. If ''Included'' is not checked, the package will be explicitly excluded in the Kickstart file (its name will be prefixed with '-').&lt;br /&gt;
&lt;br /&gt;
=== Package groups ===&lt;br /&gt;
Here you can edit the list of package groups of the project's Kickstart file.&lt;br /&gt;
At the moment, no verification is done on package groups.&lt;br /&gt;
&lt;br /&gt;
=== Scripts ===&lt;br /&gt;
[[File: Obslightgui_mic_06.png|600px|OBS Light GUI main window - MIC project - Kickstart scripts]]&lt;br /&gt;
&lt;br /&gt;
Here you can add, delete or modify Kickstart scripts.&lt;br /&gt;
&lt;br /&gt;
* To add a script, press ''Add'', write your script in the bottom text field, choose script options in the right panel, and press ''Save''.&lt;br /&gt;
* To delete a script, select it and press ''Delete''.&lt;br /&gt;
* To modify a script, select it, modify the script in the bottom text field or the script options in the right panel, and press ''Save''.&lt;br /&gt;
&lt;br /&gt;
=== Overlay files ===&lt;br /&gt;
[[File: Obslightgui_mic_07.png|600px|OBS Light GUI main window - MIC project - Overlay files]]&lt;br /&gt;
&lt;br /&gt;
Here you can add files that will be included in the project image.&lt;br /&gt;
* To add an overlay file, press ''Add'' and a file browser will appear. Browse to your file and validate. Then a text dialog will appear, enter the path were you want your file to be copied in the image. '''tar''' archives will be extracted at the location you selected, instead of simply being copied.&lt;br /&gt;
* To delete an overlay file, select it and press ''Delete''.&lt;br /&gt;
&lt;br /&gt;
Implementation details:&lt;br /&gt;
* source files are first copied in MIC project's directory&lt;br /&gt;
* each overlay file will appear as a ''%post --nochoot'' script in the Kickstart file (but will be hidden in the ''Scripts'' tab).&lt;br /&gt;
&lt;br /&gt;
= Troubleshooting =&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;tt&amp;gt;&amp;quot;Source package 'xxx' not found&amp;quot;&amp;lt;/tt&amp;gt; or &amp;lt;tt&amp;gt;&amp;quot;Problem: nothing provides X needed by Y&amp;quot;&amp;lt;/tt&amp;gt; ==&lt;br /&gt;
These message may appear in two situations:&lt;br /&gt;
* The package you are trying to build is missing a dependency. OBS Light is not capable of searching dependencies outside the project from which your package comes. You will need to configure an additional repository in the project filesystem, using command ''filesystem repositories add'' or [[OBS_Light_Manual#The_project_filesystem_tab | the repository-related buttons]] in the GUI.&lt;br /&gt;
* In an ARM project filesystem, zypper or libzypp are broken, they do not see '''noarch''' packages. This problem was reported with zypper 1.5.3 and libzypp 8.12.1. We suggest you to update your zypper version to 1.6+. For convenience, we pre-built zypper 1.6.15 and libzypp 9.10.2 to Meego 1.2.0.&lt;br /&gt;
&lt;br /&gt;
=== How to install zypper 1.6.15 from our repository in an ARM project filesystem ===&lt;br /&gt;
==== From commandline ====&lt;br /&gt;
First add our repository to your filesystem's zypper configuration file:&lt;br /&gt;
 obslight filesystem repositories add http://repo.pub.meego.com/Project:/OBS_Light:/Zypper/MeeGo_1.2_OSS/ &amp;quot;Zypper_1.6.15_backport&amp;quot; $ProjectName&lt;br /&gt;
&lt;br /&gt;
Then chroot in the filesystem and update '''zypper''':&lt;br /&gt;
 obslight filesystem enter $ProjectName&lt;br /&gt;
  $ zypper update zypper&lt;br /&gt;
  $ exit&lt;br /&gt;
==== From GUI ====&lt;br /&gt;
* ''Project filesystem'' tab, ''Repository''-&amp;gt;''New'', URL http://repo.pub.meego.com/Project:/OBS_Light:/Zypper/MeeGo_1.2_OSS/ and alias &amp;quot;Zypper_1.6.15_backport&amp;quot;&lt;br /&gt;
* Then ''Project filesystem''-&amp;gt;''Open terminal''&lt;br /&gt;
 # zypper update zypper&lt;br /&gt;
 # exit&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;tt&amp;gt;&amp;quot;error: Architecture is not included: armv8el&amp;quot;&amp;lt;/tt&amp;gt; ==&lt;br /&gt;
The '''build''' package of your project filesystem does not support armv8el builds. Consider using another version, like the 2011.03.29 of MeeGo's repositories.&lt;br /&gt;
&lt;br /&gt;
=== How to install '''build''' version 2011.03.29 in a MeeGo 1.2.0 project filesystem ===&lt;br /&gt;
First add the MeeGo building tools repository to your project filesystem's zypper configuration file:&lt;br /&gt;
 obslight filesystem repositories add http://download.meego.com/live/Tools:/Building/MeeGo_1.2.0/ &amp;quot;Tools:Building_MeeGo_1.2.0&amp;quot; $ProjectName&lt;br /&gt;
&lt;br /&gt;
Then chroot in the filesystem and update '''build''':&lt;br /&gt;
 obslight filesystem enter $ProjectName&lt;br /&gt;
   # zypper update build&lt;br /&gt;
   # exit&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;tt&amp;gt;&amp;quot;chroot: failed to run command `sh': No such file or directory&amp;quot;&amp;lt;/tt&amp;gt; ==&lt;br /&gt;
This appears when '''binfmt_misc''' is not or badly configured.&lt;br /&gt;
Launch qemu's binfmt configuration script (as root):&lt;br /&gt;
 qemu-binfmt-conf.sh&lt;br /&gt;
If you still get the same message, try this (as root):&lt;br /&gt;
 echo -1 &amp;gt; /proc/sys/fs/binfmt_misc/arm&lt;br /&gt;
 echo &amp;quot;:arm:M::\x7fELF\x01\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x28\x00:\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff\xff:`which qemu-arm`:&amp;quot; &amp;gt; /proc/sys/fs/binfmt_misc/register&lt;br /&gt;
&lt;br /&gt;
== gnomekeyring.IOError ==&lt;br /&gt;
This error appears on Ubuntu when running obslight from a console, without a graphical environment. At the moment, the only known solution is to run obslight only from a graphical environment (e.g. Gnome).&lt;br /&gt;
&lt;br /&gt;
= Internals =&lt;br /&gt;
== GUI ==&lt;br /&gt;
[[File: ObsLightGui_class_diagram.png|600px|OBS Light GUI class diagram]]&lt;/div&gt;</summary>
		<author><name>Fvennetier</name></author>	</entry>

	<entry>
		<id>http://wiki.meego.com/File:ObsLightGui_class_diagram.png</id>
		<title>File:ObsLightGui class diagram.png</title>
		<link rel="alternate" type="text/html" href="http://wiki.meego.com/File:ObsLightGui_class_diagram.png"/>
				<updated>2012-02-27T17:33:52Z</updated>
		
		<summary type="html">&lt;p&gt;Fvennetier: OBS Light GUI class diagram&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;OBS Light GUI class diagram&lt;/div&gt;</summary>
		<author><name>Fvennetier</name></author>	</entry>

	<entry>
		<id>http://wiki.meego.com/User:Fvennetier/OBS_Light_MIC</id>
		<title>User:Fvennetier/OBS Light MIC</title>
		<link rel="alternate" type="text/html" href="http://wiki.meego.com/User:Fvennetier/OBS_Light_MIC"/>
				<updated>2012-02-27T16:17:56Z</updated>
		
		<summary type="html">&lt;p&gt;Fvennetier: Created page with &amp;quot;== MIC projects == MIC is a tool to create and manipulate images for Linux distributions. OBS Light implements a GUI for the image creation part of mic.  === Create a project ===...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== MIC projects ==&lt;br /&gt;
MIC is a tool to create and manipulate images for Linux distributions. OBS Light implements a GUI for the image creation part of mic.&lt;br /&gt;
&lt;br /&gt;
=== Create a project ===&lt;br /&gt;
# Press the ''New'' button and enter a name for your project.&lt;br /&gt;
# An empty Kickstart file is automatically created.&lt;br /&gt;
# If you already have your own Kickstart file, you can import it by pressing ''Import Kickstart file'' button. It will be parsed and copied in the project directory.&lt;br /&gt;
&lt;br /&gt;
=== Customize the project ===&lt;br /&gt;
There are only two customizable parameters:&lt;br /&gt;
;Image Type&lt;br /&gt;
: The type of filesystem image that will be created. It can be&lt;br /&gt;
:* ''fs'': a directory hierarchy containing the whole filesystem&lt;br /&gt;
:* ''livecd'': a bootable image suitable for a CD&lt;br /&gt;
:* ''liveusb'': a bootable image suitable for a USB key&lt;br /&gt;
:* ''loop'': a filesystem image to be mounted with a loop device (with ''mount -o loop'').&lt;br /&gt;
:* ''raw''&lt;br /&gt;
;Architecture&lt;br /&gt;
: The architecture of packages that will be included in the filessystem. At the moment, the unique possibility is ''i686''.&lt;br /&gt;
&lt;br /&gt;
=== Customize the Kickstart file ===&lt;/div&gt;</summary>
		<author><name>Fvennetier</name></author>	</entry>

	<entry>
		<id>http://wiki.meego.com/OBS_Light_Manual</id>
		<title>OBS Light Manual</title>
		<link rel="alternate" type="text/html" href="http://wiki.meego.com/OBS_Light_Manual"/>
				<updated>2012-02-27T15:24:09Z</updated>
		
		<summary type="html">&lt;p&gt;Fvennetier: /* Troubleshooting */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is the user manual of the command-line and graphical interface of OBS Light.&lt;br /&gt;
* [[OBS_Light | OBS Light project]]&lt;br /&gt;
* [[OBS_Light_FAQ | Frequently Asked Questions]]&lt;br /&gt;
* [[ObsLightDeliverable | Installation]]&lt;br /&gt;
= General principles =&lt;br /&gt;
== Operation modes ==&lt;br /&gt;
OBS Light is available via command line (obslight) and a graphical user interface GUI (obslightgui).&lt;br /&gt;
Independently of that fact that you are using the command line or the GUI, you will get access to the same services.&lt;br /&gt;
&lt;br /&gt;
== Videos training ==&lt;br /&gt;
We have created a set of video which will provide you a quick overview of how to start with OBS Light.&amp;lt;br&amp;gt;&lt;br /&gt;
They cover :&lt;br /&gt;
* Where to find the tool and information&lt;br /&gt;
* How to install OBS Light and get write access to an OBS&lt;br /&gt;
* Creation of you first project and package import&lt;br /&gt;
* Working in the project filesystem&lt;br /&gt;
* Auto creation of patch and upload to OBS&lt;br /&gt;
&lt;br /&gt;
http://www.dailymotion.com/playlist/x1t5ll_dominigarfoll_obs-light-training&lt;br /&gt;
&lt;br /&gt;
== Step by step ==&lt;br /&gt;
=== Get Login access to an OBS server ===&lt;br /&gt;
OBS Light is a simplified model to develop code via an OBS. It does not replace your OBS.&lt;br /&gt;
&lt;br /&gt;
To use OBS Light you will need a login access to an OBS. You have two simple methods to get a login on an OBS:&lt;br /&gt;
* You can create a login on several &amp;quot;free&amp;quot; OBS :&lt;br /&gt;
** MeeGo Community https://build.pub.meego.com/&lt;br /&gt;
** OpenSUSE https://build.opensuse.org/&lt;br /&gt;
* Run your private OBS instance&lt;br /&gt;
** Select a ready made MeeGo OBS appliance (highly recommended) http://susestudio.com/a/e0uuBG/meego-obs&lt;br /&gt;
** Install your private full appliance (advanced users only) http://en.opensuse.org/openSUSE:Build_Service_private_instance&lt;br /&gt;
&lt;br /&gt;
Once you have a login on an OBS instance, you will need to copy a project to play with. You can use the utilities ''obstag'' and ''obs2obscopy'' to achieve that in an easy way. See [[ Obstag ]].&lt;br /&gt;
&lt;br /&gt;
=== Configure your OBS servers ===&lt;br /&gt;
OBS Light needs to know on which server you will connect to. As OBS Light does more than the osc tool, more information will be needed. You will be asked the following  :&lt;br /&gt;
* OBS server web URL&lt;br /&gt;
* OBS server API URL&lt;br /&gt;
* OBS repository URL&lt;br /&gt;
* Login&lt;br /&gt;
* Password&lt;br /&gt;
* Alias (note that Alias will need to be different from any Alias already present in your osc configuration and OBS light will enforce that constrain). If you plan to use the import/export functions make sure that you use the same Alias on the sending and receiving hosts.&lt;br /&gt;
&lt;br /&gt;
Even if these information are copied in ''.osrcrc'', they must be maintain via the OBS light command.&lt;br /&gt;
&lt;br /&gt;
=== Import the package(s) to work on ===&lt;br /&gt;
After the configuration of one or more OBS servers, you will be able to import a package to work on.&lt;br /&gt;
You can also create an empty package would you like to.&lt;br /&gt;
&lt;br /&gt;
OBS Light will create a local copy of that package on your workstation in a very similar way to what an osc checkout action would do.&lt;br /&gt;
As osc, OBS Light transparently keeps track directly of the links between the packages and the associated OBS servers.&lt;br /&gt;
&lt;br /&gt;
=== Create the project filesystem ===&lt;br /&gt;
Once that you have loaded the packages, you can request the creation of a &amp;quot;chroot jail&amp;quot; (thereafter referred to as &amp;quot;filesystem&amp;quot; or &amp;quot;project filesystem&amp;quot;), where the packages can be built without interfering with the host's filesystem. The created filesystem is specific to the project and will not be recreated if it's already present.&lt;br /&gt;
During the creation of the filesystem, extra packages imposed by the build dependencies will be loaded automatically. If you are connected on a remote OBS that phase can take some time and may require a bit of patience.&lt;br /&gt;
&lt;br /&gt;
OBS Light tries to load automatically the dependencies from the analysis of the .spec file in the RPM but that is not always possible. The user has the possibility to add manually extra file and/or packages to the filesystem.&lt;br /&gt;
&lt;br /&gt;
Packages can be imported either from a project already present in OBS Light or from any URL.&lt;br /&gt;
&lt;br /&gt;
=== Importing the code in the project filesystem ===&lt;br /&gt;
Once that the filesystem is created, the source from the package can be imported in the filesystem. During that process, OBS Light will load the extra package needed to build that specific imported source and will create a special git tree which will monitor any changes done by the user.&lt;br /&gt;
&lt;br /&gt;
The user can directly open a window on the filesystem from OBS Light. The console program used by default can be defined in the OBS Light configuration file.&lt;br /&gt;
From there direct modification of the code in the filesystem is possible and local build can be run as often as desired.&lt;br /&gt;
&lt;br /&gt;
=== Committing changes ===&lt;br /&gt;
When the user is happy of his change, he can request the change from the filesystem to be committed directly in the package.&lt;br /&gt;
&lt;br /&gt;
A patch will be created and added to the package and configured in the .spec file by OBS Light.&lt;br /&gt;
&lt;br /&gt;
=== Saving changes on the OBS server ===&lt;br /&gt;
Once that changes on a given project (which can work on one or multiple packages) achieve a stage which is worth to push on the OBS server. The user can simply request to save the project and OBS Light will commit the changes automatically.&lt;br /&gt;
&lt;br /&gt;
== Example: patching MeeGo 1.2 ''kernel'' package ==&lt;br /&gt;
&lt;br /&gt;
=== Step1: inform ''obslight'' about your OBS account ===&lt;br /&gt;
 ## synthax: obslight server add server_alias &amp;lt;server_alias&amp;gt; login &amp;lt;login&amp;gt; password &amp;lt;password&amp;gt; api_url &amp;lt;api_url&amp;gt; repository_url &amp;lt;repository_url&amp;gt; web_url &amp;lt;web_url&amp;gt;&lt;br /&gt;
;''server_alias''&lt;br /&gt;
: is the alias you want to use to refer to this server.&lt;br /&gt;
;''api_url''&lt;br /&gt;
: is the URL to the OBS control API. If you are using [http://susestudio.com/a/e0uuBG/meego-obs OBS appliance], it's probably on port 81.&lt;br /&gt;
;''repository_url''&lt;br /&gt;
: is the URL to the OBS package repositories. If you are using [http://susestudio.com/a/e0uuBG/meego-obs OBS appliance], it's probably on port 82.&lt;br /&gt;
;''web_url''&lt;br /&gt;
: is the URL to the OBS web interface.&lt;br /&gt;
&lt;br /&gt;
=== Step2: create a local project related to your OBS project ===&lt;br /&gt;
* The project is created in '''~/OBSLight/ObsProjects/MeeGo_1.2_oss/'''&lt;br /&gt;
 ## synthax: obslight obsproject add &amp;lt;project_alias&amp;gt; &amp;lt;name_on_obs&amp;gt; &amp;lt;target&amp;gt; &amp;lt;arch&amp;gt; &amp;lt;server_alias&amp;gt;&lt;br /&gt;
 obslight obsproject add MeeGo_1.2_oss MeeGo:1.2:oss standard i586 &amp;lt;server_alias&amp;gt;&lt;br /&gt;
;''project_alias''&lt;br /&gt;
: is the name you will use to refer to this project with the ''obslight'' command (e.g. ''MeeGo_1.2_oss'').&lt;br /&gt;
;''name_on_obs''&lt;br /&gt;
: is the name of the project on the OBS (e.g. ''MeeGo:1.2:oss'').&lt;br /&gt;
;''target''&lt;br /&gt;
: is the target against which we will build (''standard'' is the common name when there is only one).&lt;br /&gt;
;''arch''&lt;br /&gt;
: is the target architecture of the project.&lt;br /&gt;
;''server_alias''&lt;br /&gt;
: is the alias of the OBS server from which we get the project (which has been configured in first step).&lt;br /&gt;
&lt;br /&gt;
=== Step3: add the kernel package to your local project ===&lt;br /&gt;
* The package is created in '''~/OBSLight/ObsProjects/MeeGo_1.2_oss/MeeGo:1.2:oss/kernel/'''&lt;br /&gt;
* In this directory, the package is manageable by osc.&lt;br /&gt;
 ## synthax: obslight package add package &amp;lt;package&amp;gt; project_alias &amp;lt;project_alias&amp;gt;&lt;br /&gt;
 obslight package add package kernel project_alias MeeGo_1.2_oss&lt;br /&gt;
;''package''&lt;br /&gt;
: is the name of the package you want to work on (e.g. '''kernel''').&lt;br /&gt;
;''project_alias''&lt;br /&gt;
: is the name of the project you created in step2.&lt;br /&gt;
&lt;br /&gt;
=== Step4: create the filesystem of the project ===&lt;br /&gt;
* The filesystem root directory is '''~/OBSLight/ObsProjects/MeeGo_1.2_oss/aChroot/'''.&lt;br /&gt;
* zypper is included in the filesystem and your OBS project's repository is automatically added.&lt;br /&gt;
 ## synthax: obslight filesystem create &amp;lt;project_alias&amp;gt;&lt;br /&gt;
 obslight filesystem create MeeGo_1.2_oss&lt;br /&gt;
&lt;br /&gt;
=== Step5: add the source of the kernel package into your filesystem ===&lt;br /&gt;
* The source package is extracted in directory '''/root/rpmbuild/BUILD/kernel-X.X.X/linux-X.X.X'''.&lt;br /&gt;
* After the installation, a git repository is initialized in package's directory.&lt;br /&gt;
 ## synthax: obslight rpmbuild prepare package &amp;lt;package&amp;gt; project_alias &amp;lt;project_alias&amp;gt;&lt;br /&gt;
 obslight rpmbuild prepare package kernel project_alias MeeGo_1.2_oss&lt;br /&gt;
&lt;br /&gt;
=== Step6: work as you want into your filesystem ===&lt;br /&gt;
* The directory '''~/OBSLight/ObsProjects/MeeGo_1.2_oss/chrootTransfert/''' is mounted into the chroot jail in '''/chrootTransfert/'''.&lt;br /&gt;
* Every script executed in ''aChroot'', is stored in '''/chrootTransfert/''' as '''runMe_YYYY-MM-DD_HHhMMmSS.sh'''.&lt;br /&gt;
 ## synthax: obslight filesystem enter package &amp;lt;package&amp;gt; project_alias &amp;lt;project_alias&amp;gt;&lt;br /&gt;
 obslight filesystem enter package kernel project_alias MeeGo_1.2_oss&lt;br /&gt;
&lt;br /&gt;
Now you are logged in the chroot jail.&lt;br /&gt;
In this example we just modify the kernel configuration.&lt;br /&gt;
 $ cp configs/kernel-x86.config .config&lt;br /&gt;
 $ make menuconfig&lt;br /&gt;
&lt;br /&gt;
=== Step7: save your modifications ===&lt;br /&gt;
There are two methods.&lt;br /&gt;
&lt;br /&gt;
==== Method1: by making a patch ====&lt;br /&gt;
 $ cp .config config-x86&lt;br /&gt;
 $ exit&lt;br /&gt;
&lt;br /&gt;
 ## synthax: obslight rpmbuild createpatch &amp;lt;patch&amp;gt; package &amp;lt;package&amp;gt; project_alias &amp;lt;project_alias&amp;gt;&lt;br /&gt;
 obslight rpmbuild createpatch myKernelPatch.patch package kernel project_alias MeeGo_1.2_oss&lt;br /&gt;
&lt;br /&gt;
* The patch is automatically added to the local spec file.&lt;br /&gt;
* '''myKernelPatch.patch''' is automatically added to the local package directory.&lt;br /&gt;
* ''kernel package specific:'' you must move the patch application command '''%patchXXX -p1''' after the command line '''cp $RPM_SOURCE_DIR/config-* .''' in the local spec file&lt;br /&gt;
 vi ~/OBSLight/MeeGo_1.2_oss/MeeGo:1.2:oss/kernel/kernel.spec&lt;br /&gt;
&lt;br /&gt;
==== Method2: by copying the new configuration file in OSC directory ====&lt;br /&gt;
 $ cp .config /chrootTransfert/config-x86&lt;br /&gt;
 $ exit&lt;br /&gt;
 cp ~/OBSLight/ObsProjects/MeeGo_1.2_oss/chrootTransfert/config-x86 ~/OBSLight/ObsProjects/MeeGo_1.2_oss/MeeGo:1.2:oss/kernel/&lt;br /&gt;
&lt;br /&gt;
=== Step8: Upstream your modifications to the OBS server ===&lt;br /&gt;
* The command ''package commit'' checks the additions and deletions of files, before committing the package to the OBS server.&lt;br /&gt;
 ## synthax: obslight package commit &amp;lt;message&amp;gt; package &amp;lt;package&amp;gt; project_alias &amp;lt;project_alias&amp;gt;&lt;br /&gt;
 obslight package commit &amp;quot;Patch kernel&amp;quot; package kernel project_alias MeeGo_1.2_oss&lt;br /&gt;
&lt;br /&gt;
= Command-line =&lt;br /&gt;
&lt;br /&gt;
The help is integrated in the tool. ''obslight help'' will give you an online help.&lt;br /&gt;
&lt;br /&gt;
To get more detail on a specific command you can type ''obslight &amp;lt;command&amp;gt; help''.&lt;br /&gt;
&lt;br /&gt;
 $ obslight help &lt;br /&gt;
 OBSlight:&lt;br /&gt;
    Provides a tool to manage an OBS project on your local machine in command line&lt;br /&gt;
    For informations, see the Help section&lt;br /&gt;
        obslight --Help&lt;br /&gt;
    The gui for OBSlight is obslightgui&lt;br /&gt;
    A FAQ is available at:&lt;br /&gt;
        *http://wiki.meego.com/OBS_Light_FAQ&lt;br /&gt;
    For additional informations, see:&lt;br /&gt;
        *http://wiki.meego.com/OBS_Light&lt;br /&gt;
 Usage: OBSlight [global command] &amp;lt;command&amp;gt; [--command-options]&lt;br /&gt;
 &lt;br /&gt;
 Type OBSlight &amp;lt;command&amp;gt; --Help to get Help on a specific command.&lt;br /&gt;
 Commands:&lt;br /&gt;
 &lt;br /&gt;
    server:                   Manage the OBS server&lt;br /&gt;
    obsproject:               Manage the OBSlight project&lt;br /&gt;
    package:                  Manage the packages of OBSlight project&lt;br /&gt;
    projectfilesystem (projectfs,filesystem,pfs) :&lt;br /&gt;
                              Manage the project filesystem of OBSlight project&lt;br /&gt;
    rpmbuild (rb) :           Manage the rpmbuild of the package into the project filesystem&lt;br /&gt;
    man:                      print the man help document&lt;br /&gt;
 &lt;br /&gt;
 global Options:&lt;br /&gt;
 &lt;br /&gt;
    quiet (-quiet,--quiet) :  run obslight in quiet mode&lt;br /&gt;
    debug (-debug,--debug) :  run obslight in debugger mode&lt;br /&gt;
    version (--version) :     show program's version number and exit&lt;br /&gt;
    help (-h,-help,--help) :  show this help message and exit&lt;br /&gt;
    noaction:                 Execute command but do nothing&lt;br /&gt;
&lt;br /&gt;
= Graphical interface =&lt;br /&gt;
The GUI is launched via the command ''obslightgui''.&lt;br /&gt;
Only the parameter ''--version'' is supported.&lt;br /&gt;
&lt;br /&gt;
It has two main tabs: one for OBS projects, one for MIC projects&lt;br /&gt;
&lt;br /&gt;
The buttons in each section apply to the relative section. They display a tool-tip when the mouse is positioned on them.&lt;br /&gt;
Button are grayed when there are not active or not yet implemented.&lt;br /&gt;
&lt;br /&gt;
== OBS projects tab ==&lt;br /&gt;
[[File: Obslightgui_01.png|600px|OBS Light GUI main window]]&lt;br /&gt;
&lt;br /&gt;
This tab allows you to manage an OBS project, its packages (and their files) and its filesystem.&lt;br /&gt;
&lt;br /&gt;
It has 3 main areas:&lt;br /&gt;
* OBS project&lt;br /&gt;
* Packages&lt;br /&gt;
* local files and project filesystem (on a tab)&lt;br /&gt;
&lt;br /&gt;
=== The project panel ===&lt;br /&gt;
The panel on the left displays the list of OBS projects locally configured, and information about the selected project.&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;5&amp;quot;&lt;br /&gt;
|&lt;br /&gt;
;New&lt;br /&gt;
: Create a new project. Currently you cannot create a new project from scratch using OBS Light, only import one.&lt;br /&gt;
;Import&lt;br /&gt;
: Import a project from an OBS server.&lt;br /&gt;
;Delete&lt;br /&gt;
: Delete the selected project. The project will be removed locally but will remain on the OBS server.&lt;br /&gt;
;Modify&lt;br /&gt;
: Modify the selected project configuration.&lt;br /&gt;
|&lt;br /&gt;
;Save&lt;br /&gt;
: Save the selected project to a file.&lt;br /&gt;
;Load&lt;br /&gt;
: Load a project from a file.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== The package panel ===&lt;br /&gt;
The panel on the middle displays the list of packages of the selected project, and information about the selected package.&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;5&amp;quot;&lt;br /&gt;
|&lt;br /&gt;
;New&lt;br /&gt;
: Create a new package. Currently you cannot create a new package from scratch using OBS Light, only import one.&lt;br /&gt;
;Import&lt;br /&gt;
: Import a package from an OBS project.&lt;br /&gt;
;Delete&lt;br /&gt;
: Delete the selected package(s). The packages will be removed locally but will remain on the OBS server.&lt;br /&gt;
;Modify&lt;br /&gt;
: Modify the package title and description. Currently not available.&lt;br /&gt;
|&lt;br /&gt;
;Update files&lt;br /&gt;
: Checkout/update files from the OBS (''osc update'' equivalent).&lt;br /&gt;
;Commit changes&lt;br /&gt;
: Commit changes to the OBS (''osc commit'' equivalent).&lt;br /&gt;
;Repair OSC directory&lt;br /&gt;
: Repair the OSC working copy of a package.&lt;br /&gt;
|&lt;br /&gt;
;Refresh status&lt;br /&gt;
: Refresh OBS and Local statuses.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== The file panel ===&lt;br /&gt;
The file panel has two tabs: '''Local directory''' and '''Project filesystem'''.&lt;br /&gt;
&lt;br /&gt;
==== The local directory tab ====&lt;br /&gt;
This tab shows the list of files contained in the selected package.&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;5&amp;quot;&lt;br /&gt;
|colspan=&amp;quot;2&amp;quot;|&lt;br /&gt;
;Open terminal&lt;br /&gt;
: Open a terminal in the package directory&lt;br /&gt;
;Package path&lt;br /&gt;
: Location of the package's OSC working copy&lt;br /&gt;
|-&lt;br /&gt;
| File-related buttons&lt;br /&gt;
| Patch-related buttons&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
;New&lt;br /&gt;
: Create a new empty file. Currently not available.&lt;br /&gt;
;Import&lt;br /&gt;
: Add a file from your local filesystem to the package.&lt;br /&gt;
;Delete&lt;br /&gt;
: Delete the selected file from the package.&lt;br /&gt;
;Modify&lt;br /&gt;
: Launch an editor on the selected file.&lt;br /&gt;
|&lt;br /&gt;
;New&lt;br /&gt;
: Generate a patch from the changes made into the project filesystem, and add this patch to the package and in the yaml and/or spec files. This patch becomes the current patch of the package, until the next '%prep'.&lt;br /&gt;
;Import&lt;br /&gt;
: Import an external patch. Currently not available.&lt;br /&gt;
;Delete&lt;br /&gt;
: Delete a patch. Currently not available.&lt;br /&gt;
;Update&lt;br /&gt;
: Update the current patch with new modifications.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== The project filesystem tab ====&lt;br /&gt;
This tab shows the complete file tree of selected project's filesystem.&lt;br /&gt;
If a package is selected and it has previously been imported into the filesystem, its path is expanded by default.&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;5&amp;quot;&lt;br /&gt;
|colspan=&amp;quot;3&amp;quot;|&lt;br /&gt;
;Open terminal&lt;br /&gt;
: Open a terminal in the filesystem, using '''chroot''', in the source directory of the current package if it is installed.&lt;br /&gt;
;Chroot path&lt;br /&gt;
: Location of the project filesystem.&lt;br /&gt;
|-&lt;br /&gt;
| Repository-related buttons&lt;br /&gt;
| Filesystem-related buttons&lt;br /&gt;
| Rpmbuild-related buttons&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
;New&lt;br /&gt;
: Make a package repository accessible from zypper inside the filesystem, by URL.&lt;br /&gt;
;Import&lt;br /&gt;
: Make the package repository of another OBS Light project accessible from zypper inside the filesystem.&lt;br /&gt;
;Delete&lt;br /&gt;
: Delete a repository from the filesystem.&lt;br /&gt;
;Modify&lt;br /&gt;
: Modify the URL or alias of a repository.&lt;br /&gt;
|&lt;br /&gt;
;New&lt;br /&gt;
: Create the filesystem of the project.&lt;br /&gt;
;Import&lt;br /&gt;
: Not yet implemented.&lt;br /&gt;
;Delete&lt;br /&gt;
: Delete the filesystem&lt;br /&gt;
;Modify&lt;br /&gt;
: Not yet implemented.&lt;br /&gt;
|&lt;br /&gt;
;%prep&lt;br /&gt;
: Install the sources of a package into the filesystem, execute the %prep section of the spec file and do the first build.&lt;br /&gt;
;%build&lt;br /&gt;
: Execute the %build section of the spec file of the selected package, in an alternative rpmbuild directory.&lt;br /&gt;
;%install&lt;br /&gt;
: Execute the %install section of the spec file of the selected package, in an alternative rpmbuild directory.&lt;br /&gt;
;%files&lt;br /&gt;
: Build the source and binary RPMs of the selected package, in an alternative rpmbuild directory.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== MIC projects tab ==&lt;br /&gt;
This tab allows you to manage a MIC (MeeGo Image Creator) project. You can change its architecture and image type, and edit its Kickstart file.&lt;br /&gt;
&lt;br /&gt;
=== Project options ===&lt;br /&gt;
[[File: Obslightgui_mic_01.png|600px|OBS Light GUI main window - MIC project - Project options]]&lt;br /&gt;
&lt;br /&gt;
Here you can:&lt;br /&gt;
* change the generated image type&lt;br /&gt;
* change the architecture of the project (only i686 has been tested)&lt;br /&gt;
* open the directory of the project&lt;br /&gt;
* import a Kickstart file (that will overwrite the current file)&lt;br /&gt;
* export the current Kickstart file&lt;br /&gt;
* launch the creation of the image&lt;br /&gt;
&lt;br /&gt;
=== Kickstart options ===&lt;br /&gt;
[[File: Obslightgui_mic_02.png|600px|OBS Light GUI main window - MIC project - Kickstart options]]&lt;br /&gt;
&lt;br /&gt;
Here you can add, delete or modify the different options of the project's Kickstart file. These options are documented [http://fedoraproject.org/wiki/Anaconda/Kickstart here].&lt;br /&gt;
&lt;br /&gt;
* To add an option press the ''add'' button, and enter the full option line in the bottom text field, then press ''save''.&lt;br /&gt;
* To modify an option, select it, modify the bottom text field and press ''save''.&lt;br /&gt;
* To delete an option, select it, press ''delete'', and then ''save''.&lt;br /&gt;
&lt;br /&gt;
Notice that some options may have aliases, which will appear on the same line in the option list.&lt;br /&gt;
The ''repo'' option will not be listed here, but in the [[OBS_Light_Manual#Repositories | Repositories]] tab.&lt;br /&gt;
&lt;br /&gt;
=== Repositories ===&lt;br /&gt;
[[File: Obslightgui_mic_03.png|600px|OBS Light GUI main window - MIC project - Kickstart repositories]]&lt;br /&gt;
&lt;br /&gt;
In this tab, you can add, delete, or modify Kickstart repositories.&lt;br /&gt;
&lt;br /&gt;
* To add a repository, there are two possibilities:&lt;br /&gt;
** The repository is from an OBS project you worked on with OBS Light: press ''Import from OBS project'' and select the project.&lt;br /&gt;
** The repository is from an external project: press ''Add by URL'', and you will be asked for an URL and a name.&lt;br /&gt;
* To delete a repository, select it and press ''Delete''.&lt;br /&gt;
* To edit a repository, double-click on the cell of the property you want to edit (or simple click if it is a checkbox).&lt;br /&gt;
The changes are automatically saved.&lt;br /&gt;
&lt;br /&gt;
=== Packages ===&lt;br /&gt;
[[File: Obslightgui_mic_04.png|600px|OBS Light GUI main window - MIC project - Kickstart packages]]&lt;br /&gt;
&lt;br /&gt;
Here you can edit the package list of the project's Kickstart file.&lt;br /&gt;
Notice that multiple ''%package'' sections of original Kickstart file have been merged into one.&lt;br /&gt;
&lt;br /&gt;
Each package has an ''Included'' parameter which tells if it should be included in the generated image. If ''Included'' is not checked, the package will be explicitly excluded in the Kickstart file (its name will be prefixed with '-').&lt;br /&gt;
&lt;br /&gt;
=== Package groups ===&lt;br /&gt;
Here you can edit the list of package groups of the project's Kickstart file.&lt;br /&gt;
At the moment, no verification is done on package groups.&lt;br /&gt;
&lt;br /&gt;
=== Scripts ===&lt;br /&gt;
[[File: Obslightgui_mic_06.png|600px|OBS Light GUI main window - MIC project - Kickstart scripts]]&lt;br /&gt;
&lt;br /&gt;
Here you can add, delete or modify Kickstart scripts.&lt;br /&gt;
&lt;br /&gt;
* To add a script, press ''Add'', write your script in the bottom text field, choose script options in the right panel, and press ''Save''.&lt;br /&gt;
* To delete a script, select it and press ''Delete''.&lt;br /&gt;
* To modify a script, select it, modify the script in the bottom text field or the script options in the right panel, and press ''Save''.&lt;br /&gt;
&lt;br /&gt;
=== Overlay files ===&lt;br /&gt;
[[File: Obslightgui_mic_07.png|600px|OBS Light GUI main window - MIC project - Overlay files]]&lt;br /&gt;
&lt;br /&gt;
Here you can add files that will be included in the project image.&lt;br /&gt;
* To add an overlay file, press ''Add'' and a file browser will appear. Browse to your file and validate. Then a text dialog will appear, enter the path were you want your file to be copied in the image. '''tar''' archives will be extracted at the location you selected, instead of simply being copied.&lt;br /&gt;
* To delete an overlay file, select it and press ''Delete''.&lt;br /&gt;
&lt;br /&gt;
Implementation details:&lt;br /&gt;
* source files are first copied in MIC project's directory&lt;br /&gt;
* each overlay file will appear as a ''%post --nochoot'' script in the Kickstart file (but will be hidden in the ''Scripts'' tab).&lt;br /&gt;
&lt;br /&gt;
= Troubleshooting =&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;tt&amp;gt;&amp;quot;Source package 'xxx' not found&amp;quot;&amp;lt;/tt&amp;gt; or &amp;lt;tt&amp;gt;&amp;quot;Problem: nothing provides X needed by Y&amp;quot;&amp;lt;/tt&amp;gt; ==&lt;br /&gt;
These message may appear in two situations:&lt;br /&gt;
* The package you are trying to build is missing a dependency. OBS Light is not capable of searching dependencies outside the project from which your package comes. You will need to configure an additional repository in the project filesystem, using command ''filesystem repositories add'' or [[OBS_Light_Manual#The_project_filesystem_tab | the repository-related buttons]] in the GUI.&lt;br /&gt;
* In an ARM project filesystem, zypper or libzypp are broken, they do not see '''noarch''' packages. This problem was reported with zypper 1.5.3 and libzypp 8.12.1. We suggest you to update your zypper version to 1.6+. For convenience, we pre-built zypper 1.6.15 and libzypp 9.10.2 to Meego 1.2.0.&lt;br /&gt;
&lt;br /&gt;
=== How to install zypper 1.6.15 from our repository in an ARM project filesystem ===&lt;br /&gt;
==== From commandline ====&lt;br /&gt;
First add our repository to your filesystem's zypper configuration file:&lt;br /&gt;
 obslight filesystem repositories add http://repo.pub.meego.com/Project:/OBS_Light:/Zypper/MeeGo_1.2_OSS/ &amp;quot;Zypper_1.6.15_backport&amp;quot; $ProjectName&lt;br /&gt;
&lt;br /&gt;
Then chroot in the filesystem and update '''zypper''':&lt;br /&gt;
 obslight filesystem enter $ProjectName&lt;br /&gt;
  $ zypper update zypper&lt;br /&gt;
  $ exit&lt;br /&gt;
==== From GUI ====&lt;br /&gt;
* ''Project filesystem'' tab, ''Repository''-&amp;gt;''New'', URL http://repo.pub.meego.com/Project:/OBS_Light:/Zypper/MeeGo_1.2_OSS/ and alias &amp;quot;Zypper_1.6.15_backport&amp;quot;&lt;br /&gt;
* Then ''Project filesystem''-&amp;gt;''Open terminal''&lt;br /&gt;
 # zypper update zypper&lt;br /&gt;
 # exit&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;tt&amp;gt;&amp;quot;error: Architecture is not included: armv8el&amp;quot;&amp;lt;/tt&amp;gt; ==&lt;br /&gt;
The '''build''' package of your project filesystem does not support armv8el builds. Consider using another version, like the 2011.03.29 of MeeGo's repositories.&lt;br /&gt;
&lt;br /&gt;
=== How to install '''build''' version 2011.03.29 in a MeeGo 1.2.0 project filesystem ===&lt;br /&gt;
First add the MeeGo building tools repository to your project filesystem's zypper configuration file:&lt;br /&gt;
 obslight filesystem repositories add http://download.meego.com/live/Tools:/Building/MeeGo_1.2.0/ &amp;quot;Tools:Building_MeeGo_1.2.0&amp;quot; $ProjectName&lt;br /&gt;
&lt;br /&gt;
Then chroot in the filesystem and update '''build''':&lt;br /&gt;
 obslight filesystem enter $ProjectName&lt;br /&gt;
   # zypper update build&lt;br /&gt;
   # exit&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;tt&amp;gt;&amp;quot;chroot: failed to run command `sh': No such file or directory&amp;quot;&amp;lt;/tt&amp;gt; ==&lt;br /&gt;
This appears when '''binfmt_misc''' is not or badly configured.&lt;br /&gt;
Launch qemu's binfmt configuration script (as root):&lt;br /&gt;
 qemu-binfmt-conf.sh&lt;br /&gt;
If you still get the same message, try this (as root):&lt;br /&gt;
 echo -1 &amp;gt; /proc/sys/fs/binfmt_misc/arm&lt;br /&gt;
 echo &amp;quot;:arm:M::\x7fELF\x01\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x28\x00:\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff\xff:`which qemu-arm`:&amp;quot; &amp;gt; /proc/sys/fs/binfmt_misc/register&lt;br /&gt;
&lt;br /&gt;
== gnomekeyring.IOError ==&lt;br /&gt;
This error appears on Ubuntu when running obslight from a console, without a graphical environment. At the moment, the only known solution is to run obslight only from a graphical environment (e.g. Gnome).&lt;/div&gt;</summary>
		<author><name>Fvennetier</name></author>	</entry>

	</feed>