2009/2/21 Jerry Vonau <jvonau(a)shaw.ca>:
On Fri, 2009-02-20 at 17:52 -0500, Joshua C. wrote:
> I cannot create a livecd image from a local repo. I have
> livecd-creator and all the ks files. I've downloaded all necessary
> files to a local dir (just copied them from previous downloaded cache)
> and then run createrepo on it. Then I edited the ks file with "repo
> --name=jdfhjdsfh --baseurl=file:///mnt/path to repodata". When
> starting livecd-creator it says "retrieving file=///mnt/dsfgsdhfshf
> ...OK", then it retrieves the repofiles for the other repos and starts
> downloading all the files again regardless of the fact that I've
> already downloaded them.
>
> How to make livecd-creator see the already downloaded files instead of
> downloading them twice?
>
Repos are assigned a cost of 1000 by default, with repos having a lower
cost being favored over higher cost ones, try appending --cost= to your
local repo string.
ie:
repo --name=jdfhjdsfh --baseurl=file:///mnt/path --cost=500
Jerry
--
Fedora-livecd-list mailing list
Fedora-livecd-list(a)redhat.com
https://www.redhat.com/mailman/listinfo/fedora-livecd-list
It didn't work. I set all repos with --cost> 1000 and only
file=///my-local-repo had --cost=250. livecd-creator still prefers to
download the files instead of using the ones, that've already been
downloaded. Any other ideas?