From ff53483461004d029240d8fe56d9df44cef1cb0a Mon Sep 17 00:00:00 2001 From: bin456789 Date: Fri, 19 Jun 2026 21:48:04 +0800 Subject: [PATCH] =?UTF-8?q?core:=20=E5=85=88=E6=B8=85=E9=99=A4=E5=88=86?= =?UTF-8?q?=E5=8C=BA=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit fixes #638 --- trans.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/trans.sh b/trans.sh index addf7f3..2dfebbc 100644 --- a/trans.sh +++ b/trans.sh @@ -2868,9 +2868,11 @@ create_part() { apk add dosfstools fi - # 清除分区签名 - # TODO: 先检测iso链接/各种链接 - # wipefs -a /dev/$xda + # 清除分区表 + # https://github.com/bin456789/reinstall/issues/638 + apk add wipefs + wipefs -a -f /dev/$xda + apk del wipefs # shellcheck disable=SC2154 if [ "$distro" = windows ]; then