[lxc-devel] [PATCH 1/2] Fix stupid architecture error.

Stéphane Graber stgraber at ubuntu.com
Mon Nov 25 19:45:19 UTC 2013


On Mon, Nov 25, 2013 at 12:30:38PM -0500, Michael H. Warfield wrote:
> From 38cfabdbe0e46f5a0ed20687fcda48424b4a7b6d Mon Sep 17 00:00:00 2001
> From: "Michael H. Warfield" <mhw at WittsEnd.com>
> Date: Mon, 25 Nov 2013 10:34:48 -0500
> Subject: [PATCH 1/2] Fix stupid architecture error.
> Organization: Thaumaturgy & Speculums Technology
> 
> Fix stupid architecture error.
> 
> Stupid error and I did it!  Fixed hard coded x86_64 in several spots.
> 
> Signed-off-by: Michael H. Warfield <mhw at WittsEnd.com>

Haha, strange nobody caught that one before ;)

Acked-by: Stéphane Graber <stgraber at ubuntu.com>

> ---
>  templates/lxc-fedora.in | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/templates/lxc-fedora.in b/templates/lxc-fedora.in
> index 747bfd5..9208e88 100644
> --- a/templates/lxc-fedora.in
> +++ b/templates/lxc-fedora.in
> @@ -412,7 +412,7 @@ Have a beer or a cup of coffee.  This will take a bit (~300MB).
>          # Right now, we are using Fedora 19 for the inial bootstrap.
>          # We could make this the "current" Fedora rev (F > 15).
>  
> -        rsync -av mirrors.kernel.org::fedora/releases/19/Fedora/x86_64/os/LiveOS .
> +        rsync -av mirrors.kernel.org::fedora/releases/19/Fedora/$arch/os/LiveOS .
>  
>          if [[ 0 == $? ]]
>          then
> @@ -489,8 +489,8 @@ This will take a couple of minutes.  Patience..."
>      # of this LiveOS image we're camped out on.  This is the beginning
>      # of the butt ugly hack.  Look close or you may missing it...
>  
> -    rsync -av mirrors.kernel.org::fedora/releases/19/Fedora/x86_64/os/Packages/r/rpm-[0-9]* \
> -        mirrors.kernel.org::fedora/releases/19/Fedora/x86_64/os/Packages/y/yum-[0-9]* .
> +    rsync -av mirrors.kernel.org::fedora/releases/19/Fedora/$arch/os/Packages/r/rpm-[0-9]* \
> +        mirrors.kernel.org::fedora/releases/19/Fedora/$arch/os/Packages/y/yum-[0-9]* .
>  
>      # And here it is...
>      # The --nodeps is STUPID but F15 had a bogus dependency on RawHide?!?!
> @@ -522,7 +522,7 @@ This will take a couple of minutes.  Patience..."
>      echo "Stage 1 creation complete.  Building stage 2 Installation Bootstrap"
>  
>      mount -o bind ../bootstrap run/install
> -    rsync -av mirrors.kernel.org::fedora/releases/19/Fedora/x86_64/os/Packages/f/fedora-release-19* .
> +    rsync -av mirrors.kernel.org::fedora/releases/19/Fedora/$arch/os/Packages/f/fedora-release-19* .
>  
>      # The --nodeps is STUPID but F15 had a bogus dependency on RawHide?!?!
>      chroot . rpm --root /run/install --nodeps -ivh fedora-release-*
> -- 
> 1.8.3.1
> 
> 
> -- 
> Michael H. Warfield (AI4NB) | (770) 978-7061 |  mhw at WittsEnd.com
>    /\/\|=mhw=|\/\/          | (678) 463-0932 |  http://www.wittsend.com/mhw/
>    NIC whois: MHW9          | An optimist believes we live in the best of all
>  PGP Key: 0x674627FF        | possible worlds.  A pessimist is sure of it!
> 



> ------------------------------------------------------------------------------
> Shape the Mobile Experience: Free Subscription
> Software experts and developers: Be at the forefront of tech innovation.
> Intel(R) Software Adrenaline delivers strategic insight and game-changing 
> conversations that shape the rapidly evolving mobile landscape. Sign up now. 
> http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk

> _______________________________________________
> 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: 836 bytes
Desc: Digital signature
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20131125/2316f2ba/attachment.pgp>


More information about the lxc-devel mailing list