<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>XBMC &#187; wattazoum</title>
	<atom:link href="http://xbmc.org/author/wattazoum/feed/" rel="self" type="application/rss+xml" />
	<link>http://xbmc.org</link>
	<description></description>
	<lastBuildDate>Thu, 03 May 2012 02:35:30 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Pbuilder or How to Compile XBMC on a chroot system.</title>
		<link>http://xbmc.org/wattazoum/2008/10/01/pbuilder-or-how-to-compile-xbmc-on-a-chroot-system/</link>
		<comments>http://xbmc.org/wattazoum/2008/10/01/pbuilder-or-how-to-compile-xbmc-on-a-chroot-system/#comments</comments>
		<pubDate>Wed, 01 Oct 2008 13:52:14 +0000</pubDate>
		<dc:creator>wattazoum</dc:creator>
				<category><![CDATA[Frontpage]]></category>

		<guid isPermaLink="false">http://xbmc.org/wattazoum/?p=3</guid>
		<description><![CDATA[As a XBMC developer and as XBMC is now supported on multiple Ubuntu version (feisty, gutsy, hardy and Intrepid), you might sometimes want to compile on another system than the one you are running on. This article is to help you doing that without reinstalling your whole system.

For this you will use Pbuilder. You might [...]]]></description>
			<content:encoded><![CDATA[<p>As a XBMC developer and as XBMC is now supported on multiple Ubuntu version (feisty, gutsy, hardy and Intrepid), you might sometimes want to compile on another system than the one you are running on. This article is to help you doing that without reinstalling your whole system.<br />
<span id="more-1315"></span><br />
For this you will use Pbuilder. You might want to follow the documentation on this website : <a href="http://www.netfort.gr.jp/~dancer/software/pbuilder-doc/pbuilder-doc.html" target="_blank">http://www.netfort.gr.jp/~dancer/software/pbuilder-doc/pbuilder-doc.html</a></p>
<p>Here I will not explain everything, I will tell you the command to use and the files to modify to be fast. All the steps described here are on an Ubuntu Hardy system.</p>
<p>First you need to install <strong>pbuilder</strong> :</p>
<p><span style="color: #0000ff"><code>sudo apt-get install pbuilder</code></span></p>
<p>Edit the pbuilder configuration file (<strong>/etc/pbuilderrc</strong>). The file is documented. The most interesting vars are :</p>
<pre>BASETGZ
BUILDRESULT
BUILDPLACE
MIRRORSITE
COMPONENTS
APTCACHE</pre>
<p>Copy the script in <strong>/usr/share/doc/pbuilder/examples/pbuilder-distribution.sh</strong> to <strong>/usr/local/bin/pbuilder-intrepid</strong><br />
<code><br />
<span style="color: #3366ff">sudo cp /usr/share/doc/pbuilder/examples/pbuilder-distribution.sh /usr/local/bin/pbuilder-intrepid</span></code></p>
<p>Then open the pbuilder script you just copied  :</p>
<p><span style="color: #3366ff"><code>sudo editor /usr/local/bin/pbuilder-intrepid</code></span></p>
<p>and set the following parameter to a path were you have enough space to host your chroot system :<br />
<code><br />
<span style="color: #3366ff">BASE_DIR="/my/directory/pbuilder"</span></code></p>
<p>Then create your system, pbuilder will download the packages and tar.gz them:</p>
<p><span style="color: #3366ff"><code>pbuilder-intrepid create<br />
</code></span></p>
<p>That&#8217;s all, pbuilder is set up.  To login in you chrooted system, use</p>
<p><span style="color: #3366ff"><code>pbuilder-intrepid login</code></span></p>
<p>To exit, use :</p>
<p><span style="color: #3366ff"><code>exit</code></span></p>
]]></content:encoded>
			<wfw:commentRss>http://xbmc.org/wattazoum/2008/10/01/pbuilder-or-how-to-compile-xbmc-on-a-chroot-system/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

