From adfd2dde242b179f048797d54a9c67cae81a6733 Mon Sep 17 00:00:00 2001 From: kiddin9 <48883331+kiddin9@users.noreply.github.com> Date: Sat, 11 Apr 2026 03:12:46 +0800 Subject: [PATCH] Create beszel.patch --- .github/diy/patches/beszel.patch | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/diy/patches/beszel.patch diff --git a/.github/diy/patches/beszel.patch b/.github/diy/patches/beszel.patch new file mode 100644 index 00000000..79219cd6 --- /dev/null +++ b/.github/diy/patches/beszel.patch @@ -0,0 +1,26 @@ +--- a/beszel-agent/Makefile ++++ b/beszel-agent/Makefile +@@ -4,10 +4,22 @@ PKG_NAME:=beszel-agent + PKG_VERSION:=$(or $(BESZEL_VERSION),0.0.0) + PKG_RELEASE:=1 + +-PKG_SOURCE:=$(PKG_NAME)_linux_$(or $(BESZEL_GOARCH),arm64).tar.gz ++PKG_SOURCE:=$(PKG_NAME)_linux_$(PKG_ARCH).tar.gz + PKG_SOURCE_URL:=https://github.com/henrygd/beszel/releases/download/v$(PKG_VERSION)/ + PKG_HASH:=skip + ++ifeq ($(ARCH),aarch64) ++ PKG_ARCH:=arm64 ++else ifeq ($(ARCH),x86_64) ++ PKG_ARCH:=amd64 ++else ifeq ($(ARCH),mipsel) ++ PKG_ARCH:=mipsle ++else ifeq ($(ARCH),powerpc64le) ++ PKG_ARCH:=ppc64le ++else ++ PKG_ARCH:=$(ARCH) ++endif ++ + PKG_LICENSE:=MIT + PKG_LICENSE_FILES:=LICENSE +