The following pull request was submitted through Github.
It can be accessed and reviewed at: https://github.com/lxc/distrobuilder/pull/8

This e-mail was sent by the LXC bot, direct replies will not reach the author
unless they happen to be subscribed to this list.

=== Description (from pull-request) ===
Signed-off-by: Thomas Hipp <thomas.h...@canonical.com>
From 6e5708cc77973b259e7cb4fc2aa49afd258612e4 Mon Sep 17 00:00:00 2001
From: Thomas Hipp <thomas.h...@canonical.com>
Date: Wed, 14 Feb 2018 18:15:29 +0100
Subject: [PATCH] distrobuilder: fix missing arch

Signed-off-by: Thomas Hipp <thomas.h...@canonical.com>
---
 distrobuilder/main.go | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/distrobuilder/main.go b/distrobuilder/main.go
index f335a53..b7c626d 100644
--- a/distrobuilder/main.go
+++ b/distrobuilder/main.go
@@ -150,6 +150,8 @@ func run(c *cli.Context) error {
                if !ok {
                        err = fmt.Errorf("Missing mapping for '%s'", 
def.Image.Distribution)
                }
+       } else {
+               arch = def.Image.Arch
        }
        if err != nil {
                return fmt.Errorf("Failed to determine arch name: %s", err)
_______________________________________________
lxc-devel mailing list
lxc-devel@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-devel

Reply via email to