Changes

Jump to navigation Jump to search
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:
  
31

edits

Navigation menu