I'm on FC13, i want to use revisor to build installtree, but get Errror below:
Building Installation Images: 0.0% Got an error from /usr/lib/revisor/scripts/F12-buildinstall (return code 1)
And why the config files of revisor on FC13 are all f12*.
My steps :
1. download all RPMS from http://mirrors.sohu.com/fedora/releases/13/Fedora/i386/os/Packages/
2. create comps.xml :
export CVSROOT=:pserver:anonymous@cvs.fedoraproject.org:/cvs/pkgs
cvs co comps
make comps-f13.xml
3. createrepo :
createrepo -g comps-f13.xml RPMS/
4. shell:
#!/bin/bash
yum clean all
WORK_DIR=/home/eric/job/working/DT/FC13/revisor
CFG_FILE=/etc/revisor/conf.d/test.ks
revisor --cli --yes --model=test-fc13 --kickstart=$CFG_FILE --install-tree --working-directory=$WORK_DIR/work --destination-directory=$WORK_DIR/dest
==================
/etc/revisor/revisor.conf
==================
....
[test-fc13]
description = Fedora 12 for i386
main = /etc/revisor/conf.d/revisor-test-fc13.conf
product_name = Fedora
product_path = Packages
iso_basename = Fedora
architecture = i386
version = 12
version_from = F12
getsource = 0
==============================
/etc/revisor/conf.d/revisor-test-fc13.conf
==============================
[main]
cachedir=-yumcache
reposdir=
keepcache=1
debuglevel=1
logfile=-yum.log
pkgpolicy=newest
distroverpkg=redhat-release
tolerant=1
exactarch=1
obsoletes=1
gpgcheck=0
plugins=0
metadata_expire=1800
installroot=/var/tmp/revisor
failovermethod=priority
[development]
name=Fedora - Development
baseurl=file:///home/eric/job/working/DT/FC13/RPMS/
enabled=1
[development-debuginfo]
name=Fedora - Development - Debug
baseurl=http://download.fedoraproject.org/pub/fedora/linux/development/i386/debug/
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=rawhide-debug&arch=i386
enabled=0
[development-source]
name=Fedora - Development - Source
baseurl=http://download.fedoraproject.org/pub/fedora/linux/development/source/SRPMS/
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=rawhide-source&arch=i386
enabled=0
===============
/etc/revisor/conf.d/test.ks
===============
test.ks is copy from /etc/revisor/conf.d/fedora-12-gold.cfg