[Fedora-spins] using livecd-creator

Kamil Paral kparal at redhat.com
Tue Oct 12 09:30:13 UTC 2010


Hi,

fedora-live-base.ks now defines:

repo --name=fedora --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-$releasever&arch=$basearch
repo --name=updates --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f$releasever&arch=$basearch

The problem is that when I run livecd-creator on fedora-livecd-desktop.ks,
I get an error:

Error creating Live CD : Unable to download from repo : Cannot retrieve 
repository metadata (repomd.xml) for repository: fedora. Please verify 
its path and try again

Because (as I have observed) it substitutes $basearch with current arch,
but does not substitute $releasever for anything and therefore that
URL is inaccessible.

I have solved it by creating a custom kickstart file that overrides fedora
and updates repositories.

My question is - can it be done simpler? Can I for example define 
$releasever as an environment variable or something? Because creating
custom kickstart file every time I just want to build an ISO for different
fedora release is just slow..

Thanks for any hints.


PS: Please CC me in your reply, I'm not subscribed to this list. Thanks.


More information about the spins mailing list