Complete Guide to Building elementary OS 0.2 Luna (now with Oneiric)


THIS GUIDE IS OBSOLETE, EBUILD IS NOT BEING USED ANYMOAR. YOU CAN STILL BUILD IOSS, BUT NO GUARANTEE THEY WILL WORK. ALL-CAPS-RAGE FTW.

 

I have been meaning to write a good guide about building and getting your own cutting edge iso of the next generation of elementary goodness. Now finally i sat down to do it, and here you go:

update#1- now the builds are based on oneiric 11.10 daily-live

Some “elementary” directions before you jump in

  • I have tested the building process on (32bit) 10.10 and 11.04 of Ubuntu
  • The builds are pre-pre-alpha so don’t expect any stability
  • I will update this post if any changes occur.

Alright lets go:

  1. Install ubuntu customization kit. I recommend adding their ppa so that you have the latest stable version of it: sudo add-apt-repository ppa:uck-team/uck-stable && sudo apt-get update | sudo apt-get install uck
  2. Install bazaar with sudo apt-get install bzr
  3. Get the eBuild tool created by elementary team from their bzr repo with bzr branch lp:elementaryos
  4. the fetched codes will be saved in your home folder. It will be in a folder named elementaryos (/home/username/elementaryos)
  5. Get ubuntu 11.10 Oneirice 32bit daily iso from http://cdimage.ubuntu.com/daily-live/current/ If you have an older daily ISO you can update it using zsync. See here
  6. Put the oneiric-desktop-i386.iso inside the elementaryos folder in your home directory.
  7. Fire up a terminal window. Install this for build notifications sudo apt-get install libnotify-bin
  8. From the terminal, navigate into the elementayos directory cd elementaryos or cd /home/username/elementaryos
  9. Make the eBuild build.sh script executable with this command chmod +x build.sh
  10. Are your prepared? Alright then, enter sudo ./build.sh
  11. The building process will start, you should see a fancy notification.
  12. When the building is complete. you will be notified and your elementaryos0.2 build .iso will be saved at the builds folder inside the elementayos directory.
  13. Now you should clean up your build directory. Move the built iso to another folder, then open up a terminal and execute sudo rm -rf elementaryos This will completely erase all trace of the build directory, next time you want to do a build follow the directions from #1.
The eBuild code is RAPIDLY changing, so its important that you clean your build directory before a new build and get the cutting edge code from elementaryos bzr branch.
If you need a latest daily build of eOS you can always go to launchpad.net/eosbuilds
Help out elementary distro tem by submitting bugs @ bugs.launchpad.net/elementaryos

5 thoughts on “Complete Guide to Building elementary OS 0.2 Luna (now with Oneiric)

  1. Hello,
    i follow your tutorial building luna.
    just wanna ask, at the end of the all process it said that, “You will find your new eOS build at /home/adib/elementaryos/builds/elementary-0.2-20110625.iso”
    but at first. I don’t actually find “elementary-0.2…” instead the earlier os that is 11.04, does it will be that way?

  2. Cool guide, thanks!
    One correcton, though: there’s no need to remove elementaryos folder in the end, ebuild automatically cleans up everything that’s not neede in the end and preserves useful parts like apt cache so you don’t have to re-download all packages during the next build.
    Oh, and eBuild is obsolete and abandoned atm (I’m sick and tired of fixing it), we’re currently migrating to a brave new ISO building system. If everything goes well, we might even set up official daily builds.

  3. Pingback: Elementary os build script » Notes

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s