Development Team/Chroot: Difference between revisions

Mstone (talk | contribs)
Line 44: Line 44:
==== Fedora rawhide chroot ====
==== Fedora rawhide chroot ====


yum install febootstrap mock
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
 
rawhide]# ls
bin  dev home  media  opt  root  selinux  sys  usr
boot  etc  lib  mnt    proc  sbin  srv      tmp  var
 
This is said to work
  sudo mock --init -r fedora-devel-x86_64 --uniqueext=sugar
 
Afterwords this should do the job
yum install sugar


==== Gentoo chroot ====
==== Gentoo chroot ====