Open main menu
Home
Random
Log in
Settings
About Sugar Labs
Disclaimers
Sugar Labs
Search
Changes
← Older edit
Newer edit →
Development Team/Chroot
(view source)
Revision as of 19:02, 15 January 2009
39 bytes added
,
19:02, 15 January 2009
debootstrap requires root
Line 5:
Line 5:
There are lots of ways to create appropriate chroots; e.g. by hand, with debootstrap, with mock, etc.
There are lots of ways to create appropriate chroots; e.g. by hand, with debootstrap, with mock, etc.
+
==== deboostrap ===
With debootstrap, in order to get a working chroot, you want something like:
With debootstrap, in order to get a working chroot, you want something like:
export CHROOT=`pwd`/sid-root
export CHROOT=`pwd`/sid-root
−
debootstrap --arch i386 sid $CHROOT http://debian.lcs.mit.edu/debian
+
sudo
debootstrap --arch i386 sid $CHROOT http://debian.lcs.mit.edu/debian
sudo chroot $CHROOT /bin/bash -l
sudo chroot $CHROOT /bin/bash -l
# and some of the following:
# and some of the following:
Line 15:
Line 16:
mount -t selinuxfs selinux $CHROOT/selinux
mount -t selinuxfs selinux $CHROOT/selinux
−
+
==== mock ====
With mock, it would be more like:
With mock, it would be more like:
Joel
31
edits