update 2025-10-27 04:23:33

This commit is contained in:
kenzok8
2025-10-27 04:23:33 +08:00
parent 3817501bc9
commit 48c414389f
3 changed files with 7 additions and 2 deletions

View File

@@ -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

View File

@@ -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)

View File

@@ -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!"