Using the repodata folder that exists in Fedora's DVD, I created a repository that its packages are grouped.
I removed the line "part / --size=16384" from kickstart file.
I found that the F12-buildinstall script exits at this line
Code:
yumdownloader -c $yumconf anaconda || exit 1
I add some codes before the
Code:
if [ -z "$yumconf" ]; then
codes that I added
Code:
yumconf=$(mktemp ${TMPDIR:-/tmp}/yum.conf.XXXXXX)
cat > $yumconf <<EOF
[main]
cachedir=$CACHEDIR
keepcache=0
gpgcheck=0
plugins=0
reposdir=
tsflags=nodocs
[anacondarepo]
name=anaconda repo
baseurl=$REPO
enabled=1
EOF
These are just copy and paste of the codes within the if statement.
Then I ran the revisor and I chose the kernel package and syslinux and anaconda.
This time the no error was occurred and I had the CD at the end.
But I don't know what the problem really is.
---------- Post added at 03:22 PM CDT ---------- Previous post was at 08:22 AM CDT ----------
Finally I found the problem and the solution!
I change the anaconda section of revisor-f12-i386.conf to
Code:
[anaconda-updates]
name=Fedora Unity Anaconda Updates for Fedora 12
baseurl=file:///home/livecd/Packages
#baseurl=http://www.kanarip.com/anaconda/f12/i386/
enabled=1
Then I tried again and got the error again.
In F12-buildinstall script there exists some codes
Code:
repoquery -c $yumconf anaconda
and
Code:
yumdownloader -c $yumconf anaconda
where in my case the content of yumconf was "/etc/revisor/conf.d/revisor-f12-i386.conf".
The script tries to rum these commands but it failed because of the "update" repository was enabled and it tries to retrieve repmod.xml from it but it couldn't. Simply, I change the enable value of it to 0.
Code:
[updates]
name=Fedora 12 - i386 - Updates
baseurl=http://download.fedoraproject.org/pub/fedora/linux/updates/12/i386/
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f12&arch=i386
enabled=0
gpgcheck=0
Now I have no errors and I can make CDs easily. So, I need no changes in the script, unlike the way that I used before, and told in previous post.
Thanks