Development Team/Chroot

From Sugar Labs
< Development Team
Revision as of 18:45, 31 December 2008 by Mstone (talk | contribs) (New page: Sugar ought to be easy to run from chroots. For a variety of silly reasons, this isn't yet the case, but it might be soon. Ping Michael with questions. === X11 === Most X...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Sugar ought to be easy to run from chroots. For a variety of silly reasons, this isn't yet the case, but it might be soon. Ping Michael with questions.

X11

Most X11 servers are configured to disable TCP connections. This means that in order to get a working X connection we can:

a) bind-mount the X unix socket into the chroot. b) ssh into the chroot with X11-forwarding enabled. c) enable TCP on an X server, e.g. a nested Xephyr.

We're going to try option (3) first.

Chroot Construction

There are lots of ways to create appropriate chroots; e.g. by hand, with debootstrap, with mock, etc.