We will use <tt>febootstrap</tt> to construct our Fedora chroot. Install it with:
+
yum install febootstrap # or
+
apt-get install febootstrap
−
With mock, it would be more like:
+
: ''(Note for Debian users -- Fedora 11 and up require versions of <tt>rpm</tt> built with fancy features. I have successfully run these instructions with rpm_4.7.1-4_i386, which, at the time, I built from sources in Debian Experimental.)''
−
mock -r fedora-devel-i386 --init
+
Then run it like so:
−
mock -r fedora-devel-i386 --install yum
−
mock -r fedora-devel-i386 --shell
−
This is what you should see after you
+
sudo febootstrap fedora-11 ./f11 -- sugar-0.84
−
ls
+
sudo febootstrap fedora-12 ./f12 -- sugar-0.85.5, at the time of writing