mirror of
https://github.com/kenzok8/small-package.git
synced 2026-02-05 22:36:13 +08:00
update 2025-10-27 04:23:33
This commit is contained in:
@@ -38,7 +38,8 @@ endef
|
|||||||
|
|
||||||
define Host/Configure
|
define Host/Configure
|
||||||
$(PYTHON) $(HOST_BUILD_DIR)/build/gen.py \
|
$(PYTHON) $(HOST_BUILD_DIR)/build/gen.py \
|
||||||
--no-last-commit-position
|
--no-last-commit-position \
|
||||||
|
--allow-warnings
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Host/Compile
|
define Host/Compile
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
include $(TOPDIR)/rules.mk
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=luci-app-openclash
|
PKG_NAME:=luci-app-openclash
|
||||||
PKG_VERSION:=0.47.022
|
PKG_VERSION:=0.47.023
|
||||||
PKG_MAINTAINER:=vernesong <https://github.com/vernesong/OpenClash>
|
PKG_MAINTAINER:=vernesong <https://github.com/vernesong/OpenClash>
|
||||||
|
|
||||||
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
|
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
|
||||||
|
|||||||
@@ -653,6 +653,10 @@ do_run_file()
|
|||||||
|
|
||||||
check_mod()
|
check_mod()
|
||||||
{
|
{
|
||||||
|
# 容器环境下跳过内核模块检查
|
||||||
|
if grep -qE 'docker|containerd|lxc|podman|kubepods|container' /proc/1/cgroup; then
|
||||||
|
return
|
||||||
|
fi
|
||||||
modprobe $1
|
modprobe $1
|
||||||
if [ -z "$(lsmod |awk '{print $1}' |grep ^$1$)" ]; then
|
if [ -z "$(lsmod |awk '{print $1}' |grep ^$1$)" ]; then
|
||||||
LOG_OUT "Error:【$1】module not found, please check your system depends and try again!"
|
LOG_OUT "Error:【$1】module not found, please check your system depends and try again!"
|
||||||
|
|||||||
Reference in New Issue
Block a user