[lxc-devel] [PATCH] fixed RELEASE_URL for fedora releases higher than 16

Stéphane Graber stgraber at ubuntu.com
Fri Jan 4 17:22:27 UTC 2013


On 01/04/2013 12:03 PM, Serge Hallyn wrote:
> Quoting Maximilian Seesslen (mes at seesslen.net):
>> The Url for the fedora-release RPM changed in release 17.
>>
>> Signed-off-by: Maximilian Seesslen <mes at seesslen.net>
> 
> Acked-by: Serge E. Hallyn <serge.hallyn at ubuntu.com>

Pushed

>> ---
>>  templates/lxc-fedora.in |    6 +++++-
>>  1 file changed, 5 insertions(+), 1 deletion(-)
>>
>> diff --git a/templates/lxc-fedora.in b/templates/lxc-fedora.in
>> index 366e776..684bb9c 100644
>> --- a/templates/lxc-fedora.in
>> +++ b/templates/lxc-fedora.in
>> @@ -149,7 +149,11 @@ download_fedora()
>>              echo "Failed to get a mirror"
>>              continue
>>          fi
>> -        RELEASE_URL="$MIRROR_URL/Packages/fedora-release-$release-1.noarch.rpm"
>> +        if [ "$release" -gt "16" ]; then
>> +            RELEASE_URL="$MIRROR_URL/Packages/f/fedora-release-$release-1.noarch.rpm"
>> +        else
>> +            RELEASE_URL="$MIRROR_URL/Packages/fedora-release-$release-1.noarch.rpm"
>> +        fi
>>          echo "Fetching from $RELEASE_URL"
>>          curl -f "$RELEASE_URL" > $INSTALL_ROOT/fedora-release-$release.noarch.rpm
>>          if [ $? -ne 0 ]; then
>> -- 
>> 1.7.10.4
>>
>>
>> ------------------------------------------------------------------------------
>> Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and
>> much more. Get web development skills now with LearnDevNow -
>> 350+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
>> SALE $99.99 this month only -- learn more at:
>> http://p.sf.net/sfu/learnmore_122812
>> _______________________________________________
>> Lxc-devel mailing list
>> Lxc-devel at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/lxc-devel
> 
> ------------------------------------------------------------------------------
> Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and
> much more. Get web development skills now with LearnDevNow -
> 350+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
> SALE $99.99 this month only -- learn more at:
> http://p.sf.net/sfu/learnmore_122812
> _______________________________________________
> Lxc-devel mailing list
> Lxc-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/lxc-devel
> 


-- 
Stéphane Graber
Ubuntu developer
http://www.ubuntu.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 899 bytes
Desc: OpenPGP digital signature
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20130104/4f6b9f62/attachment.pgp>


More information about the lxc-devel mailing list