Difference between revisions of "UbuntuChroot"

From WebOS Internals
Jump to navigation Jump to search
Line 29: Line 29:
 
  export DISPLAY=:0.0
 
  export DISPLAY=:0.0
 
  apt-get install x11-apps matchbox-window-manager matchbox-keyboard
 
  apt-get install x11-apps matchbox-window-manager matchbox-keyboard
  apt-get install emacs
+
  apt-get install emacs-nox
  
  matchbox-window-manager -use_titlebar yes &
+
  matchbox-window-manager -use_titlebar no &
 
  matchbox-keyboard &
 
  matchbox-keyboard &
xeyes &
 
 
  emacs &
 
  emacs &

Revision as of 08:15, 7 July 2011

You need a Ubuntu 11.04 host system.

sudo apt-get install rootstock
sudo rootstock --fqdn touchpad
novacom put file://media/ext3fs/armel-rootfs-201107071349.tgz < armel-rootfs-201107071349.tgz

You need a large-enough /media/ext3fs partition created with Meta-Doctor.

cd /media/ext3fs
mkdir ubuntu
cd ubuntu
tar zxvf ../armel-rootfs-201107071349.tgz
cp /etc/resolv.conf ./etc/resolv.conf
mount --bind /dev /media/ext3fs/ubuntu/dev
mount --bind /proc /media/ext3fs/ubuntu/proc
mount --bind /sys /media/ext3fs/ubuntu/sys
mount --bind /tmp /media/ext3fs/ubuntu/tmp
chroot /media/ext3fs/ubuntu

You need Xecutah from git, and xserver-package from WIDK x_restructure branch. Install both, run Xecutah, and start the X Server.

Back on the device.

export DISPLAY=:0.0
apt-get install x11-apps matchbox-window-manager matchbox-keyboard
apt-get install emacs-nox
matchbox-window-manager -use_titlebar no &
matchbox-keyboard &
emacs &