修复win安装文件复制出错

This commit is contained in:
bin456789 2023-06-04 19:07:51 +08:00
parent 5a43deaaa6
commit fb0c05175a
No known key found for this signature in database
GPG Key ID: EE301B386DE6C11B

View File

@ -270,7 +270,8 @@ if [ "$distro" = "windows" ]; then
# bios: 复制iso全部文件到installer分区
if [ -d /sys/firmware/efi/ ]; then
mkdir -p /os/boot/efi/sources/
/bin/cp -rv /iso/boot* /iso/efi/ /os/boot/efi/
/bin/cp -rv /iso/boot* /os/boot/efi/
/bin/cp -rv /iso/efi/ /os/boot/efi/
/bin/cp -rv /iso/sources/boot.wim /os/boot/efi/sources/
rsync -rv --exclude=/sources/boot.wim /iso/* /os/installer/
boot_wim=/os/boot/efi/sources/boot.wim