From ef16d20a444c77fba55bcde71fb037ee0c92f446 Mon Sep 17 00:00:00 2001 From: bin456789 Date: Thu, 4 Apr 2024 19:13:54 +0800 Subject: [PATCH] =?UTF-8?q?alpine:=20=E4=BF=AE=E5=A4=8D=E6=97=A7=E6=9C=BA?= =?UTF-8?q?=E5=99=A8=E6=97=A0=E6=B3=95=E5=8A=A0=E8=BD=BD=20crc32c=20?= =?UTF-8?q?=E5=AF=BC=E8=87=B4=E5=AE=89=E8=A3=85=E5=A4=B1=E8=B4=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- trans.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/trans.sh b/trans.sh index f3f8f76..71dd4cd 100644 --- a/trans.sh +++ b/trans.sh @@ -712,10 +712,13 @@ install_alpine() { if $hack_lowram_modloop; then # 预先加载需要的模块 if rc-service modloop status; then - modules="ext4 vfat nls_utf8 nls_cp437 crc32c" + modules="ext4 vfat nls_utf8 nls_cp437" for mod in $modules; do modprobe $mod done + # crc32c 等于 crc32c-intel + # 没有 sse4.2 的机器加载 crc32c 时会报错 modprobe: ERROR: could not insert 'crc32c_intel': No such device + modprobe crc32c || modprobe crc32c-generic fi # 删除 modloop ,释放内存