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?
On Fri, Feb 20, 2009 at 17:52:05 -0500, "Joshua C." joshuacov@googlemail.com 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?
The live base ks files also include repository commands. Those need to be commented out.
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
2009/2/21 Jerry Vonau jvonau@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@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?
Joshua C. wrote:
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?
I suspect the problem is that the Fedora-10-comps.xml is required to get the package groups (createrepo cannot create this file from thin air).
Once this comps.xml file is found in some repository, livecd creator seems to stick to this repository, ignoring the other repositories?
Maybe try to manually drop a copy of the comps.xml file "somewhere" into your local repository, while commenting out all the other repositories (leaving only yours enabled).
I got tired of this problem and worked around it by just re-using the same cache directory over and over.
2009/4/9 Marc Herbert Marc.Herbert@gmail.com:
Joshua C. wrote:
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?
I suspect the problem is that the Fedora-10-comps.xml is required to get the package groups (createrepo cannot create this file from thin air).
Once this comps.xml file is found in some repository, livecd creator seems to stick to this repository, ignoring the other repositories?
Maybe try to manually drop a copy of the comps.xml file "somewhere" into your local repository, while commenting out all the other repositories (leaving only yours enabled).
will try
I got tired of this problem and worked around it by just re-using the same cache directory over and over.
this is what I used
maybe --cost works for repos being adressed with http:// not file://
livecd@lists.fedoraproject.org