Skip to content. Skip to navigation

Ian Lawrence

Sections
Personal tools
You are here: Home Blog Setting up an Ubuntu Mobile Development environment

Setting up an Ubuntu Mobile Development environment

By far the simplest way to get a development environment is to set up a chroot for Ubuntu Mobile to live in -- this then doesn't impact on your live system, and if you break the development environment, it can be recreated easily.


Ubuntu Mobile is built for the "lpia" platform.

$ sudo debootstrap --arch lpia hardy ${DIR} http://ports.ubuntu.com/ubuntu-ports
$ sudo mount --bind /tmp ${DIR}/tmp
$ sudo mount -t proc none ${DIR}/proc
$ sudo mount --bind /sys ${DIR}/sys
After those commands run, we have a base environment ready to use, so chroot into it to complete the setup.
$ sudo chroot ${DIR}
Edit the
/etc/apt/sources.list
file and enable the restricted and universe components.
# apt-get update
# apt-get install ubuntu-mobile ubuntu-mobile-dev

And for package-building

apt-get install wget debconf devscripts gnupg nano

_____
tags:
Wednesday, February 28, 2007 in Code  | Permalink |  Comments (0)
del.icio.us   Digg   Yahoo   Google   Spurl
Blog
« September 2017 »
Su Mo Tu We Th Fr Sa
1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
Categories:
Borala (4)
Bricolabs (12)
Code (57)
Estudiolivre (12)
Life (26)
MetaReciclagem (9)
Thoughts (16)
Work (41)