Previous Entry Add to Memories Share Next Entry
Using Fedora 9+ to compose EL5
kanarip
Using a Fedora 9 or 10 station to compose Enterprise Linux 5 media will result in a version mismatch between squashfs on the composing system, and the squashfs utils and modules on the composed media.

Every now and then, people ask me questions about that. Often, my suggestion is to compose EL5 on an EL5 system using the Revisor package from EPEL. However, you can also run Revisor inside mock, and here's what I do for development and bugfixing:

# yum install mock
$ mock -r epel-5-i386 init
$ mock -r epel-5-i386 install comps-extras createrepo rhpl pykickstart \
                      livecd-tools anaconda-runtime squashfs-tools \
                      busybox-anaconda notify-python usermode \
                      pam python automake intltool gettext \
                      desktop-file-utils glib2-devel gcc \
                      cobbler koan deltarpm pygtk pygtk2-libglade \
                      gnome-python2-gconf system-config-kickstart jigdo \
                      livecd-tools python-virtinst git

$ mock -r epel-5-i386 shell

mock-chroot> git clone git://git.fedorahosted.org/revisor
mock-chroot> cd revisor
mock-chroot> git checkout --track -b EL-5 origin/EL-5
mock-chroot> autoreconf && ./configure
mock-chroot> make install
mock-chroot> revisor --cli [options]


The product, once done, would be in /var/lib/mock/epel-5-i386/root/srv/revisor/

Hope this helps!

You are viewing kanarip