Difference between revisions of "Development Team/Chroot"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
=== Status === | === Status === | ||
− | * | + | * sugar-chroot-0.1 released: see [http://dev.laptop.org/git/users/mstone/sugar-chroot sugar-chroot] |
− | |||
− | |||
− | === | + | === Purpose === |
− | + | You want to test sugar, sugar patches, sugar packages, or sugar hacks. You want clean, reproducible environments. You want sugar-chroot. | |
− | + | === Usage === | |
− | + | As excerpted from the '''[http://dev.laptop.org/git/users/mstone/sugar-chroot/plain/README README]''': | |
− | |||
− | + | sugar-chroot consists of simple scripts. Download and unpack them like so: | |
− | |||
− | |||
− | |||
− | |||
− | = | + | NV=sugar-chroot-0.1 |
− | + | curl http://dev.laptop.org/~mstone/releases/SOURCES/$NV.tar.xz | tar Zxf $NV.tar.xz | |
+ | cd $NV | ||
− | + | To use them, pick a supported distro: | |
− | |||
− | + | DISTRO=debian | |
− | + | DISTRO=fedora | |
− | |||
− | |||
− | |||
− | + | To configure: | |
− | |||
− | + | echo $DISTRO > conf/distro | |
+ | $EDITOR conf/$DISTRO.mk | ||
− | + | Then run | |
− | + | sudo make r/distro | |
− | |||
− | |||
− | sudo | ||
− | + | to install your chroot. | |
− | + | === History === | |
− | + | See http://wiki.sugarlabs.org/index.php?title=Development_Team/Chroot&oldid=36911 for the manual instructions which sugar-chroot automates. | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | = | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |
Revision as of 14:01, 23 January 2010
Status
- sugar-chroot-0.1 released: see sugar-chroot
Purpose
You want to test sugar, sugar patches, sugar packages, or sugar hacks. You want clean, reproducible environments. You want sugar-chroot.
Usage
As excerpted from the README:
sugar-chroot consists of simple scripts. Download and unpack them like so:
NV=sugar-chroot-0.1 curl http://dev.laptop.org/~mstone/releases/SOURCES/$NV.tar.xz | tar Zxf $NV.tar.xz cd $NV
To use them, pick a supported distro:
DISTRO=debian DISTRO=fedora
To configure:
echo $DISTRO > conf/distro $EDITOR conf/$DISTRO.mk
Then run
sudo make r/distro
to install your chroot.
History
See http://wiki.sugarlabs.org/index.php?title=Development_Team/Chroot&oldid=36911 for the manual instructions which sugar-chroot automates.