luci-app-lxc: add i686 to target map
authorJames Buren <ryuo@ryuo.xyz>
Sun, 18 Nov 2018 20:57:37 +0000 (14:57 -0600)
committerDirk Brenken <dev@brenken.org>
Wed, 30 Jan 2019 14:41:21 +0000 (15:41 +0100)
Add i686 to target map so i386 container templates are usable.

Signed-off-by: James Buren <ryuo@ryuo.xyz>
(cherry picked from commit 9630e7e9948b9cce3cba213932aba1895ac15031)

applications/luci-app-lxc/luasrc/controller/lxc.lua

index 4a7f96e5ffa7153ef3f1aa27de6cdb13f40e3f97..d16e532d37296d5c615ecbb9f286904378a5b397 100644 (file)
@@ -152,6 +152,7 @@ function lxc_get_arch_target(url)
                        armv6  = "armel",
                        armv7  = "armhf",
                        armv8  = "arm64",
+                       i686   = "i386",
                        x86_64 = "amd64"
                }
                local k, v