View Single Post
thp's Avatar
Posts: 1,391 | Thanked: 4,272 times | Joined on Sep 2007 @ Vienna, Austria
#127
Some steps I did to get the setup as depicted in the video:

- Mounting/setting up the chroot is via a python script (automatically detects if the chroot is already set up, will carry out the necessary actions to set it up - given the image file name - in case it's not done already)
- The launcher executes a session script inside the chroot which will take over the screen via a fullscreen Xephyr, place the icon on :0 (the icon will simply bring Xephyr to the front) and launch a windowmaker session inside Xephyr
- The windowmaker session has a special icon which will call another script that will switch back to the maemo desktop without shutting down the chroot session
- When the windowmaker session ends, the icon will be removed and xephyr closed

I'd post my scripts, but they are quite hack-ish at the moment. If one would take the time and clean them up and package them, you'd simply install one .deb for OS2008, place a disk image _anywhere_ (i.e. on mmc1 or mmc2 or usb, ...) and have the scripts manage everything. For the chroot, you either distribute the scripts I wrote inside the image (needs downloading of the image the first time) or simply provide a .deb for the Debian chroot that will be installed there.

Also, I'd like to do something like starting completely from scratch with debootstrap to create a debian chroot image "from scratch" without editing the Debian tarball that is used as a basis for this chroot environment (that's also what I currently use as a basis).

Last edited by thp; 2008-06-26 at 15:36.
 

The Following 3 Users Say Thank You to thp For This Useful Post: