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.

-- 
Jesse Keating
Fedora -- Freedom² is a feature!
identi.ca: http://identi.ca/jkeating
--
livecd mailing list
[email protected]
https://admin.fedoraproject.org/mailman/listinfo/livecd

Reply via email to