[lxc-devel] lxc-fedora fixes

Daniel Lezcano daniel.lezcano at free.fr
Mon Jun 22 20:21:52 UTC 2009


Matty wrote:
> On Mon, Jun 22, 2009 at 3:23 PM, Daniel Lezcano<daniel.lezcano at free.fr> wrote:
>   
>> Matty wrote:
>>     
>>> Howdy,
>>>
>>> I was playing around with LXC containers this past weekend, and
>>> noticed a couple of issues with the lxc-fedora script:
>>>
>>>
>>>       
>> Thanks for using with it, I never used it before today,
>> I am used to play with lxc-debian.
>> I was not expecting so much problems with this script :(
>> grr...
>>
>>     
>>> #5 The package name passed to yumdownloader is incorrect:
>>>
>>>   yumdownloader --destdir="${CACHE}/partial"
>>> "${DISTRO}-release.noarch.rpm"
>>>
>>>   On Fedora 10 and 11, this evaluates to:
>>>
>>>   fedora-release.noarch.rpm
>>>
>>>   When we need it to evaluate to:
>>>
>>>   fedora-{RELEASE_VER}.release.noarch
>>>
>>>       
>> I try your patch but it seems the syntax is:
>>    fedora-release-${RELEASE}.noarch
>> no ?
>>     
>
> It looks like I made a typo in the e-mail. The patch has this:
>
> PKG="${DISTRO}-${RELEASE}.release.noarch"
>
> But the line in my e-mail had something different. Sorry about that.
>   

Sorry I was not clear, I meant:
    PKG="${DISTRO}-${RELEASE}-release.noarch"

shouldn't be ?
    PKG="${DISTRO}-release-${RELEASE}.noarch"

if I do:
    yumdownloader fedora-release,

I get:
    fedora-release-11-1.noarch.rpm

right ?






More information about the lxc-devel mailing list