[PATCH v5 11/12] sandbox: capsule: Add a config file for generating capsules

Simon Glass sjg at chromium.org
Wed Jul 26 00:52:50 CEST 2023


Hi Sughosh,

On Tue, 25 Jul 2023 at 02:58, Sughosh Ganu <sughosh.ganu at linaro.org> wrote:
>
> Support has been added to the mkeficapsule tool to generate capsules
> by parsing the capsule parameters through a config file. Add a config
> file for generating capsules. These capsules will be used for testing
> the capsule update feature on sandbox platform.
>
> Enable generation of capsules through the config file on the sandbox
> variant.
>
> Signed-off-by: Sughosh Ganu <sughosh.ganu at linaro.org>
> ---
> Changes since V4:
> * Use a relative path for CONFIG_EFI_CAPSULE_CFG_FILE.
> * Remove logic to copy capsule config file to /tmp/capsules/
>   directory, as the capsule entry can handle relative paths.
> * Add a comment in the capsule config file for the image GUIDs being
>   used.
> * Use lower case for image GUIDs.
>
>  configs/sandbox_defconfig                     |   2 +
>  .../test_efi_capsule/sandbox_capsule_cfg.txt  | 175 ++++++++++++++++++
>  2 files changed, 177 insertions(+)
>  create mode 100644 test/py/tests/test_efi_capsule/sandbox_capsule_cfg.txt

Please just drop the config file, at least for now. It is a whole
other can of worms and we have enough of those already,

Regards,
Simon


More information about the U-Boot mailing list