Ubuntu Environment

From OMAPpedia

(Difference between revisions)
Jump to: navigation, search
(Created page with '==Ubuntu Build Env Setup - Rootstock== [https://launchpad.net/project-rootstock Tool to build an ubuntu root filesystem for a target device from scratch] The RootStock project ai…')
m (Added category tag)
 
Line 37: Line 37:
  sudo ./rootstock --fqdn <hostname> --login <rootuser> --password <rootuserpasswd> --imagesize <qemu image size> \
  sudo ./rootstock --fqdn <hostname> --login <rootuser> --password <rootuserpasswd> --imagesize <qemu image size> \
  --seed <packages> --dist <jaunty/karmic> --serial <ttySx>  --kernel-image <http>
  --seed <packages> --dist <jaunty/karmic> --serial <ttySx>  --kernel-image <http>
 +
 +
 +
[[Category:Ubuntu]]

Latest revision as of 15:28, 25 May 2010

[edit] Ubuntu Build Env Setup - Rootstock

Tool to build an ubuntu root filesystem for a target device from scratch The RootStock project aims to create a commandline and graphical set of tools to create a fully configured tarball or VM image of an ubuntu rootfs from scratch so that you can extract it to a root device on e.g. armel systems. (this project was formerly known as build-arm-rootfs and could be found at https://wiki.ubuntu.com/ARM/RootfsFromScratch)

Requirements: Jaunty (9.04) and Debian:

sudo apt-get install qemu
wget http://ports.ubuntu.com/pool/main/d/debootstrap/debootstrap_1.0.20~jaunty1_all.deb
sudo dpkg -i debootstrap_1.0.20~jaunty1_all.deb
wget http://launchpad.net/project-rootstock/trunk/0.1/+download/rootstock-0.1.3.tar.gz
tar xf rootstock-0.1.3.tar.gz
cd rootstock-0.1.3

Karmic (9.10)

sudo apt-get install rootstock

Proxy Info:

If you are behind a corporate firewall, an extra configuration is needed since the http_proxy variable is not passed to qemu during the final stage of the image creation. There is a quick workaround for this problem: simply add this in the rootstock script when it generates the 'installer' script:

...
# write installer script to image
cat > $BUILDDIR/installer <<EOF
#!/bin/bash
set -e

export PATH
export LC_ALL=C

export http_proxy='http://<proxy address>.com:<port>'

${SECOND_STAGE}

...

Rootstock Command line:

sudo ./rootstock --fqdn <hostname> --login <rootuser> --password <rootuserpasswd> --imagesize <qemu image size> \
--seed <packages> --dist <jaunty/karmic> --serial <ttySx>  --kernel-image <http>
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox