Difference between revisions of "UbuntuChroot"

From WebOS Internals
Jump to navigation Jump to search
Line 1: Line 1:
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 ext3fs partition created with Meta-Doctor mounted at /media/ext3fs.  Note that the latest optware bootstrap package will also use this if it exists.  If you have not already done so you should setup the ext3fs partition to mount at bootup.  Instructions can be found on the [[Application:MetaDoctor#How_to_get_the_optional_ext3fs_partition_mounted_at_device_boot|Meta Doctor]] page.
 
You need a large-enough ext3fs partition created with Meta-Doctor mounted at /media/ext3fs.  Note that the latest optware bootstrap package will also use this if it exists.  If you have not already done so you should setup the ext3fs partition to mount at bootup.  Instructions can be found on the [[Application:MetaDoctor#How_to_get_the_optional_ext3fs_partition_mounted_at_device_boot|Meta Doctor]] page.
  
cd /media/ext3fs
+
Make sure you have the WebOS Internals Testing Feeds enabled.
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 -t devpts none /media/ext3fs/ubuntu/dev/pts
 
mount -t proc none /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, inside the Ubuntu chroot.
 
  
export DISPLAY=:0.0
+
Install Xecutah and Ubuntu 11.04 Chroot.
apt-get install x11-apps matchbox-window-manager matchbox-keyboard
 
apt-get install emacs-nox
 
  
matchbox-window-manager -use_titlebar no &
+
Hit the buttons on Xecutah.
matchbox-keyboard &
 
emacs &
 

Revision as of 05:34, 17 July 2011

You need a large-enough ext3fs partition created with Meta-Doctor mounted at /media/ext3fs. Note that the latest optware bootstrap package will also use this if it exists. If you have not already done so you should setup the ext3fs partition to mount at bootup. Instructions can be found on the Meta Doctor page.

Make sure you have the WebOS Internals Testing Feeds enabled.

Install Xecutah and Ubuntu 11.04 Chroot.

Hit the buttons on Xecutah.