Pbuilder or How to Compile XBMC on a chroot system.

Posted By: Team XBMC on Oct 01, 2008 in Site News

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 want to follow the documentation on this website : http://www.netfort.gr.jp/~dancer/software/pbuilder-doc/pbuilder-doc.html

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.

First you need to install pbuilder :

sudo apt-get install pbuilder

Edit the pbuilder configuration file (/etc/pbuilderrc). The file is documented. The most interesting vars are :


Copy the script in /usr/share/doc/pbuilder/examples/pbuilder-distribution.sh to /usr/local/bin/pbuilder-intrepid

sudo cp /usr/share/doc/pbuilder/examples/pbuilder-distribution.sh /usr/local/bin/pbuilder-intrepid

Then open the pbuilder script you just copied  :

sudo editor /usr/local/bin/pbuilder-intrepid

and set the following parameter to a path were you have enough space to host your chroot system :


Then create your system, pbuilder will download the packages and tar.gz them:

pbuilder-intrepid create

That’s all, pbuilder is set up.¬† To login in you chrooted system, use

pbuilder-intrepid login

To exit, use :


Discussion - 7 Comments

  • Dan Dar3 Apr 24, 2009 

    Thanks a lot guys, good work!

  • RabbitRunt Apr 25, 2009 

    Any chance that you could include S3 Graphics drivers for their new Chrome 500 Series?

    Another thing that would be cool is the new OpenGL 3D graphic driver for VirtualBox:

    VirtualBox 2.2.0 is first to support OpenGL 3D acceleration for Linux, and its free!
    See their UserManual.pdf section 4.8 (page 70) on hardware 3D acceleration (OpenGL).

  • LiveAndKicking Apr 25, 2009 

    Have you guys checked out this project to build a Live USB for Boxee and XBMC?

    He seem to have very good experience in this field too so he could maybe help?

    Universal Live CD with both Boxee and XBMC could be a collaboration project?
    On boot give the choice to test either Boxee or XBMC, or install either or?

    Thanks for all your great work on XBMC Live, it’s my XBMC version of choice!
    I’m both a Boxee and a XBMC user but frankly I much prefer XBMC over Boxee.

  • Maximilian Apr 27, 2009 

    Does this version include the very latest ALSA (Advanced Linux Sound Architecture)?

  • xyphur Apr 29, 2009 

    Same machine & USB key as I was running Atlantis on now claims after 3 attempts – completely wiping the key clean between each – that “This is not a bootable disk. Please insert a bootable floppy and press any key to try again…”

    Board is an Intel D845GBV, P4 2.53GHz, 1GB DDR, 7300GT 512MB AGP. PNY 4GB Attache.

    No idea why this is happening. Putting 8.10 back on the key boots & runs just fine. Forgive me if these kinds of posts should be elsewhere.

  • Mikekay Apr 29, 2009 

    Hopefully you’ve added dual monitor support??? for win32

    please please please

    installing nowww

    either way

    Good job guys!!

  • Pingback: live support script

About Kodi

Kodi is a free and open source media player application developed by the XBMC Foundation, a non-profit technology consortium. Kodi is available for multiple operating-systems and hardware platforms, featuring a 10-foot user interface for use with televisions and remote controls. It allows users to play and view most videos, music, podcasts, and other digital media files from local and network storage media and the internet.