Development Team/Chroot: Difference between revisions

Mstone (talk | contribs)
No edit summary
mNo edit summary
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.


With debootstrap, 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
Line 15: Line 15:
   mount -t selinuxfs selinux $CHROOT/selinux
   mount -t selinuxfs selinux $CHROOT/selinux


in order to get a working chroot.


With mock, it would be more like
With mock, it would be more like:


   mock -r fedora-devel-i386 --init
   mock -r fedora-devel-i386 --init