mirror of
https://github.com/bin456789/reinstall.git
synced 2025-01-31 10:58:06 +08:00
修复win安装文件复制出错
This commit is contained in:
parent
5a43deaaa6
commit
fb0c05175a
3
trans.sh
3
trans.sh
@ -270,7 +270,8 @@ if [ "$distro" = "windows" ]; then
|
|||||||
# bios: 复制iso全部文件到installer分区
|
# bios: 复制iso全部文件到installer分区
|
||||||
if [ -d /sys/firmware/efi/ ]; then
|
if [ -d /sys/firmware/efi/ ]; then
|
||||||
mkdir -p /os/boot/efi/sources/
|
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/
|
/bin/cp -rv /iso/sources/boot.wim /os/boot/efi/sources/
|
||||||
rsync -rv --exclude=/sources/boot.wim /iso/* /os/installer/
|
rsync -rv --exclude=/sources/boot.wim /iso/* /os/installer/
|
||||||
boot_wim=/os/boot/efi/sources/boot.wim
|
boot_wim=/os/boot/efi/sources/boot.wim
|
||||||
|
Loading…
x
Reference in New Issue
Block a user