From 76015e9cb5efc6538c454a8ccbd85d3046eaf664 Mon Sep 17 00:00:00 2001 From: Olia Lisa Date: Sun, 12 Jul 2026 17:37:02 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E5=88=A0=E9=99=A4=E6=B2=A1?= =?UTF-8?q?=E7=94=A8=E7=9A=84=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- r2s.sh | 9 --------- 1 file changed, 9 deletions(-) diff --git a/r2s.sh b/r2s.sh index 222c2f4..ecb4bb9 100644 --- a/r2s.sh +++ b/r2s.sh @@ -137,15 +137,6 @@ build(){ echo -e "${YELLOW}[提示] 未找到自定义 files/ 目录,跳过复制${NC}" fi - # 禁用 x86 Image Builder 中常见的额外镜像格式;rockchip 目标不存在时会自动跳过 - sed -i \ - -e 's/^CONFIG_ISO_IMAGES=y/# CONFIG_ISO_IMAGES is not set/' \ - -e 's/^CONFIG_QCOW2_IMAGES=y/# CONFIG_QCOW2_IMAGES is not set/' \ - -e 's/^CONFIG_VDI_IMAGES=y/# CONFIG_VDI_IMAGES is not set/' \ - -e 's/^CONFIG_VMDK_IMAGES=y/# CONFIG_VMDK_IMAGES is not set/' \ - -e 's/^CONFIG_VHDX_IMAGES=y/# CONFIG_VHDX_IMAGES is not set/' \ - .config - if [ ! -f "Makefile" ]; then echo -e "${RED}[错误] 未找到 Makefile,请在 imagebuilder 根目录下运行本脚本!${NC}" exit 1