From 98f1e21013233d42750cc2e7a298a0818461d686 Mon Sep 17 00:00:00 2001 From: bin456789 Date: Mon, 5 Oct 2026 01:38:03 +0800 Subject: [PATCH] =?UTF-8?q?ubuntu:=20=E5=8F=AA=E5=9C=A8=2024.04=20?= =?UTF-8?q?=E4=B8=8A=E5=AE=89=E8=A3=85=20linux-image-vmware?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit link #675 --- trans.sh | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/trans.sh b/trans.sh index a17821c..1a64722 100644 --- a/trans.sh +++ b/trans.sh @@ -8477,8 +8477,13 @@ get_ubuntu_kernel_flavor() { echo $vendor ;; *) - # 20.04 后才有 - if is_virt_contains vmware && [ "$releasever" != 18.04 ]; then + # 只有 x86_64 有 vmware 内核 + # 22.04 在 proposed 里面,我们不使用 + # 24.04 在 main 里面 + # 26.04 目前没有 + # https://pkgs.org/download/linux-image-vmware + # https://packages.ubuntu.com/linux-image-vmware + if is_virt_contains vmware && [ "$releasever" = 24.04 ] && [ "$(uname -m)" = x86_64 ]; then echo vmware elif is_virt; then echo virtual$suffix