mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-08-01 07:07:52 +08:00
Create beszel.patch
This commit is contained in:
parent
312de7b9d4
commit
adfd2dde24
26
.github/diy/patches/beszel.patch
vendored
Normal file
26
.github/diy/patches/beszel.patch
vendored
Normal file
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user