dgilmore brought it to my attention that the code to grab releasever for the substitution doesn't work inside a chroot -- the rpm database isn't available for reading.
Another issue with it is that by pulling from the host's rpmdb it isn't very flexible. What if you wanted to pull from a repo with a different release?
I think the best solution is to add a command-line --releasever=XXX to livecd-creator, that way it can be easily specified.
Does anyone have a better idea?
On 01/04/2011 03:43 PM, Brian C. Lane wrote:
dgilmore brought it to my attention that the code to grab releasever for the substitution doesn't work inside a chroot -- the rpm database isn't available for reading.
Another issue with it is that by pulling from the host's rpmdb it isn't very flexible. What if you wanted to pull from a repo with a different release?
I think the best solution is to add a command-line --releasever=XXX to livecd-creator, that way it can be easily specified.
Does anyone have a better idea?
Pungi does this the same way. We have a --ver option to set the version, and we use that number in the substitution for releasever in repo definitions. We also use it in things like the iso name/label too.
On Tue, Jan 04, 2011 at 16:20:03 -0800, Jesse Keating jkeating@redhat.com wrote:
Pungi does this the same way. We have a --ver option to set the version, and we use that number in the substitution for releasever in repo definitions. We also use it in things like the iso name/label too.
Adding a --ver option seems to be better than removing the feature.
On Tue, Jan 04, 2011 at 16:20:03 -0800, Jesse Keating jkeating@redhat.com wrote:
Pungi does this the same way. We have a --ver option to set the version, and we use that number in the substitution for releasever in repo definitions. We also use it in things like the iso name/label too.
I created a futurefeature bug against livecd-tools to request this. If no one gets to it in the next couple of weeks, I should get a chance to work on it. Right now I need to spend time getting ogre related packages fixed up in rawhide.
On Wed, Jan 05, 2011 at 11:57:10AM -0600, Bruno Wolff III wrote:
On Tue, Jan 04, 2011 at 16:20:03 -0800, Jesse Keating jkeating@redhat.com wrote:
Pungi does this the same way. We have a --ver option to set the version, and we use that number in the substitution for releasever in repo definitions. We also use it in things like the iso name/label too.
I created a futurefeature bug against livecd-tools to request this. If no one gets to it in the next couple of weeks, I should get a chance to work on it. Right now I need to spend time getting ogre related packages fixed up in rawhide.
Working on it now :)
livecd@lists.fedoraproject.org