diff mbox series

[meta-swupdate] depend on efibootguard if CONFIG_BOOTLOADER_EBG=y

Message ID 20190514064216.4375-1-adrian.freihofer@siemens.com
State Accepted
Headers show
Series [meta-swupdate] depend on efibootguard if CONFIG_BOOTLOADER_EBG=y | expand

Commit Message

Adrian Freihofer May 14, 2019, 6:42 a.m. UTC
Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
---
 recipes-support/swupdate/swupdate.inc | 4 ++++
 1 file changed, 4 insertions(+)

Comments

Stefano Babic May 17, 2019, 8:46 a.m. UTC | #1
On 14/05/19 08:42, Adrian Freihofer wrote:
> Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
> ---
>  recipes-support/swupdate/swupdate.inc | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/recipes-support/swupdate/swupdate.inc b/recipes-support/swupdate/swupdate.inc
> index 497a334..1f8c200 100644
> --- a/recipes-support/swupdate/swupdate.inc
> +++ b/recipes-support/swupdate/swupdate.inc
> @@ -105,6 +105,10 @@ python () {
>  
>      if 'CONFIG_MONGOOSE_WEB_API_V2=y\n' in features:
>          d.setVar('SWUPDATE_WWW', 'webapp')
> +
> +    if 'CONFIG_BOOTLOADER_EBG=y\n' in features:
> +        depends = d.getVar('DEPENDS', False)
> +        d.setVar('DEPENDS', depends + ' efibootguard')
>  }
>  
>  do_configure () {
> 

Applied to -master, -warrior and -thud, thanks !

Best regards,
Stefano Babic
diff mbox series

Patch

diff --git a/recipes-support/swupdate/swupdate.inc b/recipes-support/swupdate/swupdate.inc
index 497a334..1f8c200 100644
--- a/recipes-support/swupdate/swupdate.inc
+++ b/recipes-support/swupdate/swupdate.inc
@@ -105,6 +105,10 @@  python () {
 
     if 'CONFIG_MONGOOSE_WEB_API_V2=y\n' in features:
         d.setVar('SWUPDATE_WWW', 'webapp')
+
+    if 'CONFIG_BOOTLOADER_EBG=y\n' in features:
+        depends = d.getVar('DEPENDS', False)
+        d.setVar('DEPENDS', depends + ' efibootguard')
 }
 
 do_configure () {