luci-app-xteve: use jjm2473 images
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_VERSION:=1.0.0-20221212
|
||||
PKG_VERSION:=1.0.0-20221213
|
||||
PKG_RELEASE:=
|
||||
|
||||
LUCI_TITLE:=LuCI support for Xteve
|
||||
|
||||
@@ -31,12 +31,9 @@ o:depends("hostnet", 0)
|
||||
o = s:option(Value, "image_name", translate("Image").."<b>*</b>")
|
||||
o.rmempty = false
|
||||
o.datatype = "string"
|
||||
if "x86_64" == docker_info.Architecture then
|
||||
o:value("alturismo/xteve_guide2go", "alturismo/xteve_guide2go")
|
||||
o.default = "alturismo/xteve_guide2go"
|
||||
elseif "aarch64" == docker_info.Architecture then
|
||||
o:value("coolyzp/xteve_guide2go:linux-arm64", "coolyzp/xteve_guide2go:linux-arm64")
|
||||
o.default = "coolyzp/xteve_guide2go:linux-arm64"
|
||||
if "x86_64" == docker_info.Architecture or "aarch64" == docker_info.Architecture then
|
||||
o:value("jjm2473/xteve_guide2go", "jjm2473/xteve_guide2go")
|
||||
o.default = "jjm2473/xteve_guide2go"
|
||||
else
|
||||
o:value("", translate("Unsupported Architecture"))
|
||||
o.default = ""
|
||||
|
||||
@@ -16,8 +16,7 @@ do_install() {
|
||||
fi
|
||||
if [ -z "$image_name" ]; then
|
||||
local arch=`uname -m`
|
||||
[ "$arch" = "x86_64" ] && image_name="alturismo/xteve_guide2go"
|
||||
[ "$arch" = "aarch64" ] && image_name="coolyzp/xteve_guide2go:linux-arm64"
|
||||
[ "$arch" = "x86_64" -o "$arch" = "aarch64" ] && image_name="jjm2473/xteve_guide2go"
|
||||
if [ -z "$image_name" ]; then
|
||||
echo "$arch is unsupported!" >&2
|
||||
exit 1
|
||||
|
||||
Reference in New Issue
Block a user