mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-14 08:57:58 +00:00
test/py: efi_capsule: align with the syntax change of mkeficapsule
Since the syntax of mkeficapsule was changed in the previous commit, we need to modify command line arguments in a pytest script. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
d9612f4426
commit
460c94a2c7
1 changed files with 2 additions and 2 deletions
|
@ -80,10 +80,10 @@ def efi_capsule_data(request, u_boot_config):
|
||||||
check_call('cd %s; %s/tools/mkimage -f uboot_bin_env.its uboot_bin_env.itb' %
|
check_call('cd %s; %s/tools/mkimage -f uboot_bin_env.its uboot_bin_env.itb' %
|
||||||
(data_dir, u_boot_config.build_dir),
|
(data_dir, u_boot_config.build_dir),
|
||||||
shell=True)
|
shell=True)
|
||||||
check_call('cd %s; %s/tools/mkeficapsule --fit uboot_bin_env.itb --index 1 Test01' %
|
check_call('cd %s; %s/tools/mkeficapsule --index 1 --fit uboot_bin_env.itb Test01' %
|
||||||
(data_dir, u_boot_config.build_dir),
|
(data_dir, u_boot_config.build_dir),
|
||||||
shell=True)
|
shell=True)
|
||||||
check_call('cd %s; %s/tools/mkeficapsule --raw u-boot.bin.new --index 1 Test02' %
|
check_call('cd %s; %s/tools/mkeficapsule --index 1 --raw u-boot.bin.new Test02' %
|
||||||
(data_dir, u_boot_config.build_dir),
|
(data_dir, u_boot_config.build_dir),
|
||||||
shell=True)
|
shell=True)
|
||||||
if capsule_auth_enabled:
|
if capsule_auth_enabled:
|
||||||
|
|
Loading…
Reference in a new issue