Bugfix: bcdboot
Need to use WinPE's copy instead of local * Win7 version doesn't have the /f option
This commit is contained in:
parent
19176d30cf
commit
20a730c6e7
1 changed files with 2 additions and 1 deletions
|
|
@ -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'):
|
def update_boot_partition(system_letter='S', windows_letter='W', mode='ALL'):
|
||||||
cmd = [
|
cmd = [
|
||||||
r'{}:\Windows\System32\bcdboot.exe'.format(windows_letter),
|
r'{}:\Windows\System32\bcdboot.exe'.format(
|
||||||
|
global_vars['Env']['SYSTEMDRIVE']),
|
||||||
r'{}:\Windows'.format(windows_letter),
|
r'{}:\Windows'.format(windows_letter),
|
||||||
'/s', '{}:'.format(system_letter),
|
'/s', '{}:'.format(system_letter),
|
||||||
'/f', mode]
|
'/f', mode]
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue