[lxc-devel] lxc-fedora fixes

Matty matty91 at gmail.com
Mon Jun 22 19:54:23 UTC 2009


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.

- Ryan
--
http://prefetch.net




More information about the lxc-devel mailing list