Bugfix: bcdboot

Need to use WinPE's copy instead of local
* Win7 version doesn't have the /f option
This commit is contained in:
Alan Mason 2017-12-01 15:48:00 -08:00
parent 19176d30cf
commit 20a730c6e7

View file

@ -202,7 +202,8 @@ def setup_windows_re(windows_version, windows_letter='W', tools_letter='T'):
def update_boot_partition(system_letter='S', windows_letter='W', mode='ALL'):
cmd = [
r'{}:\Windows\System32\bcdboot.exe'.format(windows_letter),
r'{}:\Windows\System32\bcdboot.exe'.format(
global_vars['Env']['SYSTEMDRIVE']),
r'{}:\Windows'.format(windows_letter),
'/s', '{}:'.format(system_letter),
'/f', mode]