Jeroen van Meeuwen (kanarip) wrote,
Jeroen van Meeuwen
kanarip

Using Fedora 9+ to compose EL5

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!
Subscribe

  • (no subject)

    Let's see if this ping.fm works as I anticipate

  • ufraw plugin for the GIMP

    It seems that to convert Nikon Raw TIFF camera images (.nef anyone?) to anything other then that is to be done by a utility called ufraw, with help…

  • Dear lazyweb

    Dear lazyweb, I configure a Fedora machine so that; 1) PackageKit is the WYSIWYG GUI click-and-go (this is my girlfriends laptop after all) 2)…

  • Post a new comment

    Error

    default userpic
    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.
  • 0 comments